Bob92404 Posted August 31, 2023 Share Posted August 31, 2023 (edited) I am a website developer and I have employed reading the $_SERVER['URI'] to determine what the logo of the website is and the landing page. I've done this for a site that sells numerous products. I'm know I'm not the first one to do this. That seems to be the easiest way I know of doing it. The problem is that I'm using a template that is encrypted that I can't access. If I can get the template designer to allow me to put a header in there I can solve the problem. But if I can't, what are some other ideas of a PHP script that can go into the style sheet and change these two graphic variables? That's where both of these are coded. I can use the PHP Echo command I believe and put it inline. But if I can't do this is .htaccess a possibility? I know that's off topic for this group but I'm just asking. Thank you in advance and looking for some great suggestions. Edited August 31, 2023 by Bob92404 Typos Quote Link to comment https://forums.phpfreaks.com/topic/317234-script-to-change-website-logo-and-landing-page/ Share on other sites More sharing options...
ginerjm Posted August 31, 2023 Share Posted August 31, 2023 (edited) Why is your goal to alter the style sheet and not just php to alter the html that is displaying these items? Or - your index page could do a quick decision for you and load a unique page based on that URI value which has the desired items in it. Edited August 31, 2023 by ginerjm Quote Link to comment https://forums.phpfreaks.com/topic/317234-script-to-change-website-logo-and-landing-page/#findComment-1611506 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.