More PHP security advice:
ALL PHP scripts have security issues, including
the following script, which lets any visitor to the
site upload any file they want to your server:
Even a totally empty PHP file with no code lets
people uploaded files to your server due to the
design (or rather lack of design) of PHP itself.
To improve PHP security turn register_globals off,
fopen_url off, open_basedir on, and except
for directories that hold scripts which accept
file uploads turn file uploads off.