Jump to content

[SOLVED] Please help with some Apache Rewriteable Rule


jeet_0077

Recommended Posts

Hi all,

I working on something using some Apache Rewritable Rule as:

RewriteRule ^video_([0-9]{1,8}).html /sitename/display.php?id=$1

 

Now there is a sutuation like if the user is not logged in and click on a video it will ask to register in a popup form.

 

After submitting the form it will check for some error and will return to the same page if there is any error.

the URL will be something like:

http://sitename//video_1.html?x=1&message=You+must+enter+all+the+fields

 

This is nothing but will execute a php script and if any error then will be returned as shown above.

The problem is due to the rewrite rule I am not able to get the $_GET["message"] to print that in the same page.

 

And for some reason I can not change the code the way errors are sent.

Can some one please advice me with the rewritable rule which eventually solves this.

Or if someone has better idea to get the  $_GET["message"]

 

Thanks for your help.

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.