Download section

A variety of downloads for PHP and MySQL

PHP

PHPMyAdmin If you want to make using MySQL easier, then this is the tool for you. PHPMyAdmin information and download page
PHP Generator for MySQL a MySQL GUI frontend that allows you to generate high-quality PHP scripts. PHP Generator for MySQL information and download page
DzSoft PHP Editor DzSoft PHP Editor is a handy and powerful tool for writing and testing PHP scripts and HTML/XML pages. DzSoft PHP Editor information and download page
PHP easy installer download , 
PHP 5.25 zip package download from a mirror
PHP 5.25 installer download from a mirror
PHP 5.0.5 installer download
PHP 5.0.5 choose from a mirror site download
XAmpp (php, apache and mysql installer) Highly recommended various downloads
Apache2triad download page
Wamp (php, apache and MySQL installer) download page
   
   
   
   

Other software

Freecards allows you to send multimedia postcards from your site or any other website on the web. Freecards comes with a lot of extra options
phpMyeBay is a single PHP script that allows you to have your own eBay search engine on your website
phpGlobalWhoisPro is a script designed to perform a domain name (whois) lookup on any domain,
PHPNuke and post nuke themes
phpProMembers was built for easy administration in mind so you can do other things. Basically all you do is set it up and collect the membership dues
This PHP code, given a valid path inside a file system, creates a tree with the directories and files
 
Pear package list
Apache server
 

 

mySQL

Dump your MySQL data into a specified flatfile, or the browser screen. Analyze data using a text-pads, import into other databases such as MS Access, MS Excel, or databases that support imports.
Various MySQL conversion software convert Access , Excel . MSSQL to MySQL and back
 
 
MySQL 5 : various downloads for various platforms
MaxDB version 7.6
MySQL administrator
MySQL migration toolkit
MySQL query browser
 
 
 
 


Books :

Sponsors :



Random Code :

open a zip file and display file information(file system)
Page last accessed(date and time)
Display when a page was last modified(date and time)

Random Article :

Track Your Visitors Using PHP

So, you have a submission form on your website and need to prevent spam by auto-submitters. The most common way to do this is to implement CAPTCHA - an image with randomly generated string (quote from Wikipedia, free online enciclopedia: “A CAPTCHA is a type of challenge-response test used in computing to determine whether the user is human. "CAPTCHA" is an acronym for "Completely Automated Public Turing test to tell Computers and Humans Apart", trademarked by Carnegie Mellon University.”)

Simple, quick and efficient PHP solution for implement CAPTCHA:

the advantage of this solution: it is easy to read symbols by human and automated captcha processor software, but hard to process the image by computer because common CAPTCHA processors can't understand which one of the outputted symbols it must ignore!

obviously you need PHP engine enabled for your webserver, for execute PHP scripts, and GD (PHP graphics library) for generate the image. Webserver, PHP and GD versions are no matter, the solution below is tested for Apache(Windows and Unix), IIS(Windows), PHP-4, PHP-5, GD, GD2

1) Make a PHP script (separate file captcha.php) which will generate the CAPTCHA image:
[?php
session_start();
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT");
header("Cache-Control: no-store, no-cache, must-revalidate");
header("Cache-Control: post-check=0, pre-check=0", false);
header("Pragma: no-cache");
function _generateRandom($length=6){
$_rand_src = array(
array(48,57) //digits
, array(97,122) //lowercase chars
// , array(65,90) //uppercase chars
);
srand ((double) microtime() * 1000000);
$random_string = "";
for($i=0;$i<$length;$i++){
$i1=rand(0,sizeof($_rand_src)-1);
$random_string .= chr(rand($_rand_src[$i1][0],$_rand_src[$i1][1]));
}
return $random_string;
}
$im = @imagecreatefromjpeg("captcha.jpg");
$rand = _generateRandom(3);
$_SESSION['captcha'] = $rand;
ImageString($im, 5, 2, 2, $rand[0]." ".$rand[1]." ".$rand[2]." ", ImageColorAllocate ($im, 0, 0, 0));
$rand = _generateRandom(3);
ImageString($im, 5, 2, 2, " ".$rand[0]." ".$rand[1]." ".$rand[2], ImageColorAllocate ($im, 255, 0, 0));
Header ('Content-type: image/jpeg');
imagejpeg($im,NULL,100);
ImageDestroy($im);
?]

2) Add the following line at the top of the page where you need to implement the CAPTCHA (there should not be any output before this line, except you use php functions ob_start() and ob_end_flush() to turn on output buffering):
[?php session_start(); ?]

3) Add the following line for check is CAPTCHA entered by visitor valid, before the line where you will proceed submitted message:
[?php if($_SESSION["captcha"]==$_POST["captcha"])
{
//CAPTHCA is valid; proceed the message: save to database, send by e-mail ...
echo 'CAPTHCA is valid; proceed the message';
}
else {

echo 'CAPTHCA is not valid; ignore submission'; }?]

4) Finaly add the CAPTCHA to the form:
[img src="captcha.php" alt="captcha image"][input type="text" name="captcha" size="3" maxlength="3"]

P.S.
notice:
- the tags "[?" and "?]" in code samples above should be replaced to the "", you may download original article and code sample here: free download php captcha demo

- requirements: a webserver (windows or linux no matter) with PHP engine, with GD (graphic library) support, you may check your php settings with phpinfo() function

- you need some blank jpg image for use it as background for CAPTCHA string

By Andrew Ivanov

Network:

Programming resources
Tutorials directory
Hosting resources
ASP site
Domain names
Progged
Maxi directory
bigarticle : free articles
A Code
Code N Tutorials
Get PHP
Programmers help