| Welcome to WebmasterWorld Guest from 184.108.40.206 |
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
|Pubcon Platinum Sponsor 2014|
|Image include script|
Hung up on home page syntax
|King of Bling|
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?
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