Jump to content

passing VALUES


crashmaster

Recommended Posts

Hi there, I have a problem with mod_rewrite.

 

I have a htaccess where I've used code below:

 

RewriteCond %{REQUEST_URI} (page-)

RewriteRule ^inzerce-(.*)/page-([0-9]+)$ /index.php?page=inzerce&params=$1&pagenumber=$2 [NC]

 

On my local server, when I use this url: localhost/inzerce-xxxx/page-13 script INDEX.php gets 2 vars - $params = xxxx; and $pagenumber=13;

 

WHen I use this on webhosting's server - my script get ONLY 1 var = $params = xxxx/page-13;

 

I dont know how to fix it... Any suggestions .. ??

 

Thank you

Link to comment
https://forums.phpfreaks.com/topic/144615-passing-values/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.