![]() |
|
|
|
Thread Tools | Display Modes |
|
|
|
|
#1 |
|
Programmer
Join Date: Jun 2009
Posts: 32
Rep Power: 0
![]() |
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. |
|
|
|
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
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 |