OK, try some debugging lines.

First off, in your php script, you didn't upload the file anywhere. You have
to do some sort of:

copy( $userfile, $pathtonewfile )

to get the file there.  Then, when you check the file exists, you want to
check the path of the new file, like so:

if ( file_exists( $pathtonewfile) )
{
    echo "The file exists.";
}
else
{
    echo "The file does not exist.";
}


--
Nicole Amashta
Web Application Developer
www.aeontrek.com


"Cybero" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
>
> enable_dl = on
> file_uploads = on
> upload_tmpd_dir = c:\inetpub\wwwroot\uploads
> upload_max_filesize = 4M
>
>
>
> ---
> Odchádzajúca správa neobsahuje vírusy.
> Skontrolované antivírusovým systémom AVG (http://www.grisoft.cz).
> Verzia: 6.0.342 / Vírusová databáza: 189 - dátum vydania: 14.3.2002
>
>



-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to