RE: [PHP] 404 Not Found - refresh to directory

2005-07-15 Thread Terry Romine
Subject: RE: [PHP] 404 Not Found - refresh to directory .htaccess: RewriteEngine on RewriteRule ^([\w-]+)$ index.php/$1 index.php: ?php $uriparams = explode(/,$REQUEST_URI); $uriparams = explode(?,$REQUEST_URI); $agent = $uriparams[0]; $agent = eregi_replace(/,,$agent); // Select from mysql where

RE: [PHP] 404 Not Found - refresh to directory

2005-07-14 Thread Chris W. Parker
Terry Romine mailto:[EMAIL PROTECTED] on Thursday, July 14, 2005 1:52 PM said: I have a website that has several hundred agents in a mysql database. The client wants to be able to enter the domain.com/agentname and be redirected to a standard page where we show the agent information.

RE: [PHP] 404 Not Found - refresh to directory

2005-07-14 Thread Andras Kende
-Original Message- From: Terry Romine [mailto:[EMAIL PROTECTED] Sent: Thursday, July 14, 2005 3:52 PM To: php Subject: [PHP] 404 Not Found - refresh to directory I have a website that has several hundred agents in a mysql database. The client wants to be able to enter the