Reply to Re: Can HTML remember a keyword from 1 page to another?

Your name:

Reply:


Posted by David Dorward on 01/20/06 14:11

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.

[Back to original 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

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