View Single Post
  #3 (permalink)  
Old 06-03-2005, 06:58 PM
flashwebhost flashwebhost is offline
Junior Member
 
Join Date: Jun 2005
Posts: 8
flashwebhost is on a distinguished road
iTrader: (0)
Default

I think its better to use Mod-rewrite than using PHP $PATH_INFO, if you use path info, url will look like

article.php/12

You can rename article.php to article and get it work as php file, but have faced some problem when working with phpsuexe on.

You can use following .htaccess file.

Code:
RewriteEngine On RewriteRule ^/article/([0-9]*) /article.php?ID=$1
Reply With Quote