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);
?>
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);
?>