RE: [PHP-GENERAL] Validate URL?

From: Date: Fri, 19 May 2000 11:45:04 +0000
Subject: RE: [PHP-GENERAL] Validate URL?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-190@lists.php.net to get a copy of this message
fsocketopen works very well and has a timeout clause on it. > -----Original Message----- > From: Rafael Ernesto Bastidas L. [mailto:reb@wd3.com] > Sent: Saturday, May 20, 2000 00:43 > To: Php-Dev > Subject: RE: [PHP-GENERAL] Validate URL? > > > isn't there a setting to time-out in less time? Cause' Im verifying 15 url > in a form. > > Thanks in advance > > Rafael > > -----Original Message----- > From: Leon Mergen [mailto:leon@solatis.com] > Sent: Friday, May 19, 2000 7:24 AM > To: Rafael Ernesto Bastidas L. > Subject: Re: [PHP-GENERAL] Validate URL? > > > verifying it at the web server... > > my server would have to connect to that site... and if the site doesn't > exist, it takes 60 seconds to timeout.... > > Carpe diem, > > - Leon (ICQ # 55677353) > -----Original Message----- > From: Rafael Ernesto Bastidas L. <reb@wd3.com> > To: Leon Mergen <leon@solatis.com> > Date: Friday, May 19, 2000 1:26 PM > Subject: RE: [PHP-GENERAL] Validate URL? > > > >What will take too long? coding it or verifying it at the web server? > > > >Rafael > > > >-----Original Message----- > >From: Leon Mergen [mailto:leon@solatis.com] > >Sent: Friday, May 19, 2000 7:04 AM > >To: Rafael Ernesto Bastidas L. > >Subject: Re: [PHP-GENERAL] Validate URL? > > > > > >I think that will take too long.... > > > >Carpe diem, > > > >- Leon (ICQ # 55677353) > >-----Original Message----- > >From: Rafael Ernesto Bastidas L. <reb@wd3.com> > >To: Leon Mergen <leon@solatis.com> > >Date: Friday, May 19, 2000 1:00 PM > >Subject: RE: [PHP-GENERAL] Validate URL? > > > > > >>You could open a socket to find ot if the address exists. > >> > >>Hope this helps > >> > >>Rafael > >> > >>-----Original Message----- > >>From: Leon Mergen [mailto:leon@solatis.com] > >>Sent: Friday, May 19, 2000 5:14 AM > >>To: php-general@lists.php.net > >>Subject: [PHP-GENERAL] Validate URL? > >> > >> > >>Hello, > >> > >>Is there any way to validate if an URL's syntax is correct? Just like > >>validating email? > >> > >>Carpe diem, > >> > >>- Leon (ICQ # 55677353) > > > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net >

« previous php.general (#190) next »