is_up_loaded function

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
molli_81
Forum Newbie
Posts: 1
Joined: Sat Mar 27, 2004 5:58 pm

is_up_loaded function

Post 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
Illusionist
Forum Regular
Posts: 903
Joined: Mon Jan 12, 2004 9:32 pm

Post 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
Post Reply