I read the entire post and I loved the way you wrote it. I am just learning how to even set up PHP and have been told PHP can help me using a variable to then pull the correct images by directing the pull from the appropriate directory...
I am not searching properly as I know this has to be a basic coding for a simple result...
I would like to have the index.html or index.php pull the header image, the physical location image and 4 ad images for the page based on the NASID of the visiting client device.
Concept is this:
define the $URL as website
the use the NASID to indicate the folder Something like
imgsrc = http://"$URL"/images/". NASID . "/header.jpg
imgsrc = http://"$URL"/images/". NASID . "/venue.jpg
imgsrc = http://"$URL"/images/". NASID . "/sponsorad1.jpg
imgsrc = http://"$URL"/images/". NASID . "/sponsorad4.jpg
If I can learn the variables and i should be able to get the syntax figured out based on posts. However, it has not been so easy. As the page is index.html so I having trouble grasping the simplest concept, and the phpmanual is great if I wanted to database this... which is not an option at this time.