Chris wrote:
> 
> > I think you misunderstood.  I have lots of file with things like
> > 
> > require "admin.php3"
> > 
> > But there is no admin.php3 anywhere.  There is however a file
> > admin.php. Since this works on the old server then something on
> > that system is translating a request for a .php3 file to .php I'm
> > guessing. Apache or php but I don't know which.
> 
> It will be apache.

If the line quoted above is exactly as it appears in the PHP script, then it 
will definitely *not* be Apache. A require with just a filename like that goes 
straight to the file system, with nary even a hint of a thought  of involving 
Apache.  So the admin.php3 file must exist *somewhere* in the file system.

As someone else suggested, I think your best bet is to examine the include_path 
setting in php.ini (via a phpinfo() script if necessary).

Cheers!

Mike

---------------------------------------------------------------------
Mike Ford,  Electronic Information Services Adviser,
JG125, The Headingley Library,
James Graham Building, Leeds Metropolitan University,
Headingley Campus, LEEDS,  LS6 3QS,  United Kingdom
Email: [EMAIL PROTECTED]
Tel: +44 113 812 4730          Fax:  +44 113 812 3211 


To view the terms under which this email is distributed, please go to 
http://disclaimer.leedsmet.ac.uk/email.htm

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

Reply via email to