Read HTML code and store it in database

Read HTML code and store it in database

am 30.04.2007 18:36:57 von jorge.gimenez

Hello.

I am looking a way t oread html code with a php script.

I have a php script separated from my server that gives that some =
results I
need to read and store.

I can't access to the data server of this php because it's embebed on =
the
machine.
The script would be

$url=3DFunction_to_connect_url(url);
//code to search data in $url;
//code to store data;


Any ideas?.

Best regards,

Jorge Gim=E9nez

--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Re: Read HTML code and store it in database

am 01.05.2007 01:47:01 von dmagick

Jorge Giménez wrote:
> Hello.
>
> I am looking a way t oread html code with a php script.
>
> I have a php script separated from my server that gives that some results I
> need to read and store.
>
> I can't access to the data server of this php because it's embebed on the
> machine.
> The script would be
>
> $url=Function_to_connect_url(url);

1) http://php.net/curl
2) http://php.net/file_get_contents maybe (depending on settings)

1) is a much better option.

--
Postgresql & php tutorials
http://www.designmagick.com/

--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php