jeet_0077 Posted July 22, 2008 Share Posted July 22, 2008 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. Link to comment https://forums.phpfreaks.com/topic/116055-solved-please-help-with-some-apache-rewriteable-rule/ Share on other sites More sharing options...
jeet_0077 Posted July 22, 2008 Author Share Posted July 22, 2008 Ha what a stupid I am, I can just have a session variable for that. It worked for me. Thanks Link to comment https://forums.phpfreaks.com/topic/116055-solved-please-help-with-some-apache-rewriteable-rule/#findComment-596772 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.