On 12 January 2004 13:29, Burhan Khalid wrote:

> Jay Blanchard wrote:
> 
> > [snip]
> > please can somebody help me. I am going nuts.
> > Really I am close to totally freaking out.
> > [/snip]
> > 
> > Sorry to hear that
> > 
> > [snip]
> > In the file page_dentona.class.php the first line says the
> > following: 
> > 
> > require_once('../design/page.class.php');
> > 
> > The following error message comes up:
> > 
> >  Warning: main(../design/page.class.php): failed to open stream: No
> > such file or directory in 
> > 
> D:\dentona_new\classes\_dentonaproject\page_dentona.class.php
> on line 2
> > 
> > Fatal error: main(): Failed opening required
> > '../design/page.class.php' (include_path='.;c:\php4\pear') in
> > 
> D:\dentona_new\classes\_dentonaproject\page_dentona.class.php
> on line 2
> > 
> > What could be the problem. Really I am getting grey hair.
> > Is there ANYTHING in the php.ini file httpd.conf that could cause
> > this? 
> > 
> > [/snip]
> 
> The problem here is that you are using forward slashes ( / )
> when your
> operating system uses back slashes ( \ ) to distinguish directories.

That should not be a problem -- PHP translates for you if necessary.  In
fact, it's probably better to use forward slashes since (a) it's portable
between platforms and (b) you don't have to worry about escaping backslashes
in double quotes.

Cheers!

Mike

---------------------------------------------------------------------
Mike Ford,  Electronic Information Services Adviser,
Learning Support Services, Learning & Information Services,
JG125, James Graham Building, Leeds Metropolitan University,
Beckett Park, LEEDS,  LS6 3QS,  United Kingdom
Email: [EMAIL PROTECTED]
Tel: +44 113 283 2600 extn 4730      Fax:  +44 113 283 3211 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to