You are here: Re: Can one download a whole vbulletin site for offline browsing? « All PHP « IT news, forums, messages
Re: Can one download a whole vbulletin site for offline browsing?

Posted by Johnny on 10/07/06 06:23

"MaskedTechSupporter" <MaskedTechSupporter@somewhere.com> wrote in message
news:48qdnbU7Xf2OgbrYnZ2dnUVZ_qydnZ2d@comcast.com...
> There is a discussion board using vbulletin that has announced it's going
to
> close up shop. It has been having fits and starts all day. Any
> suggestions on the best program (like website extractor or web copier)
that
> will allow me to archive the thing before it's demise? It's a pain to
save
> it thread by thread.
>
>
I dunno about those two you mention, at least one has a 15day free trial
that you might use...
or you could maybe write your own script around this:
http://us3.php.net/manual/en/function.curl-setopt.php

<?php
$sessions = curl_init();
for ($index=0; $index<thenumberyouwant; ++$index) {

curl_setopt($sessions,CURLOPT_URL,'http://thesiteuwant');
curl_setopt($sessions, CURLOPT_POST, 1);
$post_fields = "searchtype=......the stuff you wantchangeable by the
index above";
curl_setopt($sessions,CURLOPT_POSTFIELDS,$post_fields);
curl_setopt($sessions,CURLOPT_COOKIEJAR,'/home/usir/cookie.txt');
curl_setopt($sessions,CURLOPT_FOLLOWLOCATION,0);
curl_setopt($sessions, CURLOPT_HEADER , 1);
curl_setopt($sessions, CURLOPT_RETURNTRANSFER,1);
$my_load_page .= curl_exec($sessions);
}
echo $my_load_page; # or whatever you want to do with it
?>

 

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

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