Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » PHP Development Tools (PDT) » Include Path does auto complete include() function?(Does Include Path include php files path in include function?)
Include Path does auto complete include() function? [message #985662] Thu, 15 November 2012 16:10
Danial RKH is currently offline Danial RKHFriend
Messages: 2
Registered: November 2012
Junior Member
hi
i search a lot for include path and build path and i understood both of them does same thing for content assists and each directory is in include path we can in see it subdirectory of in "PHP Inculde Path" in PHP Explorer

but i have a question:
I create a project in PHP (with two folder => application and public)
application folder is added in include path. and has a file (index.php) .

in public folder I made a php file (test.php) and when I write this code:
inculde ''

the index.php (that was in application folder) appear and I can select it
after that it changed to
include 'index.php'

but it doesn't useful because real path of index.php is in application/index.php so what does do include path here? (i attached my directory tree
screenshot)
Previous Topic:PHP Parser
Next Topic:Page not found while running PHP in Eclipse 3.0.2 PDT + Zend Debugger
Goto Forum:
  


Current Time: Sat Dec 20 14:39:38 GMT 2014

Powered by FUDForum. Page generated in 0.01710 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software