PHP Classes
elePHPant
Icontem

Secure Number Image Creator: Generate an image with a random number or text

Recommend this page to a friend!
  Info   Screenshots Screenshots   View files View files (4)   DownloadInstall with Composer Download .zip   Reputation   Support forum (2)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2006-03-24 (10 years ago) RSS 2.0 feedStarStarStarStar 75%Total: 1,959 All time: 1,944 This week: 871Up
Version License PHP version Categories
sni 1.0BSD License4.0Graphics
Description Author

This is a simple class that can be used to generate an image with a random number or text.

The class can compute a random number, render the number or a given text in an image using the GD extension and then output the image in the GIF format.

Picture of Armin Borumand
Name: Armin Borumand <contact>
Classes: 1 package by
Country: Iran Iran

Details
Secure Number Image Creator:
This is a simple class that can be used to generate an image with a random number or text.

How to use(my example--See the example.php source code):

1) use img.php as a picture:
<img src="img.php" />

2) (in example.php)check $_SESSION['key'] and compare with $_POST['number']

if($_POST['number']==$_SESSION['key']){
//Do
}
Screenshots  
  • image.jpg
  Files folder image Files  
File Role Description
Accessible without login Plain text file class.sni.php Class sni class
Plain text file example.php Example simple example
Plain text file img.php Example Example image
Accessible without login Plain text file ReadMe Doc. ReadMe

 Version Control Unique User Downloads Download Rankings  
 0%
Total:1,959
This week:0
All time:1,944
This week:871Up
User Ratings User Comments (2)
 All time
Utility:98%StarStarStarStarStar
Consistency:94%StarStarStarStarStar
Documentation:82%StarStarStarStarStar
Examples:90%StarStarStarStarStar
Tests:-
Videos:-
Overall:75%StarStarStarStar
Rank:101
 
Excellent
7 years ago (kishore kumar)
80%StarStarStarStarStar
very easy to use and to the point
8 years ago (imran raf)
77%StarStarStarStar