Coder Profile - Show off your skills, get a coder profile.
 
 
 
The Author
Izzmo
Nick George
Send A Message
Screenshot
View Full Size
ss.gif ( 0.00Mb )
Rating
6.33
out of 10
( 3 Ratings )
Please login to rate source codes.

Click here to register a free account with us.
General Details
PHP (Hypertext Preprocess...
Posted 335 Days Ago
446 Views
Received 3 Ratings
More Codes By This Author
XML Reader and Writer Dem...
Uploader Class
Performance Logging with...
GD Image Verification
MD5 Hash Conversion
Articles By This Author
Embed flash into your web...
Introduction to Pseudo Co...
Command Line and Batch Fi...
Redirect your site from n...
Another way to disable th...

GD Image Verification


Description
Have you ever wondered how some websites make you put in those numbers or phrases to verify that it is a human posting and not just a bot trying to spam the website? Well wonder no more!
Technical
Creates an image with random text and numbers, then outputs it to the screen, or saves it to a file on your server. When it does the number/lettering, it will make them have different spacing and x,y positioning each time.
Source Code
Comments
Please login to post comments.
 
Izzmo     Posted 146 Days Ago
 
 
Well, it's stored in a session key. That's how you verify it.

I do not that it is easy to crack, never said it wasn't, but it is just a
basic example.

But, just to tell you, having this on my site, I have had 0, that's right 0,
SPAM accounts setup.
 
VBAssassin     Posted 146 Days Ago
 
 
Nice, but pointless. Sorry, let me explain.

1. There is too much contrast - the worst (easiest to crack) is black and white
lol. There's some software (on sourceforge i think) that is open source and
cracks week validation images - yours would be very very very easy to crack.

2. Ok, so you've added some alphanumeric characters to an image... now how do
you get the script using it to verify that the user typed in what was on the image?
You can't! Not with that script anyway.

Try using a session or something similar.

3. There's nothing stopping other websites hotlinking it and using it for
their own site. Try adding an include key i.e. a special key that the script requires
before it will execute - which can be set in a session by the page using the
validation image. That will stop people stealing the image and your server resources
because they won't know the key they must set in order to use the image ;-)
again, setting a session will also help solve this because the session will be
created on your server, not the server stealing the image.

Kind regards,
Scott
Page 1 of 1
More "PHP (Hypertext Preprocessor)" Source Codes By This Author
Recently Posted "PHP (Hypertext Preprocessor)" Source Codes
Recently Rated "PHP (Hypertext Preprocessor)" Source Codes
 
 
Latest News About Coder Profile
Coder Profile Poll
Do you use RSS feeds?

Yes, all the time, first thing i do on the net
Sometimes, when i remember to check them
No, can't be bothered with them
No, what are they?


please login to cast your vote
and see the results of this poll
Latest Coder Profile Changes
Coder Profile was last updated
5 Days Ago
Official Blog :: Make A Donation :: Credits :: Contact Me
Terms & Conditions :: Privacy Policy :: Documents :: Wallpapers
Version 1.46.00
Copyright © 2007 - 2008, Scott Thompson, All Rights Reserved