Re: my php.ini
| From: | Nicole Amashta | Date: | Thu, 18 Apr 2002 15:33:07 +0000 |
| Subject: | Re: my php.ini | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-13169@lists.php.net to get a copy of this message | ||
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" <tomas@llarik.sk> wrote in message
news:20020418151426.31548.qmail@pb1.pair.com...
>
> 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
>
>