Results 1 to 3 of 3
Thread: htaccess masking question
Aug 10, 2011, 19:42 #1
- Join Date
- Nov 2008
- 0 Post(s)
- 0 Thread(s)
htaccess masking question
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")); ?>
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.