[PHP-WIN] includes

2001-08-07 Thread William E. T.
I'm running apache on win98 as a test platform for a site, but whenever I do includes it says it can't read the file. I know the file is there, as apache lists it in the director listing. The exact error I get is Warning: Failed opening 'main.inc' for inclusion (include_path='..') in c:\program f

Re: [PHP-WIN] includes

2001-08-07 Thread William E. T.
THat works. Thanks. I was clueless as to why it wouldn't work. Could you explain why the ./ is necessary? I'm still a newbie, and I'm just curious so that I don't repeat the same mistake in other areas. Thanks William Angie Tollerson wrote: > try include("./main.

[PHP-WIN] sessions

2001-08-09 Thread William E. T.
When I try to use sessions I get Warning: open(/tmp\sess_491fb10e460882c941d2659b045c2549, O_RDWR) failed: m (2) in c:\program files\apache group\apache\htdocs\site3\index.php on line 2 at the top of the files and at the bottom I get Warning: open(/tmp\sess_491fb10e460882c941d2659b045c2549, O_R