PDA

View Full Version : php file uploading



Compumaniac12
28 Jun 2006, 09:07 PM
i feel ashamed posting this as i found this
http://us2.php.net/features.file-upload
and yet im still confused.

i changed
__URL__
to the other file
and
$uploaddir = '/var/www/uploads/';

to a directory i created
which was /uploads/

and i get the negative every time.
is there any simple direct way to do this, even if its not secure. Im just very confused at the moment.
thanks

airy
29 Jun 2006, 03:32 AM
You can use the class provided in the following link. Its pretty easy.

http://www.phpclasses.org/browse/package/1664.html