in reply to CGI script .. cant find file
Your code uses a URL rather than a directory (which will never work) and you say that you've also tried with the "local path" but it doesn't work. I have to believe that the value you used for your "local path" is wrong or that you've done something else equally wrong.
$upload_dir is a URL. chdir doesn't work on URLs. -f doesn't work on URLs.
|
|---|