PHP Classes

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    
Ratings Unique User Downloads Download Rankings
StarStarStarStar 75%Total: 1,966 All time: 2,002 This week: 107Up
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
Age: 38
All time rank: 152621 in Iran Iran
Week rank: 368 Up5 in Iran Iran Up

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,966
This week:0
All time:2,002
This week:107Up
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:77
 
Excellent
14 years ago (kishore kumar)
80%StarStarStarStarStar
very easy to use and to the point
16 years ago (imran raf)
77%StarStarStarStar