Re: How to resolve the stange question about upload files?

From: Date: Thu, 08 Jun 2000 12:19:13 +0000
Subject: Re: How to resolve the stange question about upload files?
References: 1 2  Groups: php.windows 
Request: Send a blank email to php-windows+get-325@lists.php.net to get a copy of this message
Thank you for your thinking. I'v solved the question by set the temp_directory value in the php.ini file.Perhaps my way can help other mans who meet the same or likely question. Thank you again. Jerry Qian Henri Sora <sorahen@saunalahti.fi> wrote in message news:393E1234.FC3A844D@saunalahti.fi... > Hi! > > > I've meet a strage question about upload files: > > <html><body><form action="abc.php" > > enctype="multipart/form-data" > > method="post"><input type=file > > name="myfile"></form></body></html> > > in the "abc.php" file,here is my code: > > copy($myfile,$myfile_name); > > But the system tell me that $myfile=//php2 and can't find the file or > > So you have similiar problem like I had a couple days ago. Take the > magic quotes of like Joy told or strip the slashes before copying > your file: $myfile_name = stripslashes($input_file); > > H > _____________________________________________________________________ > http://iki.fi/sora, tel: 040 53 40 405, 03 616 6726 fax: 03 313 > 92138 > > > -- > PHP Windows Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-windows-unsubscribe@lists.php.net > For additional commands, e-mail: php-windows-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net >

« previous php.windows (#325) next »