I posted this before, but no 1 helped me. I need a script which will change the page on each day of the week.
Monday - url.php
Tuesday - url2.php
Wednsday - url3.php
etc.....
Can any one help me plz :D
Printable View
I posted this before, but no 1 helped me. I need a script which will change the page on each day of the week.
Monday - url.php
Tuesday - url2.php
Wednsday - url3.php
etc.....
Can any one help me plz :D
Use a data script combined with ether a header redirect or include... its painfuly simple to do "/
Theres a tutorial somewhere on Pixel2life i read it yesterday
<?
$day = date("l");
header("Location: http://www.mysite.com/days/$day.php");
?>
That should work.. not tested let me test tho right fast
EDIT: Works perfect. It goes to:
Example: (Uppercase)S(lowercase)aturday
So the S is always capital.
Name the files
Monday.php
Tuesday.php
Wednesday.php
Thursday.php
Friday.php
Saturday.php
Sunday.php