Frequently Asked Questions
No variables?
-
No variables?
Posted on May 21, 2004
Written by
Sasha (view more by Sasha)
Filed under FAQ, NL-GenericPages, Scripts
I can’t get the variables to show up in the file I included it in. What can I do?
Check if you are using a full URL to the file in the include (something like http://www.yourdomain.com/folder/file.php). If that’s the case, try changing it to either a relative url:
include '../file.php';
or to the absolute path:
include '/home/yoursite/public_html/requirements.php';
That should solve any problems.