[phorm] Re: URL Validation : How?

  • From: Phorm Support <support@xxxxxxxxx>
  • To: Rick working on the Africa Database Project <phorm@xxxxxxxxxxxxx>
  • Date: Sun, 28 Sep 2003 17:12:04 -0400

Actually, hold on a bit. I put one together and am testing it.

-- 
Alan Little
Phorm Support
http://www.phorm.com/

On Sunday, September 28, 2003, 4:58:25 PM, you wrote:


> On 27 Sep 2003 at 7:40, Phorm Support wrote:
>> Clear enough, just hadn't had a chance to formulate an answer. I
>> hadn't thought about the parse_url function. That would seem to suit
>> your purposes; are you just looking for a way to incorporate it into
>> Phorm?

> Yes, we would like to validate URL input in the same way we
> validate email addresses.

> Of course, parse_url does not validate -- but it can be used
> to split input into components that can be validated for
> correct syntax, rejected if present, rejected if not present,
> etc.

>> Or you could find a friendly PHP programmer, give him/her the plugin
>> programmer docs and ask them to do it.

> Unfortunately, that is not an option, but I will have a crack
> at it myself, using function MailChek as a model. Don't know
> much about PHP, but it looks very similar to the C I was raised
> on years ago.


> -------------------------------------------------
> You are receiving this message because you are subscribed to the Phorm 
> mailing list. To send messages to the mailing list, simply send email to 
> phorm@xxxxxxxxxxxxx from the address you have
> subscribed. You may unsubscribe from the list by sending email to 
> phorm-request@xxxxxxxxxxxxx with 'unsubscribe' in the SUBJECT field.

-------------------------------------------------
You are receiving this message because you are subscribed to the Phorm mailing 
list. To send messages to the mailing list, simply send email to 
phorm@xxxxxxxxxxxxx from the address you have subscribed. You may unsubscribe 
from the list by sending email to phorm-request@xxxxxxxxxxxxx with 
'unsubscribe' in the SUBJECT field.

Other related posts: