Where are $username and $fileName coming from? If those are from user-supplied data, you have a very serious security hole here, one which could leave your system wide open to attackers.
Cheers,
Ovid
New address of my CGI Course.
In reply to Re: CGI File Upload Problems
by Ovid
in thread CGI File Upload Problems
by jupe
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |