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

From: Date: Tue, 06 Jun 2000 10:27:44 +0000
Subject: Re: How to resolve the stange question about upload files?
References: 1  Groups: php.windows 
Request: Send a blank email to php-windows+get-246@lists.php.net to get a copy of this message
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 >

« previous php.windows (#246) next »