spavkov
Programmer
- Jun 16, 2004
- 26
Hi Guys,
im puzzled:
i need to install one php4 application on php 4.4.1 server
(running as Apache 1.3.34 module)
my doc root is this:
["DOCUMENT_ROOT"]=> "/home/someuser/public_html"
and my app is in the document root in subdir /sb/
so it is in "/home/someuser/public_html/sb/"
in script home.php i have this problem:
this code WORKS:
$a=file_get_contents("/home/someuser/public_html/sb/config.php");
and this code DOES NOT WORK:
include_once("/home/someuser/public_html/sb/config.php");
this also DO NOT work:
require_once("/home/someuser/public_html/sb/config.php");
include("/home/someuser/public_html/sb/config.php");
require("/home/someuser/public_html/sb/config.php");
when i use the include() and require() the script just frezes and does not output anything to the browser...
any ideas...?
im clueless....
please help me out on this...
im puzzled:
i need to install one php4 application on php 4.4.1 server
(running as Apache 1.3.34 module)
my doc root is this:
["DOCUMENT_ROOT"]=> "/home/someuser/public_html"
and my app is in the document root in subdir /sb/
so it is in "/home/someuser/public_html/sb/"
in script home.php i have this problem:
this code WORKS:
$a=file_get_contents("/home/someuser/public_html/sb/config.php");
and this code DOES NOT WORK:
include_once("/home/someuser/public_html/sb/config.php");
this also DO NOT work:
require_once("/home/someuser/public_html/sb/config.php");
include("/home/someuser/public_html/sb/config.php");
require("/home/someuser/public_html/sb/config.php");
when i use the include() and require() the script just frezes and does not output anything to the browser...
any ideas...?
im clueless....
please help me out on this...