You are here: Re: [PHP] Reading posted form variables « PHP « IT news, forums, messages
Re: [PHP] Reading posted form variables

Posted by Jochem Maas on 03/16/05 12:24

Simon Allison wrote:
> Hey,
>

.....

>
>
>
> Obviously this has something to do with the quotation marks in the a href
> statement, however I am new to php and my attempts using addslashes and
> stripslashes have failed. I would be most grateful if anyone could help me.
>

addslashes() and stripslashes() won't help completely (although you may still need to
escape quotes - depending on the way you call the following funcs...)

- take a look at htmlentities() and htmlspecialchars(), basically you need to encode
you 'msg' so that any HTML contained in the message is not rendered by the browser.

>
>
> Cheers,
>
> Simon
>
>
>
>

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация