Posted by BootNic on 06/18/07 01:05
> dorayme <doraymeRidThis@optusnet.com.au> wrote:
> news: doraymeRidThis-33C704.19215517062007@news-vip.optusnet.com.au
[snip]
> But this does not work on Windows servers. Does anyone know a
> likely other candidate expression that will tell the server to go
> to the level at which I have the site index file and look inside
> a folder called 'includes'? No matter where it appears deep
> inside the website directories?
>
[snip]
Check and see if you have a include path set.
<?php
echo ini_get('include_path');
/* .;K:\PHP\PEAR-1.5.4\pear;J:\apache\include */
?>
The include path I use is J:\apache\include
I put include files in that folder and then use:
<?php include 'my.file' ?>
No matter where the php files are located it always includes my.file
With a little luck this may work for your Windows server
--
BootNic Sunday, June 17, 2007 9:04 PM
Assert your right to make a few mistakes. If people can't accept your
imperfections, that's their fault.
*Dr. David M. Burns*
Navigation:
[Reply to this message]
|