Jump to content

query string problem


bhavin12300

Recommended Posts

hi,

i have one simple script which does work fine on local computer but got following problem when i uploaded it server.

The problem is, the server genarate 404 error if i pass query string paramter value of this next=http%3A%2F%2Fwww.anas-asarani.com%2Ffb%2F

 

but it work perfectly fine if there is no % in its value.

this does not work

http://anas-asarani.com/fb/car.php?next=http%3A%2F%2Fwww.anas-asarani.com%2Ffb%2F

this works

http://anas-asarani.com/fb/car.php?next=asdkj

 

 

can any one let me know whats wrong on server?

 

waiting for your reply.

 

Link to comment
https://forums.phpfreaks.com/topic/186232-query-string-problem/
Share on other sites

What are you attempting to do with the variable once it reaches the script?

or is the 404 appearing when going to the aforementioned url..

 

My theory is that you are attempting to redirect to the specified URL and thats causing the 404 error..

Link to comment
https://forums.phpfreaks.com/topic/186232-query-string-problem/#findComment-983571
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.