You are here: Re: [PHP] security/sql issues with php « PHP « IT news, forums, messages
Re: [PHP] security/sql issues with php

Posted by Chris Shiflett on 09/22/05 05:15

bruce wrote:
> since i assume the '%x' chars traslate into something other than straight text,
> i assume that the html function you mention strips out these chars, or it
> returns a true/false if the data is valid. is this in essence what you're
> talking about?

The %XX characters are URL encoded. They are regular characters in most
cases, but they are characters that have a special meaning in the
context of a URL. The encoding preserves them.

The htmlentities() function (that has been mentioned) is the same thing
but for the context of HTML. It does nothing to determine whether data
is valid (this is called filtering).

Hope that helps.

Chris

--
Chris Shiflett
Brain Bulb, The PHP Consultancy
http://brainbulb.com/

 

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

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