You are here: Re: Screen dumping dynamically generated PHP web pages????? « All PHP « IT news, forums, messages
Re: Screen dumping dynamically generated PHP web pages?????

Posted by Gary on 11/10/05 12:35

Many thanks for the response ... and yes It did help. As a courtesy I
though that I would post the code that I eventually used.

//Define functions
function get_html_page($url)
{
$ch = curl_init();

curl_setopt ($ch, CURLOPT_URL, $url);
curl_setopt ($ch, CURLOPT_HEADER, 0);

ob_start();

curl_exec ($ch);
curl_close ($ch);
$html_page = ob_get_contents();

ob_end_clean();

return $html_page;
}

Seems to do the trick.

I have also noticed that this post is also on a site called
www.viper.uk.net.

So how did you do that?????????? More scripting???? I'd love to know.

Many thanks, Gary
http://www.menkaura.com/Forum/index.php

 

Navigation:

[Reply to this 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

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