Reply to Re: Getting info from a website.

Your name:

Reply:


Posted by Geoff Berrow on 04/02/06 13:12

Message-ID: <1143969723.769173.220530@i40g2000cwc.googlegroups.com> from
Michael contained the following:

>If I have a script on http://url-a.com/script.php and I want to get
>some dynamic information of my friend's site at
>http://url-b.com/info.php , How can I get it? I need to use get
>variables in getting it and it must also be server side.

Preg_match() ?

The manual contains the following example

preg_match("/<title>(.*)<\/title>/i", $html_content, $match);

--
Geoff Berrow (put thecat out to email)
It's only Usenet, no one dies.
My opinions, not the committee's, mine.
Simple RFDs http://www.ckdog.co.uk/rfdmaker/

[Back to original 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

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