Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

 
 
Thread Tools Display Modes
Prev Previous Post in Thread   Next Post in Thread Next
Old Jul 6th, 2009, 1:16 PM   #1
ventolt
Programmer
 
Join Date: Jun 2009
Posts: 32
Rep Power: 0 ventolt is on a distinguished road
Define root URL

Hello. I guess you are getting tired of me, but here is another problem:
I've seen somewhere before how some people include a file that is in the main root of the page (where the first web page files are (the ones which user can reach from www.mypage.com)) and include it so you can use the definition to have no errors.

To understand what I mean and why do I ask, here is my situation:
I have and index.php in which I include includes/header.php. In the header.php I have an image which is images/logo.jpg from index.php and ../images/logo.jpg from header.php. Everything would be OK if I just set the URL depending on browser, but in IE8 it doesn't show the image while FF shows it (the URL set is images/logo.jpg). If I change the URL - IE8 will show it and FF won't.
ventolt is offline   Reply With Quote
 

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
how can I define sevral session in my project? saam-developer Java 3 Mar 11th, 2009 2:41 AM
URL and domain identity k.satheesh123 Project Ideas 2 Feb 7th, 2009 11:49 PM
Are #define allowed inside namespaces? aznluvsmc C++ 3 Apr 1st, 2006 7:40 PM
OpenGL Broax C++ 7 Jul 26th, 2005 6:47 PM
define directives....... savij C 5 May 18th, 2005 7:48 AM




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 11:14 AM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC