MyComic project is a set of basic scripts to maintain a webcomic using PHP, without needing a database.
Originally written back in 2002, this was designed as the backend for three separate webcomics run by friends ('Megadome All-Stars', 'Into the Black', and 'The Misadventures of Magus and Mog'). However, as is often the case with such things, all three of those webcomics eventually ceased to be.
After about a year, I decided it was time to clean up the code a (little) bit, fix some bugs, and make it available to the Internet at large. It's still rough around the edges, but I think it does a pretty nice job of administering a webcomic without needing a database. Not really very configurable at all, unless you know PHP- but some people may find it useful, nonetheless.
I believe that there are now more robust alternatives to this available on Freshmeat, but I am not familiar with any of them. You should probably shop around a bit before settling on this program, but it is possible that it will still suit your needs.
First off, I hope you have PHP >= 4.0.5 and Apache running, otherwise I probably won't be able to help you if you can't get it working.
1. Upload files to web directory, set permissions:
e.g. (the following will always work, [unless phpsuexec is enabled, then the files just need to be accessible by your user] it's quite possible you can get away with less in your own setup)
chmod 777 archives
chmod 777 gallery
chmod 777 gallery/gallery.txt
chmod 777 rant
2. Edit the config file (includes/comic_config.php) to match your setup
A. Set the paths- $home, $path, and $comic_dir
B. Pick a umask that works (777 will always work-
you may be able to get away with less)
C. Add real users, as opposed to the default ones
3. Set up your .htaccess file:
< IfModule mod_php4.c >
php_value include_path ".:/path/to/comic/includes"
< /IfModule >
- or - your php.ini file (you will need to set one of these up in the
admin folder, as well):
4. Set up your .htpasswd file:
htpasswd .htpasswd user1 (for each user)
5. Set up the .htaccess file in the admin directory to point to the .htpasswd
file you just made.
5. Install avatars as < username >.< gif|jpg|png|... > into images/avatars
6. Configure files (mainly header.php and footer.php, but the individual content files as well) to display the way you want them to. Edit the included stylesheet as desired.
7. Start uploading comics, and play around with it.
What's New in This Release:
· Changed all instances of HTTP_POST_VARS, HTTP_GET_VARS, and · HTTP_POST_FILES to their current incarnations.
· Added title configuration variable.
· Added RSS feed for comics.
· Renamed include files to have the 'comic_' prefix.
· Updated contact information.