ok......I have saved the following in a test.php file located in my website root (local machine)
Code:
<?php
$curdir = getcwd ();
chdir('c:\inetpub\wwwroot\tradinglab\forums');
require_once('c:\inetpub\wwwroot\tradinglab\forums\global.php');
chdir ($curdir);
?>
<html>
<body>
This is a heading<br />
This is some more stuff <br />
And another line<br />
You get the idea<br />
Just place stuff as you normally would with HTML<br />
I use CSS to style and position on my site fwiw<br />
<br />
How about we put the login box right under here?<br />
<br />
<?php
require_once('c:\inetpub\wwwroot\tradinglab\login_inc.php');
?>
</body>
</html>
when I run the script this is what I get:
Code:
Notice: Undefined index: REQUEST_URI in c:\inetpub\wwwroot\tradinglab\forums\includes\class_core.php on line 1952
Notice: Undefined index: REQUEST_URI in c:\inetpub\wwwroot\tradinglab\forums\includes\class_core.php on line 1952
Notice: Undefined index: QUERY_STRING in c:\inetpub\wwwroot\tradinglab\forums\includes\class_core.php on line 1971
Notice: Undefined index: QUERY_STRING in c:\inetpub\wwwroot\tradinglab\forums\includes\class_core.php on line 1971
Notice: Undefined index: HTTP_REFERER in c:\inetpub\wwwroot\tradinglab\forums\includes\class_core.php on line 1602
Unable to add cookies, header already sent.
File: c:\inetpub\wwwroot\tradinglab\forums\includes\class_core.php
Line: 1952
can someone help me iron this thing out? thanks in advance