php-windows | 2002071
Date: 07/01/02
- Next message: Manuel Lemos: "[PHP-WIN] New book: PHP Programming for Windows"
- Previous message: Chris Schmidt: "Re: [PHP-WIN] case-sensitive"
- In reply to: Chris Schmidt: "Re: [PHP-WIN] case-sensitive"
- Next in thread: Scott Hurring: "Re: [PHP-WIN] case-sensitive"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
<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.
- Next message: Manuel Lemos: "[PHP-WIN] New book: PHP Programming for Windows"
- Previous message: Chris Schmidt: "Re: [PHP-WIN] case-sensitive"
- In reply to: Chris Schmidt: "Re: [PHP-WIN] case-sensitive"
- Next in thread: Scott Hurring: "Re: [PHP-WIN] case-sensitive"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

