DotNetGnat
Programmer
Guys,
I have the following folder structure(shown here only partially for ease of understanding) for login application on my web page.
alright...now...in the login.php page i have displayed the logo using the following code and it works fine.
and on the admin.php page, i did the following in one section of the code.
but now the logo does not get displayed and it points to and obviously thats not the right path...how can I fix this to show the right path to the images folder...
thanks in adavance.
-DNG
I have the following folder structure(shown here only partially for ease of understanding) for login application on my web page.
Code:
Login
|- Admin
|-admin.php
|- Include
|-db.php
|- Images
|-logo.png
|-login.php
alright...now...in the login.php page i have displayed the logo using the following code and it works fine.
Code:
<img src='images/logo.png'>
and on the admin.php page, i did the following in one section of the code.
Code:
<?php
include("../login.php");
?>
but now the logo does not get displayed and it points to and obviously thats not the right path...how can I fix this to show the right path to the images folder...
thanks in adavance.
-DNG