Re: [PHP4BETA] Those built-in GIFs
| From: | Sascha Schumann | Date: | Thu, 22 Apr 1999 15:10:46 +0000 |
| Subject: | Re: [PHP4BETA] Those built-in GIFs | ||
| References: | 1 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-366@lists.php.net to get a copy of this message | ||
I just saw that message while searching for the PHP4 Howto.
On Sun, Apr 18, 1999 at 09:11:55PM +0000, Zeev Suraski wrote:
> Hi,
>
> I noticed the built-in GIF URLs changed to add php3_rqst->uri to them. Two
> points about it:
> 1. While I haven't read the HTTP/HTML standards thoroughly (or frankly,
> almost not at all) - I know of at least one other case in which the browser
> is responsible of adding the current URL in its entirely to a relative URL
> - href="#some_paragraph" - it's implicitly transformed to
> http://foo.bar/uri#some_paragraph. ?foobar should be no
> different. IE
> seems to agree with me, Netscape doesn't :I
Oh no, IE gets something right :)
From [1]:
URI = ( absoluteURI | relativeURI ) [ "#" fragment ]
relativeURI = net_path | abs_path | rel_path
rel_path = [ path ] [ ";" params ] [ "?" query ]
Looks like ?foobar alone is valid.
[1] RFC 1945, HTTP/1.0, "3.2.1 General Syntax"
>
> 2. If we arrive to a conclusion that we do need the URI after all (which
> unfortunately seems to be the case), we need to do it in a different way -
> php3_rqst is apache specific.
--
Regards,
Sascha Schumann |
Consultant | finger sas@schell.de
| for PGP public key
--
PHP 4 Beta