[PHP] Themes, pictures directory

2005-08-25 Thread Martin ZvarĂ­k
Hi, I have a website, which uses themes. The web tree looks like this: * webroot o *themes* + default # images + red design # images o *index.php* Let's say I choose "red design" theme. All the pict

Re: [PHP] Themes, pictures directory

2005-08-25 Thread Raz
Martin Using Apache? Check out http://httpd.apache.org/docs/1.3/misc/rewriteguide.html - all about rewriting URLs...good luck! HTH Raz -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Themes, pictures directory

2005-08-25 Thread John Ellingsworth
Martin You can use this, modified to fit your specific needs: Call this image.php Call it in a webpage using this: img src=image.php Of course, you will need to figure out how to specify which image you want loaded as $imagefile - be it a database, random selection, etc. -- Thanks, John