|
My collection of PHP scripts isn't that big, mostly because it's
so easy to program that I don't worry that other people can't figure
out things and because there is already a huge amount of tools in
PHP available. Besides these three small thingies :-)
- Radius Authentication v1.2 -
How to use Radius authentication in PHP scripts.
Unfortunatly I can't give a demo about this script, because
there is no authentication server for it. But with my job at
Origin we needed it to authenticate ourselves via SecurID and
this was what we needed.
Version 1.2 is for PHP 4.1.1 and higher.
See CHANGES for
an overview of changes.
- View man v1.0 -
View manual pages with PHP.
For an example, see the man-pages on /unix/general.php.
- Day Chooser v1.0 -
A simple way to pick a day between two dates.
For more information, see the demo.
- Morse Coder v1.0 -
Convert a string into morse-code, or the other way around.
For more information, see the demo.
- Punch Card Coder v1.0 -
Convert a string into BCD Punch Cards.
For more information, see the demo.
- Papertape Coder v1.0 -
Convert a string into Papertape.
For more information, see the demo.
The scripts are available on the following sites also (http://www.hotscripts.com/dbsearch/[email protected]):
$fp=fopen("php.txt","r");
echo "\n";
while (!feof($fp)) {
$line=chop(fgets($fp,1024));
if ($line=="")
continue;
$a=explode(" ",$line);
if (count($a)==1) {
echo " $line\n";
} else {
$href=array_shift($a);
$line=implode(" ",$a);
echo "- $line\n";
}
}
echo "
\n";
fclose($fp);
?>
|
|
|