I'm developing a quote of the day website and using this in my index.php to redirect the user to a url specific to the current day:
<?php header('Location: /'.date("z")); ?>
That points the browser to a URL like this:
http://domain.com/221 (where 221 is the day of the year)
But I obviously don't want to create 365 different folders for all of these days... so how do I do it?
Can I create a file like http://domain.com/quote.php?day=221 that masks to http://domain.com/221
Help!... and THANKS for your help.