For Programmers: Free Programming Magazines  


Home > Archive > PHP DB > April 2007 > Re: [PHP-DB] Read HTML code and store it in database









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Re: [PHP-DB] Read HTML code and store it in database
Chris

2007-04-30, 9:58 pm

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/
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com