I'm trying to put a "url" php document in an "include" function, but it's not working... I'm new to PHP (just started today) so I'm curious as to what I'm doing wrong, or if this is even possible.
Basically, I want to have ONE php file for the "main" links for my website that can all be accessed through the sub-branches of the site... Is it possible? How would it work? Etc...
The following are the error messages that show up on the page:
Warning: include() [function.include]: URL file-access is disabled in the server configuration in /blog/links.php on line 5
Warning: include(http ://www.*MY*DOMAIN*.com/anchorLinks.php) [function.include]: failed to open stream: no suitable wrapper could be found in /blog/links.php on line 5
Warning: include() [function.include]: Failed opening 'http ://www.*MY*DOMAIN*.com/anchorLinks.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /blog/links.php on line 5
Basically, I want to have ONE php file for the "main" links for my website that can all be accessed through the sub-branches of the site... Is it possible? How would it work? Etc...
The following are the error messages that show up on the page:
Warning: include() [function.include]: URL file-access is disabled in the server configuration in /blog/links.php on line 5
Warning: include(http ://www.*MY*DOMAIN*.com/anchorLinks.php) [function.include]: failed to open stream: no suitable wrapper could be found in /blog/links.php on line 5
Warning: include() [function.include]: Failed opening 'http ://www.*MY*DOMAIN*.com/anchorLinks.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /blog/links.php on line 5