Consider using the three argument form of open. This will prevent the user from including characters in filename that can effect what open() does (e.g. '-' or a numerical file descriptor).
-Colin.
WHITEPAGES.COM | INC
In reply to Re: File Upload Script: Security Issue???
by cmeyer
in thread File Upload Script: Security Issue???
by awohld
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |