ASPit - Totally ASP JSit - Totally JavaScript
Search PHPit

Use this textbox to search for articles on PHPit. Seperate keywords with a space.

Advertisements

Files and related


Check if files exists

Saturday, May 22nd, 2004

With this short codesnippet you can easily check if a file exists on your server.

List all files in a directory

Saturday, May 22nd, 2004

With this codesnippet you can very easily list all the files in a directory, effectively creating a web-based filemanager (if you extend it with other functions).

Get current datestamp

Friday, April 2nd, 2004

With this function you can easily retrieve the current date stamp. Very useful for comparing it with data from a MySQL database.

Filename safe

Thursday, March 18th, 2004

Use this very handy codesnippet to automatically create a filename from a string. It removes all invalid characters and changes them into a ‘_’.