Page 1 of 1

is_up_loaded function

Posted: Sat Mar 27, 2004 5:58 pm
by molli_81
hi,

how do i use the is_up_loaded function if i am using form data but using the POST method and globals are turned off???? if i try:

is_up_loaded($_FILES['name'] or something similar, i get the error array to string conversion. Also i know this is a silly question but where do i change the permissions for uploads on windows xp?? it is on in my php.ini file but i think i need to allow it on windows too.

manni

Posted: Sat Mar 27, 2004 6:10 pm
by Illusionist
... is_up_loaded, i dont think is a PHp function at all.
1) i think you mean to be using the [php_man]is_uploaded_file[/php_man] function.
2)change ['name'] to the name of the field on your formie:

Code: Select all

<form>
<input type=file name=UpFile>
.....
you would change name to UpFile