David,

  This is what my php.ini file looks like and I don't seem to have any
.htaccess files.  Could it be something in the httpd.conf file that’s
pointing to an invalid file/directory?

; Automatically add files before or after any PHP document.
auto_prepend_file =
auto_append_file =

Matt


> -----Original Message-----
> From: David Nicholson [mailto:[EMAIL PROTECTED]
> Sent: Friday, August 01, 2003 7:13 PM
> To: Matt Giddings
> Cc: [EMAIL PROTECTED]
> Subject: Re: [PHP] weird php error
> 
> Hello,
> 
> This is a reply to an e-mail that you wrote on Sat, 2 Aug 2003 at
> 00:10, lines prefixed by '>' were originally written by you.
> > Hello,
> >   I'm getting a weird warning message from a php script that I'm
> > working
> > on.  Right now the script does not contain any include or require
> > statements and is basically a very simple straight forward script.
> 
> > But
> > when I try to execute via the browser I get the following error:
> > Warning: Failed opening '/var/www/main/htdocs/login.php' for
> inclusion
> > (include_path='.:/usr/share/pear') in Unknown on line 0
> > Any clues?  I can send a copy of the script if anybody would
> like.
> 
> You have your auto_prepend_file value set to a file that does not
> exist in your php.ini file or a .htaccess file.  I just tested it and
> it gives this exact error.
> 
> HTH
> 
> David.
> 
> --
> phpmachine :: The quick and easy to use service providing you with
> professionally developed PHP scripts :: http://www.phpmachine.com/
> 
>           Professional Web Development by David Nicholson
>                     http://www.djnicholson.com/
> 
>     QuizSender.com - How well do your friends actually know you?
>                      http://www.quizsender.com/
>                     (developed entirely in PHP)
> 
> 
> ---
> Incoming mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.504 / Virus Database: 302 - Release Date: 7/24/2003
> 

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.504 / Virus Database: 302 - Release Date: 7/24/2003
 


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

Reply via email to