--- In [email protected], Grant Harrington <[EMAIL PROTECTED]> wrote:

> 
> mydomain.com/documents/forms/
> 
> Entering that exact URL in the "upload/" on line 25 (above) lets the  
> script run fine, but doesn't put the file there.
> 

You must use an absolute pathname, not a URL.

This will be something like:

/home/sites/mydomain.com/www/documents/forms/

You can find the path to your script with:

echo $_SERVER['SCRIPT_FILENAME'] or 

echo $_SERVER['SCRIPT_NAME'] and work it out from there.

Greg

Reply via email to