You are here: Re: when does require() not require « PHP Programming Language « IT news, forums, messages
Re: when does require() not require

Posted by Dikkie Dik on 10/19/38 11:33

Matthew Crouch wrote:
> I'm building a site hosted on Yahoo, and apparently they've got it set
> so that nothing -- not even fatal errors -- are displayed.
>
> I also have an extremely complicated line of code:
> require_once('../head.inc');
>
> that is failing. works fine on my local copy (PHP5) but not prod server
> (4.3.11). Is there something quirky about paths in Yahoo web hosting?
Is the "requiring" line in another file that is included from another
directory? if so, the line may not select the file you think it selects.

See http://nl3.php.net/manual/en/function.include.php

Best regards

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация