Reply to Re: Reading from a Dynamic Page

Your name:

Reply:


Posted by Schraalhans Keukenmeester on 05/19/07 13:27

At Sat, 19 May 2007 13:24:04 +0200, gosha bine let his monkeys type:

> ycquak@gmail.com wrote:
>> Hi,
>>
>> Currently I need to read contents from a dynamic page, which goes
>> something like:
>> http://servername/filename.jsp?arg1=a&arg2=b
>>
>> The content is not static, neither is there a file for me to read
>> from. Thus, I would like to know how could I accomplish this task in
>> php. I saw from forums, there is a similar implementation of the RSS
>> reader which reads it in the following way:
>>
>> $fileName = url;
>>
>> $data = implode("", file($fileName));
>> ...
>>
>> Will I be able to do the same thing?
>>
>> I am rather new to php, so would appreciate any help rendered. Thanks!
>>
>
> You don't simply try it
>
> echo file_get_contents("http://www.google.com/search?q=blah");
>
> what does this do?

My bad Gosha, I suggested he couldn't. The fact I hadn't ever tried it
doesn't always mean it's not possible. Never too old to learn from my
mistakes...

Sh.

[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

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