hi again
any y one here can tellme when a have to set the file when i have to upload ??? <?php // In PHP earlier then 4.1.0, $HTTP_POST_FILES should be used instead of $_FILES. // In PHP earlier then 4.0.3, use copy() and is_uploaded_file() instead of move_uploaded_file $uploadfile = $_FILES['userfile']['tmp_name']; $uploaddir = $_SERVER['C:/uploads'] . 'c:/uploads/' . $_FILES['userfile']['name']; print "<pre>"; if (move_uploaded_file($uploadfile, $uploaddir)) { print "File is valid, and was successfully uploaded. Here's some more debugging info:\n"; print_r($_FILES); } else { print "Possible file upload attack! Here's some debugging info:\n"; print_r($_FILES); } ?> thanks ----- Original Message ----- From: "Martin Mandl" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, March 12, 2003 3:29 PM Subject: [PHP] Re: how to uploads files > try the following ... > > http://www.faqts.com/knowledge_base/index.phtml/fid/62 > > Luis A wrote: > > hi every one :) > > > > how can i uploads files to my server by php script ? > > any hand on that i realy apreciate > > > > Thanks > > __________________________________________________________________ > > Luis Atala > > Profetional Web Desinger > > Facultad de Cultura Fisica > > Linux User#: 412375 > > ICQ#: 132736035 > > Current ICQ status: > > + More ways to contact me > > __________________________________________________________________ > > > > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php