Re: [PHP-WIN] absolute include files

2003-06-16 Thread dj dust
thanks for the reply. > This should be easy enough. First, have you checked to see if > register_globals is on or off on your local machine? It defaults to off, > so $DOCUMENT_ROOT would become $_SERVER['DOCUMENT_ROOT']. yep, it was set to 'off' so I've changed all the includes now so that they l

Re: [PHP-WIN] absolute include files

2003-06-14 Thread DvDmanDT
Assuming it's not a downloaded script that is... "Dash McElroy" <[EMAIL PROTECTED]> skrev i meddelandet news:[EMAIL PROTECTED] > daz, > > This should be easy enough. First, have you checked to see if > register_globals is on or off on your local machine? It defaults to off, > so $DOCUMENT_ROOT woul

Re: [PHP-WIN] absolute include files

2003-06-14 Thread Dash McElroy
daz, This should be easy enough. First, have you checked to see if register_globals is on or off on your local machine? It defaults to off, so $DOCUMENT_ROOT would become $_SERVER['DOCUMENT_ROOT']. Check a phpinfo() screen and see what variables are different between your host and your local box.

[PHP-WIN] absolute include files

2003-06-14 Thread dj dust
hiya I've been tearing my hair out for 2 days now trying to get this to work and I'm sure the answer has gotta be pretty simple... I'm using PHP for the first time and have got some pages uploaded to my live site and they work like a dream - the problem is that they won't work locally using PHPde