I know how it works, I just want to know the error (or warning you get)
example:
*Warning*: Failed opening ... for inclusion
(include_path='.:/php/includes:/usr/share/php') in */var/www/... *on
line ...
Also check if your $_SERVER['DOCUMENT_ROOT'] really corresponds to real
filesystem path,
for
this is how it is done:
include ($_SERVER['DOCUMENT_ROOT'].'/../sensitivedata.inc.php');
explanation:
suppose i have a file:
www.mydomain.com/file.php
on the server it could be :
/home/sites/site168/web/file.php
this file wants to include a file with sensitive data, (or just download
some other
2 matches
Mail list logo