Hi,

there is NO way of hiding the html from the user.
the browser can't output otherwise. You can only
try to make it difficult to get the source.

Where does the " 's " problem come in? More detail plz.
Is it a part of a text? Then try htmlspecialchars() or
htmlentities().

Johannes


""Dddogbruce (@home.com)"" <[EMAIL PROTECTED]> schrieb im Newsbeitrag
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> 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]
>



-- 
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