You are here: Relative path in require_once « PHP Programming Language « IT news, forums, messages
Relative path in require_once

Posted by Zeba on 01/22/08 07:29

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 !!


Pls help !!!!!
Thanks !
Zeba

 

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

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