My website does not work properly anymore. The variable values passed on the URL do not seem to be loaded in $GLOBALS.
I created these two simplified files to reproduce the problem: index.php and abc.php with the following contents:
index.php:<?php print("index.php file: language =" . $GLOBALS['lang'] . "
"); ?> ABC file
abc.php<?php print("abc.php file: language = " . $GLOBALS['lang'] . "
"); ?> Index file
When I click the link from index.php to abc.php I get this:
abc.php file: language =
So it seems that the value “en” passed for variable $lang is not stored in $GLOBALS.
I loaded these two files on a friends website with another web host and it works just fine.
Please let me know if you have any idea why is this happening.