![]() |
Absolute URL location not working...
Hello all,
Is there a reason why this: PHP Code:
But this: PHP Code:
This isn't always the truth, but seems to be when calling certain php and .xml files. |
You can not include a file via http.
|
can you explain why not? If that is just how it is, that's fine to :)
|
Would there be a way to use include even if the file calling it is deep within another directory? I don't want to change the link to the file each time the directory is deeper.
IE... inc/functions.php on home page... inside AboutUs directory... ..inc/functions.php on aboutus.php etc... Thanks! |
AH! This explains it:
Quote:
|
Is there any security issues with using the absolute path? Is it safer? Less Safe?
Sorry for all the questions. Thanks for the clarifications! |
Quote:
|
| All times are GMT. The time now is 10:52 PM. |
Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0