[PHP] length limit of URL?

2001-03-03 Thread Michael Hall

Does anyone know the practical limit to the length of a URL? Some of mine
are now 100 characters long with heaps of variables packed in, so I'm
wondering what the limits are?

Thanks

Mick


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] length limit of URL?

2001-03-03 Thread Ernest E Vogelsinger

At 14:02 03.03.2001, Michael Hall said:
[snip]
Does anyone know the practical limit to the length of a URL? Some of mine
are now 100 characters long with heaps of variables packed in, so I'm
wondering what the limits are?
[snip] 

Excerpt from RFC 2616 (http://www.ietf.org/rfc/rfc2616.txt), Page 18

The HTTP protocol does not place any a priori limit on the length of
a URI. Servers MUST be able to handle the URI of any resource they
serve, and SHOULD be able to handle URIs of unbounded length if they
provide GET-based forms that could generate such URIs. A server
SHOULD return 414 (Request-URI Too Long) status if a URI is longer
than the server can handle (see section 10.4.15).

   Note: Servers ought to be cautious about depending on URI lengths
   above 255 bytes, because some older client or proxy
   implementations might not properly support these lengths. 




 ...ebird

   O Ernest E. Vogelsinger
   (\)http://www.1-at-web.at/
^ ICQ#   13394035


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]