Hi there,
Its me again...
Anyway,
I'm working on a website with a header and a footer file.
Now my problem is that the client wants a header logo on everypage my idea is to construct a script in the mainhead.php (header) so when mainpage is loaded it loads the mainlogo.jpg, and when contact is loaded it shows the contactlogo.jpg 🙂
i figured its possible with php to construct something like this
if contact.php is loaded show this.
if main.php is loaded show that.
but i dont know which function or command i should use to check which file is loaded... so what would fit me best? 😕 i looked on php.net but couldnt realy find what im looking for (im bad at searching things) but im not sure what im looking for, which command or what its called... so thats a hard search anyway
If you could give me a hand :evilgrin:
Many thanks in advance