PHP 5 Upgrade, now site won't pass variables

I just upgraded one of my sites to PHP 5 from PHP 4.

But now the site won’t pass the variables from one page to another.


won’t go anywhere. Any ideas?

You need to read and inwardly-digest this.

Simon’s website
Save $100 on 1-year plans with promo code [color=#CC0000]SCJESSEY100[/color] (details)

PHP 5 has register_globals off. This is a good thing, as it prevents data forgery/manipulation through bogus GET/POST requests.

If you edit index.php to check $_GET[‘goto’] instead of $goto everything should work as expected. Of course, you’ll need to do the same for any other GET variables you use (so if you have a page number specified like “index.php?goto=january&page=2”, you’d need to access $_GET[‘page’] instead of $page). If you have any questions feel free to message me :slight_smile: