how would I do this?
Posted: Fri Mar 19, 2004 4:21 am
This is probably easy but I have no idea how to do it.
I want to be able to use a URL string, e.g. http://www.mysite.com/index.php?cssfile=customer1
it'll then somehow find a CSS file called "customer1.css" and incorporate it into the page, this'll be used for several customers who'll just be given different urls ending in (e.g.) cssfile=customer2 or cssfile=customer3 etc. I'll be manually uploading the relevant CSS files in the same directory so I just need to find some way of incorporating them based on the URL.
Any help is appreciated
Thanks
I want to be able to use a URL string, e.g. http://www.mysite.com/index.php?cssfile=customer1
it'll then somehow find a CSS file called "customer1.css" and incorporate it into the page, this'll be used for several customers who'll just be given different urls ending in (e.g.) cssfile=customer2 or cssfile=customer3 etc. I'll be manually uploading the relevant CSS files in the same directory so I just need to find some way of incorporating them based on the URL.
Any help is appreciated
Thanks