Could you enlighten me on the advantages or disadvantages and dangers of
turning-on both magic_quotes_gpc and magic_quotes_runtime?
Thanks,
Floyd Piedad
Plutarck wrote:
> Check magic_quotes_runtime in your ini. If it's on, turn it off.
>
> Use the htmlspecialchars() family of functions. They w
Thanks! :)
--
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]
Check magic_quotes_runtime in your ini. If it's on, turn it off.
Use the htmlspecialchars() family of functions. They will "hide" HTML in
that the browser will not attempt to parse. so "" will be displayed as
"", and not make all the text turn to bold.
--
Plutarck
Should be working on something
use srtipslashes() before writing it to the
file.
Johannes
""Dddogbruce (@home.com)"" <[EMAIL PROTECTED]> schrieb im Newsbeitrag
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> > there is NO way of hiding the html from the user.
> > the browser can't output otherwise. You can only
> > try to make
I want to hide the HTML from the browser. If someone adds some
malicious
code, or even I don't want it to underline.
Could you rephrase this? You want to "hide" the HTML from the browser?
If the browser doesn't see any HTML, good luck getting a web page.
If you're trying to hide the HTML from
> 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.
I want to hide the HTML from the browser. If someone adds some malicious
code, or even I don't want it to underline.
> Where does the " 's " prob
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
""Dddogbru
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.
$subject : mailto:$email\">$name $submition "
8 matches
Mail list logo