Categories

Updated: 07/23/2005

PHP file upload protection.

With this simple function, you can check the authenticity of any file uploaded, it works by checking the file specified, for specific hex at specific locations, thus, much more safe than the usual protection of just checking the extension. Includes: TAR, ZIP, BZ2, SWF, WMV, MP3, BMP, GIF, PNG, and JPEG, predefined.
©2003-2019 jCay.com