You are here: Re: script to generate an external link « PHP Programming Language « IT news, forums, messages
Re: script to generate an external link

Posted by jsd219 on 05/29/07 14:49

On May 28, 5:13 pm, dave <dave.wa...@gmail.com> wrote:
> > Well, i just added the http:// to the address and everything worked,
> > so i think what i will do is hardcode in the http:// so the client
> > only has to putwww.xxx.xxx
>
> Thats all fine to take the easy way, but clients WILL enterhttp://www.example.com.
>
> Unless you have a select box/checkbox/radio buttons etc where you
> write the values out, expect users to enter invalid data
>
> If you expect data in a specific format, you need to validate it (or
> as the previous poster explained, strip the http:// if it exists)

I really appreciate all the help, thank you all very much

God bless
jason

 

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

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