Pls i need code to post ramdom tex 4 30 days
Started on the old forum in January 2011 · view the original in the archive · old links redirect here
wrong forum, moved to coding forum
Advertise your mobile site for FREE with AdTwirl
random tex for 30 days in html:
<html>
<head>
<title>Status code: 404</title>
</head>
<body>
ramdom tex 4 30 days
</body>
</html>
😀
Added after 6 minutes:
In javascript:
<script type="text/javascript">
<!--
var day = getDate()
if (day==1){
document.write("Random text 1")
}
if (day==2){
document.write("Random text 2")
}
if (day==3){
document.write("Random text 3")
}
//-->
</script>
learn base php.
have connected with http://adexchat.com ? Fun up with http://forum.adexchat.com
<?php
$TimeZone="8"; ////Change the TimeZone accordingly!
$New_Time = time() + ($TimeZone * 60 * 60);
$show_date=date("D dS F, Y",$New_Time);
$show_time=date("H:i",$New_Time);
$Hour=date("G",$New_Time);
function send_message()
{
$date = date("d");
require_once("day_messages/".$date.".txt");
}
///////////////////////////////////////
// Add Hour //
///////////////////////////////////////
if ($Hour <= 4) {
echo send_message();
}
else if ($Hour <= 11) {
echo send_message();
}
else if ($Hour <= 12) {
echo send_message();
}
else if ($Hour <= 17) {
echo send_message();
}
else if ($Hour <= 23) {
echo send_message();
}
?>
function send_message() { $date = date("d"); require_once("day_messages/$date.txt"); }
echo ""; echo send_message(); echo "";
Make text files like
1 to 31
Just add
day 1 Hi users welcome to our site
day 1 is like
1.txt
Simple ?
Visit: Chat4u.mobi - The New Lay Of being a site of your dreams! Visit: WapMasterz Coming Back Soon!
SCRIPTS FOR SALE BY SUBZERO Chat4u Script : coding-talk.com/f28/chat4u-mobi-script-only-150-a-17677/ - > Best Script for your site no other can be hacked by sql or uploaders. FileShare Script : coding-talk.com/f28/file-wap-share-6596/ -> Uploader you will never regret buying yeah it mite be old now but it still seems to own others... _______…
oh, i didnt knw dat it has bin posted here, i wil try it n gv feed back. tanks
Added after 39 minutes:
Wen i copied it to my site, dis is wat appear on site function send_message (){$date = date("d") ;require_once("day_ messages/$date.txt");} echo " ";echo send_message() ;echo " ";
i dnt knw, or is d problem frm me?