| Welcome to WebmasterWorld Guest from 184.108.40.206 |
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
|Become a Pro Member|
|Image include script|
Hung up on home page syntax
|King of Bling|
| 3:48 pm on Jul 6, 2007 (gmt 0)|
I am using a simple script to call images based on location...
but having a hard time when it comes to the index/root/home page as it confuses with all other directories index page.
Is there an easy solution for the home page?
| 3:56 pm on Jul 6, 2007 (gmt 0)|
I'm not exactly sure if this is helpful but a friend showed me a better way to access relative paths in PHP. This is how I use it for relative includes...
|include realpath(dirname(__FILE__) . "/../../index.php"); |
All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved