| | |||||
| ||||||||
| Programming PHP, Perl, Ruby on Rails, AJAX, HTML, XHTML, CSS, JavaScript, MySQL and any other coding topics. |
![]() |
| | LinkBack | Thread Tools |
| | THREAD STARTER #1 (permalink) |
| Account Closed Join Date: Mar 2005 Location: TRNTO
Posts: 910
![]() ![]() ![]() ![]() | |
| |
| | #2 (permalink) |
| SQLdumpster.com Join Date: Jun 2005 Location: West Sussex, UK
Posts: 573
![]() ![]() | Cant you just have a database with the winning codes (and their prizes if necessary) and then when the user enters a code it will check it against the database. Then PHP Code:
__________________ Encenta - Amazon Associates CMS |
| |
| | #4 (permalink) |
| Senior Member Join Date: Jul 2005 Location: NJ
Posts: 1,219
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | Nice code, eh? So basically, you want the actual script that they used. another way u cud do this is to use regular expressions and set it so that if the code they entered fitted, then they wud be rerouted to a "winner's" page. of course, if u have a LOT of winning codes out there, one person cud probably crack the reg exp and make theyre own codes that work. so if ur only gonna have 1-50, i wud suggest using the idea of miseria to do this. if u have more, then use reg exp. if u have, say... 100+ winning codes, and u dont wanna type them all out, use the reg exp but remember itll be easier to crack. how much are u paying for this kind of script?
__________________ Hacksar.com - Your source for random computer tips and tricks! MySiteMemberships.com - Keep track of your site registration information! Like my post? Rep is appreciated! |
| |
| | #6 (permalink) |
| Senior Member Join Date: Aug 2003 Location: Canada
Posts: 1,257
![]() ![]() ![]() ![]() | What's the time-frame on this?
__________________ Near Fantastica | Matthew Good - Vancouver TS Design Group - Vancouver, BC based Graphic Design >> Do you Frawlik? << |
| |
| | #8 (permalink) |
| SQLdumpster.com Join Date: Jun 2005 Location: West Sussex, UK
Posts: 573
![]() ![]() | I would be able to do it but I'm not sure what you mean by "nice"
__________________ Encenta - Amazon Associates CMS |
| |
| | #9 (permalink) |
| Senior Member Join Date: Jul 2005 Location: NJ
Posts: 1,219
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | by nice, u mean fully integrated with ur site? or made so that u just insert like 1 line of code to ur original page and everything seamlessly fits together?
__________________ Hacksar.com - Your source for random computer tips and tricks! MySiteMemberships.com - Keep track of your site registration information! Like my post? Rep is appreciated! |
| |
| | #11 (permalink) |
| Senior Member Join Date: Jul 2005 Location: NJ
Posts: 1,219
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | ... wait so u dont have a layout made or anything? so you want a whole website (layout -> coding -> script) about this code thing? if so, then please give more info about it (such as domain name, color scheme, etc)
__________________ Hacksar.com - Your source for random computer tips and tricks! MySiteMemberships.com - Keep track of your site registration information! Like my post? Rep is appreciated! |
| |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| opensource programs for Linux OS | dongan | Free Resources | 6 | 01-20-2006 09:54 PM |
| 17 Canada Databases For Sale | odditysoftware | Content For Sale | 0 | 12-13-2005 10:08 PM |
| Various names - AngloSaxons.info... | Catsse | Domains For Sale - Make Offer | 0 | 09-14-2005 06:49 PM |
| Basic HTML Tutorial | webgear | Webmaster Tutorials | 8 | 04-02-2005 03:20 PM |