mallaire
Verified User
I know this problem may not be related to DA, but I didn't found anything on this...
Does anyone know why the mod_rewrite engine allow me to see the rewritten URL, but my PHP file can't see the value that has been rewritten.
Example:
Original URL: http://domain.com/view.php?id=5
Rewritten URL: http://domain.com/view/5 (the page is showing, but the id value is not getting through it).
My htaccess is composed of:
RewriteEngine ON
RewriteRule ^view\/(.*)/?$ view.php?id=$1
Please help...
Thank you!
Does anyone know why the mod_rewrite engine allow me to see the rewritten URL, but my PHP file can't see the value that has been rewritten.
Example:
Original URL: http://domain.com/view.php?id=5
Rewritten URL: http://domain.com/view/5 (the page is showing, but the id value is not getting through it).
My htaccess is composed of:
RewriteEngine ON
RewriteRule ^view\/(.*)/?$ view.php?id=$1
Please help...
Thank you!