12-18-2008, 06:21 PM
|
#5 (permalink)
|
|
The Acquainted
Join Date: Jan 2008
Posts: 119
Thanks: 21
|
AH! This explains it:
Quote:
If you use absolute url's for includes then you need to use the file system path, not the web path. As the include is carried out by the server not the browser.
include('/var/www/domains/example.com/htdocs/include/some_file.php');
|
|
|
|
|