Hi.

Considering PHP takes " 's " into consideration as part of the script,
and adds a slash infront of them I need a way to overcome this.  And
second of all, I need a way to prevent HTML code from being seen, none
the less used on the output.

<?
$space = " ";
if( $submitfrm )
 {
echo "your entry will be added shortly.";
$submitmsg = file( "gb.txt" );
$fp = fopen( "gb.txt", 'a' );
rewind($fp);
fwrite( $fp, "<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\">
<tr> <td width=\"236\"><p><font size=\"1\"><b>$subject</b> :  <a
href=\"mailto:$email\">$name</a></td> </tr> <tr> <td width=\"236\"><font
size=\"1\"><p>$submition</td> </tr> </table><br>" );
fclose( $fp );
 }
else
 {
include ( "guestbooks.php" );
 }
?>

All help's welcome, since I need it..  :P

-Owen


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to