[PHP] Trim a string

2001-05-06 Thread Kyle Mathews
Hello: I have a signup form that asks for a website address. I don't need them to put in the http://, but I'm thinking that some will try anyway. Is there a way to check for this and remove it when the user submits the form? Thanks, Kyle [EMAIL PROTECTED] http://www.thedip.net -- PHP

RE: [PHP] Trim a string

2001-05-06 Thread Jack Dempsey
-Original Message- From: Kyle Mathews [mailto:[EMAIL PROTECTED]] Sent: Sunday, May 06, 2001 4:46 PM To: [EMAIL PROTECTED] Subject: [PHP] Trim a string Hello: I have a signup form that asks for a website address. I don't need them to put in the http://, but I'm thinking that some will try

RE: [PHP] Trim a string

2001-05-06 Thread Jason Lotito
-Original Message- From: Kyle Mathews [mailto:[EMAIL PROTECTED]] Sent: Sunday, May 06, 2001 4:46 PM To: [EMAIL PROTECTED] Subject: [PHP] Trim a string Hello: I have a signup form that asks for a website address. I don't need them to put in the http://, but I'm thinking

Re: [PHP] Trim a string

2001-05-06 Thread Kyle Mathews
ll slice off and store the text after the http:// you'll find lots of different ways to do this...whatever suits you, go for it... -jack -Original Message- From: Kyle Mathews [mailto:[EMAIL PROTECTED]] Sent: Sunday, May 06, 2001 4:46 PM To: [EMAIL PROTECTED] Subject: [PHP] Trim