You could use sessions, or have menu.php send something via POST and have webpage.php check the content of POST before displaying its content...
In addition, just relying on the referrer is very insecure, and can be spoofed very easily.
Many shoes,
Jamez/SiliconFuRy
|