Search Help Board

PHP FAQ
PHP Articles
PHP Help
Bulletin Board

PHP Manual (NEW!)
First Time PHP'ers
Help with programming
Sql assignment help
PHP Homework Help


C# Help
RFP Direct

 
 Security code on signup form?
Author:  (---.l3.c1.dsl.pol.co.uk)
Date:   02-28-04 09:04

Hi all

Using PHP how can I make a security code on my signup form like on Hotmail, FSMail, AOL and Yahoo and vBulletin 3?

Thanks
Max

 Re: Security code on signup form?
Author:  (217.218.127.---)
Date:   02-28-04 09:49

What do you mean by "security code"?

 Re: Security code on signup form?
Author:  (---.l3.c1.dsl.pol.co.uk)
Date:   02-28-04 09:55

Sorry I should have been more clear... You know in some sign up forms there is an image with a number that cannot be read by signup bots and you have to copy the number into a box and it has to be verified. I can generate the number and verify it I just can't create the image to display to the user. I have GD installed. Any help would be much appreciated.

 Re: Security code on signup form?
Author:  (---.ym.rnc.net.cable.rogers.com)
Date:   02-28-04 11:06

This article is all about that

http://www.zend.com/zend/tut/tutorial-mehmet1.phphttp://www.zend.com/zend/tut/tutorial-mehmet1.php

 Re: Security code on signup form?
Author:  (---.l3.c1.dsl.pol.co.uk)
Date:   02-28-04 11:49

Page not found?

 Re: Security code on signup form?
Author:  (---.cpe.net.cable.roger)
Date:   02-28-04 17:08

sorry..goto www.zend.com then click on the tutorials. there is an article on security features in the second column

 Re: Security code on signup form?
Author:  (---.l3.c1.dsl.pol.co.uk)
Date:   02-29-04 03:44

I don't see that tutorial anywhere?

 Re: Security code on signup form?
Author:  (---.cpe.net.cable.roger)
Date:   02-29-04 06:39

Its there

here is the description from the page

Securing Forms with Random Noisy Images
By Mehmet Avsar - [July 23, 2003]
This tutorial is intended for those who want to ensure that the data retrieved by a form processor PHP is sent by the expected form, not another application or by hand.

 Re: Security code on signup form?
Author:  (---.l3.c1.dsl.pol.co.uk)
Date:   03-01-04 06:41

Hi

Thanks, found it...but...

When I go to the URL with the image in I get a red X in the box the image should be. If I just go straight to image.php?rid=then type the request ID in I get the following

<br />
<b>Fatal error</b>: Call to undefined function: imagettfbbox() in <b>/home/cuttie/public_html/AuthCodeImage.php</b> on line <b>99</b><br />



Any ideas?
Thx
Max

 Re: Security code on signup form?
Author:  (---.ym.rnc.net.cable.rogers.com)
Date:   03-01-04 15:23

hard to say, but sounds like a paths problem...ensure that all the paths are matching your required set up

 Re: Security code on signup form?
Author:  (---.l3.c1.dsl.pol.co.uk)
Date:   03-01-04 16:06

I'm not sure what to put for the fonts path. It's currently C:\\WINNT\\FONTS which is how the example script was ... what should I change this to? Do I need to copy the fonts to my webserver and put that path in?

 Re: Security code on signup form?
Author:  (---.l3.c1.dsl.pol.co.uk)
Date:   03-07-04 10:53

Any idea on this?

 Re: Security code on signup form?
Author:  (---.cpe.net.cable.roger)
Date:   03-07-04 11:47

sorry, got sidetracked....the font would need to go on the weberver to be available to the generator...

 Re: Security code on signup form?
Author:  (---.l3.c1.dsl.pol.co.uk)
Date:   03-07-04 11:53

Ok I put it ont he web server and changed the path to the path to the font but I still get that error. My host has recompiled PHP with GD and Freetype...still no go?

Go to Top  |  Go to Topic  |  Threaded View  |  Search 
  |  
New Topic
 Reply To This Message
 Your Name:
 Your Email:
 Subject:
Email replies to this thread, to the address above.
  

Provided By
Phorum