Hi, I wrote a PHP file, which runs correctly on one machine, when I moved this PHP file to another machine (version 4.2.2) it did not work.
The details are:
I called a file - somefile.php?layer=30
In one line of my somefile.php, I want to output layer by the following code:
<?php echo $layer;?>
It should output 30, but actually output nothing.
I wonder if this is a problem of different versions of PHP? If it is, how to solve it?
Many thanks.