Do you have a question? Post it now! No Registration Necessary. Now with pictures!
February 22, 2006, 9:46 pm
rate this thread
either one link or multiple links. They may or may not have a protocol
def like http:// or ftp:// prepended.
I would like to parse this file and load these into an array.
I would also like to normalize any links without the protocol def such
as www.foobar.com to a default of http://www.foobar.com .
2. I would like to parse a link such as this:
<a href="http://www.foobar.com target="_blank">Test</a>
and load just the link(http://www.foobar.com ) and proper name (Test)
into 2 separate arrays.
Any help appreciated or a link to an appropriate FAQ would also be
- IvÃ¡n SÃ¡nchez Ortega
February 22, 2006, 10:34 pm
Re: Parsing issues in PHP
Not a FAQ, but you should RTFM:
Iván Sánchez Ortega -i-punto-sanchez--arroba-mirame-punto-net
Los niños vienen de Estardos Unidos, no de París.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
-----END PGP SIGNATURE-----
- » finding first and last char positions in an alphanumeric string
- — Previous thread in » PHP Scripting Forum