Justtechjobs.com Find a programming school near you






Online Campus Both


php-windows | 2002071

RE: [PHP-WIN] case-sensitive From: Peter (php <email protected>)
Date: 07/01/02

<snip>

include("config.php");
does not work;
</snip>

where is config.php in relation to the document that is calling it?

eg say your using http://www.blah.com/foo.php and that needs the config.php file..

if you use just include("config.php"); then config.php must be in the same place as foo.php

if config.php is in say config dir .. then use include("config/config.php");

i use win 2k and use include with no probs all the time..

the thing to remember is you have to make the include point to where abouts the file is in your web tree.