in index.php from subdomain1 i require a.php from root...and in a.php i require b.php...
how can i include a.php without the up-level going model (./../../../) and without the http:// form
Search found 5 matches
- Mon Jun 18, 2007 5:52 am
- Forum: PHP - Code
- Topic: php relative path in require or include functions
- Replies: 10
- Views: 721
- Mon Jun 18, 2007 5:43 am
- Forum: PHP - Code
- Topic: php relative path in require or include functions
- Replies: 10
- Views: 721
- Mon Jun 18, 2007 5:39 am
- Forum: PHP - Code
- Topic: php relative path in require or include functions
- Replies: 10
- Views: 721
it will not work
i have tried ...but DOCUMENT_ROOT will take a path from the subdomain...and i want to acces the root/include
- Mon Jun 18, 2007 5:31 am
- Forum: PHP - Code
- Topic: php relative path in require or include functions
- Replies: 10
- Views: 721
this is the structure of my website / include --------- a.php ---------- b.php subdomains ---------- subdomain1 ---------- subdomain2 when i am executing scripts from subdomain1 let's say index.php i include in index.php something like this include(http://site.ro/include.a.php)..i use the http form ...
- Mon Jun 18, 2007 5:13 am
- Forum: PHP - Code
- Topic: php relative path in require or include functions
- Replies: 10
- Views: 721
php relative path in require or include functions
can anyone help me??? I have a file named index.php and in this file I include a file from /include folder named a.php! in the /include directory i have a file named b.php! and when i try to include this file from a.php like require ('./include/b.php') it will not include it. The problem is that i h...