Re: web sniffer
| From: | madunix | Date: | Thu, 18 Mar 2010 22:11:30 +0000 |
| Subject: | Re: web sniffer | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-302989@lists.php.net to get a copy of this message | ||
trying http://us3.php.net/manual/en/function.fsockopen.php
do you a piece of code that read parts pages.
On Fri, Mar 19, 2010 at 12:00 AM, Ashley Sheridan
<ash@ashleysheridan.co.uk>wrote:
> On Fri, 2010-03-19 at 00:03 +0200, madunix wrote:
>
> I've been trying to read the contents from a particular URL into a
> string in PHP, and can't get it to work. any help.
>
> Thanks
>
> --
> If there is a way, I will find one...***
> If there is none, I will make one..."***
> **************** madunix ******************
>
>
>
> How have you been trying to do it so far?
>
> There are a couple of ways. file_get_contents() and fopen() will work on
> URL's if the right ports are open.
>
> Most usually though cURL is used for this sort of thing.
>
> Thanks,
> Ash
> http://www.ashleysheridan.co.uk
>
>
>
--
If there is a way, I will find one...***
If there is none, I will make one..."***
**************** madunix ******************