ID:               24554
 Updated by:       [EMAIL PROTECTED]
 Reported By:      nisanov at bigpond dot net dot au
-Status:           Open
+Status:           Bogus
 Bug Type:         HTTP related
 Operating System: Windows 2000
 PHP Version:      4.3.1
 New Comment:

This can't be any PHP bug. And RTFM:
"Note: HTTP/1.1 requires an absolute URI as argument to 
Location: including the scheme, hostname and absolute path.."




Previous Comments:
------------------------------------------------------------------------

[2003-07-08 22:49:10] nisanov at bigpond dot net dot au

Description:
------------
I'm not sure if this is the same but that is talked about in Bug #6178:
URI Re-writing failure but there is comments of this being fixed in php
v4.0.2 and I am using php v4.3.1

I have a page that containts a form with enctype="multipart/form-data"
- used to upload an image

The form data is sent to a 2nd page that writes the image data into a
database.

In the 2nd page I also have a header function that contains an anchor
reference (#MyAnchor);

When the header source page loads the anchor disappears from the url.

This only happens when I post from a form that has
enctype=multipart/form-data.  I cannot be certain this is the cause but
I have some suspicions that it is.

Any ideas?

Reproduce code:
---------------
header("Location:
search.php?SID=".$_GET["SID"]."&msg=56&restore=true#UserDetails");
exit;


Expected result:
----------------
The url address in the browser to be:

http://mysite/search.php?SID=j54b23l45b2lk45b24j5b2asdf&msg56&restore=true#UserDetails

Actual result:
--------------
The url address in the browser is:

http://mysite/search.php?SID=j54b23l45b2lk45b24j5b2asdf&msg56&restore=true


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=24554&edit=1

Reply via email to