Forum Moderators: phranque
I thought that it might have been handling my .htaccess file differently, but when i enter the actual file with the GET Requests attached (url.com/file.php?var=1&var=2) it doesn't work. It recognizes the first variable but not the second.
And the files and .htaccess files are identical between the two servers... I can't figure it out.
Let me know if I didn't provide enough info...
Thanks in advance
If not, then it is your PHP configuration you need to look at; Apache, in and of itself, doesn't use or need query strings to function -- In other words, the server software itself doesn't care about them or do anything with them -- They are just data to be passed to a resource (your script) at whatever URL they are attached to.
However, if your .htaccess code examines and acts upon the name/value pairs in the query string, then it could be a problem with your .htaccess code.
But Apache itself always ignores all query strings, so it's not likely an Apache problem.
Jim
url would look like: domain.com/Houston_TX/
RewriteRule ^([^/]+)_([A-Z][A-Z])/?$ view_city2.php?city=$1&state=$2 [L]
I tried using view_city2.php?city=Houston&state=TX and that didn't work, either.
So you think it is a PHP configuration issue? I didn't know there was a setting for how PHP handled GET requests.
You are unbelievably helpful... I appreciate your dedication to this forum.