RE: [PHP] fetching a parameter from url like on php.net A mirarcle?

2002-03-31 Thread Demitrious S. Kelly
I believe this is done with mod_rewrite -Original Message- From: Andy [mailto:[EMAIL PROTECTED]] Sent: Sunday, March 31, 2002 12:54 AM To: [EMAIL PROTECTED] Subject: [PHP] fetching a parameter from url like on php.net A mirarcle? Hi there, I am wondering how to get a parameter from

Re: [PHP] fetching a parameter from url like on php.net A mirarcle?

2002-03-31 Thread Rasmus Lerdorf
ErrorDocument 404 your_script.php then in your_script.php look at $REQUEST_URI Or stick a phpinfo() call there initially to see what is set. -Rasmus On Sun, 31 Mar 2002, Andy wrote: Hi there, I am wondering how to get a parameter from url like on php.net Example: php.net/functionname I

RE: [PHP] fetching a parameter from url like on php.net A mirarcle?

2002-03-31 Thread Rasmus Lerdorf
I believe this is done with mod_rewrite Nope. Absolutely no reason to incur the wrath of mod_rewrite for something this simple. Just an ErrorDocument entry in your httpd.conf. -Rasmus -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] fetching a parameter from url like on php.net A mirarcle?

2002-03-31 Thread Andy
thanx Rasmus Lerdorf [EMAIL PROTECTED] schrieb im Newsbeitrag [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... ErrorDocument 404 your_script.php then in your_script.php look at $REQUEST_URI Or stick a phpinfo() call there initially to see what is set. -Rasmus On Sun, 31 Mar 2002, Andy