Zend - The PHP Company




Code Gallery: fath


Quote from fortune  

Type: code fragment
Added by: fath
Entered: 26/12/2001
Last modified: 01/12/2001
Rating: - (fewer than 3 votes)
Views: 4506
This simple script picks up random quotes from fortune's-like text files. Sentences are seperated by "%" char, fortune style database. The script could be used with any textfile, just watch out for the right needle and define()d include dir.


Simple FTP Upload  

Type: code fragment
Added by: fath
Entered: 25/04/2001
Last modified: 04/12/2000
Rating: *** (4 votes)
Views: 12321
Simple script to upload files via FTP. You can define destination directories by scroll-down menu, maximum file size and allowed file extensions. Originally written to allow clerks uploading zip files into certain restriced areas of my website.


StringChk  

Type: code fragment
Added by: fath
Entered: 03/06/2001
Last modified: 06/12/2000
Rating: - (fewer than 3 votes)
Views: 4165
Simple fragmnet to check whether an user supplied string contains forbidden chars, wich may led our PHP script behave unexpected way.


TinyBoard 1.2  

Type: application
Added by: fath
Entered: 31/05/2001
Last modified: 01/12/2007
Rating: **** (7 votes)
Views: 23420
Simple message board working on MySQL database. It supports multiple levels, threads, search by topic or free text. SQL part is made up using PHPLib. Zip file includes a working example and images for toolbars.




Search