Member Avatar

Inline Code Example HereHi, the php code which <html> <body> <?php $fs =fopen("comments.txt",'a'); $jina = $_POST["fname"]; $message = $_POST["message"]; $time = date("d/m/y : H:i:s", time()) ; //limit leght characters //$message = wordwrap($message, 5); fwrite($fs,$message); fwrite($fs, "\n<i>Posted By </i> ".$jina." <i>on </i>"); fwrite($fs, $time); fwrite($fs, "<hr />"); $fs= fopen("comments.txt", 'r'); while (!feof($fs)) { echo fgets($fs)."<br />"; } fclose($fs); /*<html> <body onLoad="location.href='#chini'"> //<a name="chini"> </a> </body> </html> */ ?> </body> </html> writes the contents to the txt file, but the problem is when I click refresh button it writes the data as many times as I refresh the page. how can I …

Member Avatar
+0 forum 1
Member Avatar

The thread that asks for programs worth downloading has provided me (and I'm sure others) with excellent sources for improving their computer experience. But what about those programs you have downloaded that turned out to be tragic blunders--messing up your computer and giving you all sorts of problems? We could help members of our community (and those who just peek into DaniWeb without registering)if we were to compile a collection of programs that messed us up and warn others to beware of them. Tell us the program/s to avoid and what undesireable affects it/they caused.

Member Avatar
+0 forum 1
Member Avatar

I am working in mioot application ,all windows version email send to inbox,Expect windows vista .please give me the tips to avoid send an email to [B]SPAM ..[/B]

+0 forum 0

The End.