View Full Version : please suggest a GOOD commenting script
sakib000
05-15-2007, 06:07 PM
Hello
I need a commenting script that is worth to go for. please suggest something good
boogyman
05-15-2007, 06:19 PM
comments are done by inserting something into the script so that its not used by the interpreter.
/* some comment */
or
# some php comment
or
/* some multiple
line comment
*/
sakib000
05-15-2007, 06:23 PM
comments are done by inserting something into the script so that its not used by the interpreter.
/* some comment */
or
# some php comment
or
/* some multiple
line comment
*/
thanks for reply but I m not this much noob, i meant a script that i can use on my php pages so that visitors can leave comment
lol. Try writing to a file and then reading it, or else putting the info in MySQL.
<?php
$NewFile = 'MyNewFile.php';
$handle = fopen($NewFile, 'w');
$info = "<?php /*the info you want, such as a var */ ?>";
fwrite ($handle, $info);
fclose ($handle);
?>
Hope that helps you a bit.
boogyman
05-15-2007, 06:40 PM
are you talking about just a comment form that is sent to you / someone via email? or are you talking about storing it and retrieving it for some other purpose?
djr33
05-16-2007, 01:16 AM
Look through this thread (most of the best info is on the second page or so).
http://www.dynamicdrive.com/forums/showthread.php?t=9940
Powered by vBulletin® Version 4.2.2 Copyright © 2021 vBulletin Solutions, Inc. All rights reserved.