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

From: Date: Thu, 08 Jun 2000 12:17:22 +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-324@lists.php.net to get a copy of this message
Thank you for your thinking. I've solved the question by set the temp_directory value in php.ini file.Perhaps my way may help other mans who have the same question. Thank you again. Jerry Qian "Joy Winter" <barat@medien.uni-weimar.de> wrote in message news:8hijlr$2jb$1@toye.php.net... > hi, > > you have to switch > > magic_quotes_gpc = Off > > in the php.ini then you get the full pathname. > > joy > > > "Jerry Qian" <jerry21cn@21cn.com> schrieb in im Newsbeitrag: > 8hhmmq$jpl$1@toye.php.net... > > 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 > > directory. > > I really don't know why $myfile=//php2 and not d:/temp/php2 ? > > (My NT has a temp directory named d:/temp) > > Hope someone can help me soon! > > > > > > > > -- > > 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 > > > > > > -- > 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 (#324) next »