This is a collection of scripts that allow you to download complete archives of web-published comics.
First off, to actually run this script you must tell it where the php binary is. Edit
phpcomics.php and modify the first line to
#!/path/to/php4 -q. On Debian Sid, this is
Then, edit the script for the comic you want to download, modifying these parameters:
- $start_year = start-year
- $start_month = start-month
- $start_day = start-day
- $end_year = end-year
- $end_month = end-month
- $end_day = end-day
or you can leave them to their default settings, which will get everything from the start of the archive to the current date.
phpcomics-0.4-1.tgz (86 downloads)
- wget (optional but recommended)
This script allows you to download POP3 mailboxes over an HTTP interface. I wrote it to allow me to get my mail through the company’s http proxy server.
To install it, put the htmlpop.php script somewhere on a PHP4 enabled webserver.
Also, make sure the directory where you are installing this script has it’s permissions set so the user of the http process can write to it (usually making it world writable helps. Just don’t put anything of value in that directory!)
From any webbrowser (or file getting tool like wget), call the url as follows:
The script takes the following parameters:
- popHost=<your POP3 server>
- popUser=<your POP3 username>
- popPass=<your POP3 password>
This will probably take a while (depending on the size of the mail in your mailbox), but after a while your browser should ask you where to store the file.
The file itself is an mbox-compatible file containing the contents of your mailbox. htmlpop-0.5.tgz (96 downloads)