|
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]
|