phpComics 0.4

This is a collection of scripts that allow you to download complete archives of web-published comics.

Usage

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 /usr/bin/php4.

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.

Requirements

  • PHP
  • wget (optional but recommended)
phpcomics-0.4-1.tgz (86 downloads)

htmlpop! 0.5

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.

Installation

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!)

Usage

From any webbrowser (or file getting tool like wget), call the url as follows:

http://web.server/directory/htmlpop.php?popHost=pop.server.com&popUser=myuser&popPass=mypass

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)