Quantcast
Channel: Programming Forums
Viewing all articles
Browse latest Browse all 51036

No GET variables, thanks to Apache

$
0
0
Hello, D.I.C.

I don't know if this is in the correct forum, but I should assume so since my primary language is in PHP.

I'm using mod_rewrite to make my URL's look a little more prettier than what they would be without it. Since using them, I can't seem to pass any $_GET variables - they just don't pass all together.

In my PHP document, I'm debugging using: <?php foreach ( $_GET as $g => $d ) { echo "{$g} = {$d}<br />"; } ?> and the only parameters which are being passed are those specified in my .htaccess - if I use the address bar to input a get variable, the debugging code doesn't print anything else out, only the aforementioned.

Am I doing something wrong? I hope it's a quick fix and I'm just being a plonker.

Thanks in advanced, always appreciated.

~huzi

Viewing all articles
Browse latest Browse all 51036

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>