PHP5 problem including pages

Miscellaneous Forums/General Discussion/PHP5 problem including pages

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

I am switching my server from php4 to php5. When I attempt to pass a variable in a link and include the page, php thinks the variable is undefined.

Link to php4 version of page:
http://www.leadwerks.com/index.php?page=purchase.htm

Link to php5 version of page:
http://www.leadwerks.com/index.php5?page=purchase.htm

My include code is like this:
<?PHP
include ($page);
?>