RE: [PHP] Include Problems

From: Date: Thu, 26 Dec 2002 20:16:48 +0000
Subject: RE: [PHP] Include Problems
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-129378@lists.php.net to get a copy of this message
This has worked. Thanks for your inout and help everybody. -----Original Message----- From: John Nichel [mailto:jnichel@by-tor.com] Sent: Thursday, December 26, 2002 1:13 PM To: Mike Bowers; php-general@lists.php.net Subject: Re: [PHP] Include Problems You can try setting your include path in a .htaccess file in your web root, like this.... php_value include_path ".:/path/to/include/directory" Mike Bowers wrote: > The includes are as follows: > Include("editable/meta.php"); > Include("javascript.php"); > Include("editable/my_header.php"); > > > > -----Original Message----- > From: John Nichel [mailto:jnichel@by-tor.com] > Sent: Thursday, December 26, 2002 12:58 PM > To: Mike Bowers > Cc: php-general@lists.php.net > Subject: Re: [PHP] Include Problems > > > Post the include statements from your header.php file. > > Mike Bowers wrote: > >>Isnt this supposed to be a friendly place where people who are having >>problem with PHP can ask questions without people like u throwing >>insults? >> >> >>-----Original Message----- >>From: info@t-host.com [mailto:info@t-host.com] >>Sent: Thursday, December 26, 2002 12:47 PM >>To: Mike Bowers >>Subject: Re: [PHP] Include Problems >> >> >> >>Learn to quote GAMER >> >>----- Original Message ----- >>From: Mike Bowers <mailto:raptr24@att.net> >>To: php-general@lists.php.net >>Sent: Thursday, December 26, 2002 8:42 PM >>Subject: [PHP] Include Problems >> >>I have a file named header.php stored in the includes folder: Inside >>includes is anohter folder called editable. When I open my page for >>the first time (before it is cached) or after I edit my header file I >>get these errors: >>Warning: Failed opening 'editable/meta.php' for inclusion >>(include_path='') in >>/home/groups/v/vw/vwportal/htdocs/includes/header.php on line 52 >> >>Warning: Failed opening 'javascript.php' for inclusion >>(include_path='') in >>/home/groups/v/vw/vwportal/htdocs/includes/header.php on line 53 >> >> >>Warning: Failed opening 'editable/my_header.php' for inclusion >>(include_path='') in >>/home/groups/v/vw/vwportal/htdocs/includes/header.php on line 56 >> >>Is there any other command I can run iside my header.php file instead >>of include that will print the contents of the includes that the >>header has? >> >>Mike Bowers >>PlanetModz Gaming Network Webmaster >>webmaster@planetmodz.com >>ViperWeb Hosting Server Manager mbowers@viperwebconsulting.com >>raptr24@att.net All outgoing messages scanned for viruses >>using Norton AV 2002 >> >> > > > -- By-Tor.com It's all about the Rush http://www.by-tor.com

« previous php.general (#129378) next »