You are here: Re: Can HTML remember a keyword from 1 page to another? « HTML « IT news, forums, messages
Re: Can HTML remember a keyword from 1 page to another?

Posted by Richard Marx on 01/21/06 00:44

"David Dorward" <dorward@gmail.com> wrote in message
news:1137759118.299567.59010@g14g2000cwa.googlegroups.com...
> Greg N. wrote:
>> <?php $planet = $_GET['planet']; ?>
>> <h1>This planet is <?php echo "$planet"; ?></h1>
>
> GET is tainted and needs to be sanitised before being dumped into the
> page. Currently you are opening up for a cross site scripting attack.
> http://uk.php.net/manual/en/function.htmlspecialchars.php should do the
> job.

Thanks, how would you recommend I change it? I.e. which characters?

 

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

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