|
|||||||
New to SitePoint Forums? Register here for free!
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
SitePoint Wizard
![]() ![]() ![]() ![]() ![]() ![]() Join Date: Dec 2004
Location: USA
Posts: 1,408
|
page1.php includes page2.php that references page3.php - getting references strait
here's the directory structure:
--webroot --webroot/index.php --util/database/connection.php --util/table_gen.php Index.php includes table_gen.php. Table_gen.php includes database/connection.php. Should the file path reference to connection.php be from table_gen.php or index.php? |
|
|
|
|
|
#2 |
|
SitePoint Evangelist
![]() ![]() ![]() ![]() Join Date: Nov 2004
Location: Southampton, UK
Posts: 540
|
Doesn't matter.
|
|
|
|
|
|
#3 |
|
SitePoint Addict
![]() ![]() ![]() Join Date: Sep 2005
Posts: 210
|
it does matter actually, the reference should be from index.php
|
|
|
|
|
|
#4 |
|
SitePoint Evangelist
![]() ![]() ![]() ![]() Join Date: Nov 2004
Location: Southampton, UK
Posts: 540
|
No actually, it doesn't matter. You are a *****.
|
|
|
|
![]() |
| Bookmarks |
«
Previous Thread
|
Next Thread
»
| Thread Tools | |
| Display Modes | |
|
|
|
All times are GMT -7. The time now is 20:31.









Linear Mode
