You are here: Re: Shoutbox , ridding SPAM, adding features, Syntax, explanations of my shoutbox code, help on additional code « PHP Programming Language « IT news, forums, messages
Re: Shoutbox , ridding SPAM, adding features, Syntax, explanations of my shoutbox code, help on additional code

Posted by ire.kevin on 07/27/06 00:59

Ok this works :D next problem!!

[code]
if($submit)
{
putenv('TZ=America/New_York');
$time=date("F j, Y, g:i a", time());

$count = substr_count($message, 'href');
if ($count < 2) {
$result=MYSQL_QUERY("INSERT INTO shoutbox
(id,name,message,time)".
"VALUES ('NULL','$name', '$message','$time')");
}

}
[/code]

Maybe you can help me with my other big issue. When my user submits,
then say wants to reload the page to see if someone else wrote
anything, you get the pop-up box asking "do you want to submit this
data again?". Is there a way around that? This stems from my question
#3.

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация