#1
|
||
|
How can I add captcha to phuploader - examples?
I have a customized phuploader at http://www.mymangosteencards.com/MMC-uploader.php.
I want to add a captcha, because I've been getting junk in my upload folder. I have several captcha scripts - how (and where in the code) can I add one to this page. It could be below, or integral to the uploader table; and it's fine if it uses the existing default buttons, or if those buttons are removed and placed below the captcha - doesn't matter to me. I'm not much of a coder, so examples or clear instructions will really help me. Thank you for responding. |
#2
|
||
|
Start a session in the first line of the phUploader code.
Before the part of the code where you upload your data, insert if($key==$code){ and here insert the uploading code } else { echo"Captcha Wrong"; } To generate the captcha code you can download a php page called "immagine.php" from here http://fotomat.it/immagine.zip you have to insert this page in the same folder of your phuploader.php then in form part of phUploader you have to insert: <img src="immagine.php"> <input type="text" name="key" size="20">. In the "immagine.php" you can set a lot of options to generate captcha. At the end of this page you can see that a sassion start and that a code var is set with the value of the captcha generated. Now the immagine.php is set with my options. I hope you can understand me, i want to sorry for my english, i write from Italy. I hope i help you. Bye |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
phUploader Customize | hysteriksmile | phphq.Net Forums | 4 | 03-24-2010 11:41 AM |
PhUploader problem | buggerwepisspoo | phphq.Net Forums | 0 | 09-21-2008 06:18 PM |
phUploader | sof-com | phphq.Net Forums | 1 | 05-25-2008 02:50 AM |
phUploader help | lodupersempre | phphq.Net Forums | 0 | 05-12-2008 08:30 AM |
mysterious captcha error msg | rrhobbs | phphq.Net Forums | 4 | 07-22-2007 05:55 AM |