Uploading files with PHP script

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
Zoran_Dimov
Forum Newbie
Posts: 16
Joined: Wed Jun 21, 2006 6:10 pm
Location: Macedonia
Contact:

Uploading files with PHP script

Post by Zoran_Dimov »

I am trying to upload files with PHP script, but there are some problems.
$_FILES[..] variables don't work. Is there any alternative way to get the filename variables from the HTML form.

I have set up the temponary upload dir in PHP.INI, and it exist.

Thanks
thiscatis
Forum Contributor
Posts: 434
Joined: Thu Jul 20, 2006 11:00 am

Post by thiscatis »

If it doesn't work I presume there's something wrong with your code.
Code you perhaps give us the error message?

Have a look at this tutorial that Daedalus- posted in an older topic:

http://www.tizag.com/phpT/fileupload.php
Post Reply