|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
AT&T devCentral & BlackBerry(r) Webcast Series: BlackBerry and GPS -Build Location Awareness into your BlackBerry Applications, July 10th-1:00PM EST. Register Today!
|
|
#1
|
|||
|
|||
|
Problem with include
I have the following directory structure.
htdocs/ dir1/ c.php dir2/ a.php b.php How do I include c.php in a.php. I have tried include '../dir1/c.php' . It's generating an error "Failed to opening ........ for inlusion (include_path=';c:phppear') in ...... Thanks. |
|
#2
|
|||
|
|||
|
RE: Problem with include
give the full path or uri to the file and it will work..
|
|
#3
|
|||
|
|||
|
RE: Problem with include
include path should be with a dot:
include_path='.;c:phppear' then, relative paths should work... |
![]() |
| Viewing: Codewalkers Forums > PHP Related > PHP Coding > Problem with include |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|
|
|