Reply to Re: Relative path in require_once

Your name:

Reply:


Posted by C. (http://symcbean.blogspot.com/) on 01/22/08 09:08

On 22 Jan, 07:29, Zeba <coolz...@gmail.com> wrote:
> Hi !
>
> I have been given a php codebase. For now I have installed php plugin
> into my eclipse so that I can work with my java files at the same
> time.
>
> My problem is this:
> All the php files in the codebase are given in the following pattern:
>
> require_once ('cg_ajax/BaseAjax.php');
>
> Eclipse gives me a warning that the include filename doesn't exist. If
> I change it to
>
> require_once ('BaseAjax.php');
>
> the warning goes. How can I correct this ? Do I have to make some
> change to my php.ini file, or to the eclipse settings, or some other
> config changes ( since I believe the codebase is working
> elsewhere :) ) The warning is there all over so i can't change the
> path given in the require !!

Change include_path in php.ini to point to the directory containing
cg_ajax (or add it)

C.

[Back to original 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

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