julz
08-19-2007, 12:29 PM
i'm new to php. i installed it on xp, iis and installed mysql.
everything is working fine except for the require and require_once statements. the weird thing is that include and include_once work fine.
it seems that the php engine stops processing the page whenever it encounters a require or require_once statement. for instance, the following php code:
<html>
<head>
<title><? require("./includes/pagetitle.php");?></title>
</head>
....
</html>
would generate the following output:
<html>
<head>
<title>
plz advise!!
everything is working fine except for the require and require_once statements. the weird thing is that include and include_once work fine.
it seems that the php engine stops processing the page whenever it encounters a require or require_once statement. for instance, the following php code:
<html>
<head>
<title><? require("./includes/pagetitle.php");?></title>
</head>
....
</html>
would generate the following output:
<html>
<head>
<title>
plz advise!!