Re: [PHP] How do you read one of these parameters?

2005-02-14 Thread Richard Lynch
[EMAIL PROTECTED] wrote: On 11 Feb 2005 Richard Lynch wrote: BAD: http://example.com/dynamic_pdf.php?record_id=1 GOOD: http://example.com/dynamic_pdf.php/record_id=1/fool_ie.pdf Just curious, how does IE screw up the first one? I can describe the behaviour, pretty simply. In some versions

[PHP] How do you read one of these parameters?

2005-02-11 Thread Brian Dunning
I see URLs formatted like this: http://tinyurl.com/xyz How do you read that xyz, since there's no /?x= preceding it? Is it not a get parameter? Just curious, - Brian -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] How do you read one of these parameters?

2005-02-11 Thread Mike Johnson
From: Brian Dunning [mailto:[EMAIL PROTECTED] I see URLs formatted like this: http://tinyurl.com/xyz How do you read that xyz, since there's no /?x= preceding it? Is it not a get parameter? My best guess is that it's being converted by Apache using mod_rewrite. For one of my

Re: [PHP] How do you read one of these parameters?

2005-02-11 Thread Greg Donald
On Thu, 10 Feb 2005 16:28:15 -0800, Brian Dunning [EMAIL PROTECTED] wrote: I see URLs formatted like this: http://tinyurl.com/xyz How do you read that xyz, since there's no /?x= preceding it? Is it not a get parameter? Apache ModRewrite RewriteEngine on RewriteRule ^([A-Za-z].*)

Re: [PHP] How do you read one of these parameters?

2005-02-11 Thread Richard Lynch
Brian Dunning wrote: I see URLs formatted like this: http://tinyurl.com/xyz How do you read that xyz, since there's no /?x= preceding it? Is it not a get parameter? If you can't do mod_rewrite you can use: http://tinyurl.com/index.php/xyz with: ?php echo $_SERVER['PATH_INFO'];? I use

Re: [PHP] How do you read one of these parameters?

2005-02-11 Thread M. Sokolewicz
or, you could use a 404-errorHandler, and have it parse the URL that caused it couldn't find ;) (that's what I use occasionally) Richard Lynch wrote: Brian Dunning wrote: I see URLs formatted like this: http://tinyurl.com/xyz How do you read that xyz, since there's no /?x= preceding it? Is it

Re: [PHP] How do you read one of these parameters?

2005-02-11 Thread trlists
On 11 Feb 2005 Richard Lynch wrote: BAD: http://example.com/dynamic_pdf.php?record_id=1 GOOD: http://example.com/dynamic_pdf.php/record_id=1/fool_ie.pdf Just curious, how does IE screw up the first one? -- Tom -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] How do you read one of these parameters?

2005-02-11 Thread Robert Cummings
On Thu, 2005-02-10 at 19:28, Brian Dunning wrote: I see URLs formatted like this: http://tinyurl.com/xyz How do you read that xyz, since there's no /?x= preceding it? Is it not a get parameter? It means the hosting webserver either does a URL rewrite for the receiver application, or

Re: [PHP] How do you read one of these parameters?

2005-02-11 Thread Blake Schroeder
I may be looking at this problem from the wrong direction but if your form method is a post you will not see the parameters in the url, if your form method is a get you will. examples: form method=POST action=test.php input type=HIDDEN name=x value=yes example url:

Re: [PHP] How do you read one of these parameters?

2005-02-11 Thread Chris
[EMAIL PROTECTED] wrote: On 11 Feb 2005 Richard Lynch wrote: BAD: http://example.com/dynamic_pdf.php?record_id=1 GOOD: http://example.com/dynamic_pdf.php/record_id=1/fool_ie.pdf Just curious, how does IE screw up the first one? -- Tom IE has unique (read: non-standard) way of