Ernest E Vogelsinger wrote:
One thing - be warned that some sites (esp. M$) send a redirect at the
index (or default) pages... the fopen() will not honor this redirect. Using
cUrl would be a better way to handle this, IMHO.
fopen() in the upcoming PHP 4.3.0 will support this though.
Derick
For some (strange, I know) reason I would like to copy the content of a
webpage into a database.
I would like to have code like
$whocares = include (http://www.microsoft.nl;);
$query = insert into html values ($whocares,...);
..
However, include can not copy the content to a variable. Does
One thing - be warned that some sites (esp. M$) send a redirect at the
index (or default) pages... the fopen() will not honor this redirect. Using
cUrl would be a better way to handle this, IMHO.
--
O Ernest E. Vogelsinger
(\)ICQ #13394035
^ http://www.vogelsinger.at/
3 matches
Mail list logo