Reply to URL character check

Your name:

Reply:


Posted by hendry on 12/08/05 03:46

I am looking for a function that checks there isn't non-valid URL
characters in some input:

http://www.blooberry.com/indexdot/html/topics/urlencoding.htm

Not sure what happened to the % character here.

I am having trouble crafting the regular expression as of course:

if (preg_match("/[^a-zA-Z0-9$-_.+!*'(),]/", $uri))

doesn't work and no end of escaping seems to work.

[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

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