You are here: Re: List all links from a webpage « PHP Programming Language « IT news, forums, messages
Re: List all links from a webpage

Posted by Toby Inkster on 09/08/05 09:52

Robertico wrote:

> I tried to remove the numbers (removed -number_links) but it doesn't work.

Use a regular expression:

$list = preg_replace('/\[[0-9]+\]/', $list);

> Can you explain why adding 12 to the string length ?

Try it without the +12 and see.

--
Toby A Inkster BSc (Hons) ARCS
Contact Me ~ http://tobyinkster.co.uk/contact

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация