Go Back   SitePoint Forums > Forum Index > Program Your Site > PHP
Newsletter FAQ Members List Calendar Mark Forums Read

New to SitePoint Forums? Register here for free!

SitePoint Sponsor
 
Reply
 
Thread Tools Display Modes
Old Oct 25, 2005, 07:39   #1
WebDevGuy
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?
WebDevGuy is offline   Reply With Quote
Old Oct 25, 2005, 07:42   #2
Scheisskopf
SitePoint Evangelist
 
Scheisskopf's Avatar
 
Join Date: Nov 2004
Location: Southampton, UK
Posts: 540
Doesn't matter.
Scheisskopf is offline   Reply With Quote
Old Oct 25, 2005, 09:24   #3
Kendothpro
SitePoint Addict
 
Kendothpro's Avatar
 
Join Date: Sep 2005
Posts: 210
it does matter actually, the reference should be from index.php
Kendothpro is offline   Reply With Quote
Old Oct 25, 2005, 09:30   #4
Scheisskopf
SitePoint Evangelist
 
Scheisskopf's Avatar
 
Join Date: Nov 2004
Location: Southampton, UK
Posts: 540
No actually, it doesn't matter. You are a *****.
Scheisskopf is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread | Next Thread »

Thread Tools
Display Modes

 
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Sponsored Links
 
Forum Jump


All times are GMT -7. The time now is 20:31.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Copyright 1998-2009, SitePoint Pty Ltd. All Rights Reserved