i think ['name'] isn't empty, it contains the real name whereas tmp_name
contains the full path to the temp_file on the server

maybe you should try $HTTP_POST_FILES?



"Jonas Thorell" <[EMAIL PROTECTED]> schrieb im Newsbeitrag
news:[EMAIL PROTECTED]
> >The upload_single.php script is just this:
> ><?php
> >    $ime = $_FILES["thefile"]["name"];
> > print ($ime);
> >?>
>
> >I just want for begining to print the name of file.
>
> >But It doesn't work.
>
> Do you get anything if you change "name" to
> "tmp_name" to beging with? If I'm not mistaken
> ,"name" isn't filled in with anything unless
> You've used move_uploaded_file() first.
>
> Also check if uploads are enabled in php.ini.
> Oh, and if you have permissions to write in
> The tmp directory as well.
>
> /Jonas
>
> ---
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.501 / Virus Database: 299 - Release Date: 2003-07-14
>
>



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

Reply via email to