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 url like on php.net Example: php.net/functionname I guess this is a server config isn't it? The server would otherwise asume this is a file and return a 404 error. How could I tell the server to run index.php if the file name is not on the server. And then .. how to get a 404 if this is not a function, but really a not existant page? Maybe someone of the php.net team could uncouver the miracle :-) Thanx Andy -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php