Re: [PHP] Test URL length please (Pretty much 0T)
At 1:36 PM -0700 5/4/06, Ryan A wrote: Hi again, Kindly save the below code as t.php and run it in as many browsers/servers you can, then click on each of the links and tell me if you run into any problems. (Basically, I am checking to see how many characters we can have in a URL that the server will accept and process, the script checks 200-1000 chars.. add more if you want to) Thanks! Ryan Ryan: http://xn--ovg.com/t.php In Safari 2.0.3, FireFox 1.5.0.2, IE 5.2, Mozilla 1.83a I could run 8168 characters (f-click) without any problems. But, Opera 8.5 failed. However, when I increased it to 8169 characters (g-click) they all failed. HTH's tedd PS: Mac OS-X 10.4.6 Linux server1.ghettowebhosting.net Apache/1.3.34 (Unix) mod_auth_passthrough/1.8 mod_log_bytes/1.2 mod_bwlimited/1.4 PHP/4.3.11 FrontPage/5.0.2.2635 mod_ssl/2.8.25 OpenSSL/0.9.7a -- http://sperling.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Test URL length please (Pretty much 0T)
Ryan: http://xn--ovg.com/t.php In Safari 2.0.3, FireFox 1.5.0.2, IE 5.2, Mozilla 1.83a I could run 8168 characters (f-click) without any problems. But, Opera 8.5 failed. However, when I increased it to 8169 characters (g-click) they all failed. HTH's tedd PS: Mac OS-X 10.4.6 Linux server1.ghettowebhosting.net Apache/1.3.34 (Unix) mod_auth_passthrough/1.8 mod_log_bytes/1.2 mod_bwlimited/1.4 PHP/4.3.11 FrontPage/5.0.2.2635 mod_ssl/2.8.25 OpenSSL/0.9.7a -- Thanks Tedd, I appreciate it. Cheers, Ryan -- - The faulty interface lies between the chair and the keyboard. - Creativity is great, but plagiarism is faster! - Smile, everyone loves a moron. :-) - Fight back spam! Download the Blue Frog. http://www.bluesecurity.com/register/s?user=bXVzaWNndTc%3D __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] Test URL length please (Pretty much 0T)
Ryan A mailto:[EMAIL PROTECTED] on Thursday, May 04, 2006 1:36 PM said: (Basically, I am checking to see how many characters we can have in a URL that the server will accept and process, the script checks 200-1000 chars.. add more if you want to) Without any tweaking of the server mine went up to 4000 without a problem. However, 5000 always times out. Fx 1.5, Apache 2, Fedora 4, PHP 4.3.11 fwiw, Chris. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] Test URL length please (Pretty much 0T)
On Thu, May 4, 2006 4:51 pm, Chris W. Parker wrote: Ryan A mailto:[EMAIL PROTECTED] on Thursday, May 04, 2006 1:36 PM said: (Basically, I am checking to see how many characters we can have in a URL that the server will accept and process, the script checks 200-1000 chars.. add more if you want to) Without any tweaking of the server mine went up to 4000 without a problem. However, 5000 always times out. Fx 1.5, Apache 2, Fedora 4, PHP 4.3.11 HTTP servers are required to support at least X bytes. X changed from HTTP spec to spec. In all specs, servers were encouraged to support as many characters as is practical Note that part of this stems from the fact that there are many embedded HTTP servers with very specific minimalist goals. EG the HTTP server in one of them little D-Link hub thingies has to be pretty small, right? But they want to be compliant with the spec, right? Or, at least, non-compliance should not be over something as trivial as the dang URL being too long At any rate, other than being more than the minimum, it's entirely up to your HTTP application how long is max length Here's the thing though: Do you really want a 4000-char URL? That's probably not a Good Idea for a lot of different reasons -- some of which may not apply to domain-specific applications, but... MOST people asking this question are e, not newbies, but journeymen web application developers, who are going to soon realize that there are better ways to manage client/server I/O than cramming 4000 characters into a URL. :-) :-) :-) IMHO YMMV IANAL -- Like Music? http://l-i-e.com/artists.htm -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] Test URL length please (Pretty much 0T)
Hey, Thanks for replying and testing it out. Here's the thing though: Do you really want a 4000-char URL? Not at all, I just wanted to know if I can put 30-50 words in a url or would it break MOST people asking this question are e, not newbies, Well, if you compare me to the gurus on this list, I'm always going to be a newbie...so dont worry about the errr just say it ;-) Cheers, Ryan -- - The faulty interface lies between the chair and the keyboard. - Creativity is great, but plagiarism is faster! - Smile, everyone loves a moron. :-) - Fight back spam! Download the Blue Frog. http://www.bluesecurity.com/register/s?user=bXVzaWNndTc%3D __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] Test URL length please (Pretty much 0T)
Hey, Thanks for replying and testing it out. Without any tweaking of the server mine went up to 4000 without a problem. However, 5000 always times out. Fx 1.5, Apache 2, Fedora 4, PHP 4.3.11 Cool... Are you sure you searched on this subject? maximum url length in Google turns up a number of resources saying 2083 due to IE's limit. Yes, I mentioned that in my original post...but read that carefully, it says IE's limit,not everyone uses IE and if you continue sifting through googles results you will see that it also mentions some servers settings may allow more or less. Infact, your test itself proves that it was worth it coz you took it way up more than the 2083 limit that you found :-) I am on a windows machine running apache 1.3, no problems, I wanted to know if anybody else had a problem running it on their servers (differnet platforms, different browsers etc). Everything good! Thanks, Ryan -- - The faulty interface lies between the chair and the keyboard. - Creativity is great, but plagiarism is faster! - Smile, everyone loves a moron. :-) - Fight back spam! Download the Blue Frog. http://www.bluesecurity.com/register/s?user=bXVzaWNndTc%3D __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] Test URL length please (Pretty much 0T)
Ryan A mailto:[EMAIL PROTECTED] on Thursday, May 04, 2006 4:08 PM said: Are you sure you searched on this subject? maximum url length in Google turns up a number of resources saying 2083 due to IE's limit. Yes, I mentioned that in my original post... Yes I know, that's why I said, are you sure. To question your claim of having searched. but read that carefully, it says IE's limit,not everyone uses IE and if you continue sifting through googles results you will see that it also mentions some servers settings may allow more or less. Infact, your test itself proves that it was worth it coz you took it way up more than the 2083 limit that you found :-) Well of course but that's because I wasn't using IE so my point is that I don't think it matters (that I got over 2083). I would be willing to say that 3/4 of all internet users are on IE still so tweaking server settings and testing with browsers other than IE is useless. Unless of course you know exactly your audience's setup (for example in a corporate setting where you know your client's setup) in which case this could possibly be worthwile. But then again if someone is passing long strings like that they should rethink their implementation anyway... so back to square one. Chris. p.s. fiddleIf I sound snippy it's because I'm at the office later than planned because something has not gone as planned.../fiddle -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php