#22913 [Opn->Bgs]: HTTP Upload bug
| From: | luke at cywh dot com | Date: | Tue, 01 Apr 2003 14:31:41 +0000 |
| Subject: | #22913 [Opn->Bgs]: HTTP Upload bug | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-36923@lists.php.net to get a copy of this message | ||
ID: 22913
User updated by: luke at cywh dot com
Reported By: luke at cywh dot com
-Status: Open
+Status: Bogus
Bug Type: HTTP related
Operating System: Windows XP
PHP Version: 4.3.2RC1
New Comment:
ingnore this... replied to the wrong one.
Previous Comments:
------------------------------------------------------------------------
[2003-04-01 08:28:44] luke at cywh dot com
...
------------------------------------------------------------------------
[2003-04-01 08:27:23] luke at cywh dot com
Its confirmed. It works great as a CGI, but as a module it messes up.
When i had it as a module i couldnt get phpinfo() to work, but when i
did it as a CGI it worked fine.
something else to, when i had it as a CGI
php_admin_value didnt work.
apache said it was an invalid command.
(i switched it back to module).
im very sure i installed php correctly and completlely. when i install
it, i do it manualy with the windows binaries. ive installed php a
bunch of times. what i usually do is i delete the entire folder and the
files i had to move around, and then reinstall it from the begining. so
yes im sure it has all the correct dll's
question: why does the php logo on the phpinfo() have an icon of a
dog?. is its because its a "snapshot"? lol.
------------------------------------------------------------------------
[2003-03-27 20:31:46] luke at cywh dot com
yeah but the temp files arnt deleting them selves when the script ends
and it should be. it did before.
------------------------------------------------------------------------
[2003-03-27 19:04:01] sniper@php.net
Sorry, but your problem does not imply a bug in PHP itself. For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system
is not the
appropriate forum for asking support questions.
Thank you for your interest in PHP.
Using a proper script this works just fine.
------------------------------------------------------------------------
[2003-03-27 18:54:10] luke at cywh dot com
forgot a part of the first. script.... here it is...
$u=1;
while($u!=9)
{
$udy="fupload$u";
$mtemp=$_FILES[$udy]['tmp_name'];
is_uploaded_file($mtemp);
$mname=$_FILES[$udy]['name'];
if($mname)
{
if(@copy($mtemp,"$login/$mypath".$mname))
{
echo "<font color=\"blue\">".$mname." has been
uploaded.</font><br>";
}else{
echo "<font color=\"red\">File didnt finish
uploading</font><br>";
}
}
$u=$u+1;
}
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/22913
--
Edit this bug report at http://bugs.php.net/?id=22913&edit=1