hello friends, i want to know.. how to code a auto refresh.. like.. whenever soembody post shout in lavalair.. it gives a message.. "shout added successfully.. hom link" . but what i want.. i want to remove this note n want user to come on same place after posting the shout.
help abt refresh.
Started on the old forum in December 2009 · view the original in the archive · old links redirect here
use a meta tag to redirect
<meta http-equiv="refresh" content="5;url=where ever u want to redirect to">
this will redirect after 5 seconds
Creator of Epix.Mobi
Keep an Eye on us Big things coming soon!!!! Need something for your site hit me up here http://coding-talk.com/forum/main-forums/marketplace/153110-free-features-for-your-wapsite
Loony wrote: use a meta tag to redirect
<meta http-equiv="refresh" content="5;url=where ever u want to redirect to">this will redirect after 5 seconds
bro, then what if i don want "shout added successfully" page.. whenever users click to post shout. it shot post shout n come back to same page without any delay.
like, when i reply here. it takes me back directly to the topic as i was in topic when i replied.
see the red 5
Change that too 0 or 1
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... _______…
ok thnx zero mate.. how to apply this?? only copy paste the code to the place i want refrsh?
in your headers
Creator of Epix.Mobi
Keep an Eye on us Big things coming soon!!!! Need something for your site hit me up here http://coding-talk.com/forum/main-forums/marketplace/153110-free-features-for-your-wapsite
else if($action=="shout")
{
$shtxt = $_POST["shtxt"];
addonline(getuid_sid($sid),"Roaring","");
$pstyle = gettheme($sid);
echo xhtmlhead("Roar",$pstyle);
echo "<p align=\"center\">";
if(getplusses(getuid_sid($sid))<75)
{
echo "<img src=\"images/notok.gif\" alt=\"X\"/>You should have at least 75 plusses to Roar!";
}else{
$shtxt = $shtxt;
//$uid = getuid_sid($sid);
$shtm = (time() - $timeadjust) + $timeadjust;
$res = mysql_query("INSERT INTO ibwf_shouts SET shout='".$shtxt."', shouter='".$uid."', shtime='".$shtm."'");
if($res)
{
$shts = mysql_fetch_array(mysql_query("SELECT shouts from ibwf_users WHERE id='".$uid."'"));
$shts = $shts[0]+1;
mysql_query("UPDATE ibwf_users SET shouts='".$shts."' WHERE id='".$uid."'");
echo "<img src=\"images/ok.gif\" alt=\"O\"/>Roar added successfully";
}else{
echo "<img src=\"images/notok.gif\" alt=\"X\"/>Database Error";
}
}
echo "<br/><a href=\"121lists121.php?action=shouts&sid=$sid\">Back to Roar Full Version!!</a> ";
echo "<br/><br/><a href=\"index.php?action=main&sid=$sid\"><img src=\"images/home.gif\" alt=\"*\"/>";
echo "Home</a>";
echo "</p>";
echo xhtmlfoot();
}
where i put in this code?
in your headers like this
<doctype html
<head> HERE <title>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... _______…
