Can someone design me a page like this?
2013-11-12, 02:54 PM,
#1
Hey guys so I'm ready to pay about 5$ if someone can rip apart that website that I post below, and just remove the MYSQL database searches for the ticket ids and all of that stuff...


Basically I need a simple page where the user clicks the button and if in the textbox there is a specific number, let's say 1234 a green text appears under the button saying:

"Your ticket is VALID!"

And a red text if the number 1234 isn't found saying:

"Your ticket is not VALID!".


Oh and also, a text document where the button reads from and checks for numbers which are there... seperated by a comma or a new line!

Example: http://sportlife.com.mk/ProverkaTiket.aspx
2013-11-12, 03:17 PM,
#2
A stripped down version of what you're asking:

http://jsbin.com/eRAPaSa/1/edit?html,js,output

Correct code: "Secret123"
Latest Thanks - View all

tbonemaker(2013-11-12 08:49 PM) Braco22(2013-11-12 08:31 PM) boghi(2013-11-12 03:29 PM) 
2013-11-12, 03:29 PM,
#3
(2013-11-12, 03:17 PM)Springfire Wrote: A stripped down version of what you're asking:

/eRAPaSa/1/edit?html,js,output

Correct code: "Secret123"

nice share.Thanks.
2013-11-12, 08:32 PM,
#4
(2013-11-12, 03:17 PM)Springfire Wrote: A stripped down version of what you're asking:

/eRAPaSa/1/edit?html,js,output

Correct code: "Secret123"
Hey, thank you a lot mate. Also is it possible for you to give me the full .HTML code, and is it possible to read from a CODELIST.txt and cross-reference the numbers from there?

So in your case it only allows: Secret123

But I want it to allow numbers on a txt document, for an example:

123,555,82834,559

All separated by a coma?
2013-11-12, 08:42 PM, (This post was last modified: 2013-11-12, 08:48 PM by Springfire.)
#5
(2013-11-12, 08:32 PM)McGee Wrote:
(2013-11-12, 03:17 PM)Springfire Wrote: A stripped down version of what you're asking:

/eRAPaSa/1/edit?html,js,output

Correct code: "Secret123"
Hey, thank you a lot mate. Also is it possible for you to give me the full .HTML code, and is it possible to read from a CODELIST.txt and cross-reference the numbers from there?

So in your case it only allows: Secret123

But I want it to allow numbers on a txt document, for an example:

123,555,82834,559

All separated by a coma?

Yeah I missed that part :) But let me tell one thing, a db is more efficient than flat (text) file. I can create a table, the frontend and the backend (a place where you could add and delete code)

However, if you wish I could do flat file also. Tell me your need mate.
2013-11-12, 08:44 PM,
#6
I don't want this to work mate, I just need to insert a set of numbers seperated by a comma and then cross-check if any of those numbers are entered in the textbox :P

Thanks a lot mate <3
2013-11-12, 08:57 PM, (This post was last modified: 2013-11-12, 09:29 PM by Springfire.)
#7
(2013-11-12, 08:44 PM)McGee Wrote: I don't want this to work mate, I just need to insert a set of numbers seperated by a comma and then cross-check if any of those numbers are entered in the textbox :P

Thanks a lot mate <3

Cool. I've coded one time handling flat file data and ajax, so I think it wouldn't be hard for me. I'll PM you the code ASAP Smile

I'm sharing the code here as its not a big secret, hope you don't mind McGee Smile

This returns VALID if the typed code is present in the comma separated values in text file.

http://puu.sh/5gdEc.zip

You need to extract on a server or localhost to make this work - as it uses ajax. To those wondering what's ajax, its just a popular technique to get a value from the server WITHOUT RELOADING THE PAGE.
2013-11-12, 11:35 PM,
#8
Thanks a lot mate, you really helped me! :)


Possibly Related Threads...
Thread Author Replies Views Last Post
  Marketing Rhino Instagram v1 landing page? 4eller 0 239 2017-09-03, 07:08 AM
Last Post: 4eller
  Landing page movie Needed Krymi15 0 327 2017-08-04, 03:03 PM
Last Post: Krymi15
  HELP/Request Landing Page Private 1 429 2017-06-12, 06:00 AM
Last Post: Watt
  [GET] How To Generate Web Design Assets In Photoshop With Just One Click cindy2145 0 466 2017-04-30, 03:06 AM
Last Post: cindy2145
  <HELP/REQUEST> Landing Page LordCommander 1 651 2017-02-05, 11:33 AM
Last Post: Antonio





About Us | Contact Us | CPA Elites | Advertise | Stats | Staff Team

© 2013-2017 CPA Elites Ltd
Enhanced by MyBB and WallBB
Return to top