All of my scripts are open source, and therefore free!. Of course contributions in the form of documentation, patches or wishlist items are always welcome. In addition, if you need help then you can hire me to install, modify, or improve the scripts. Head over to my consulting website to contact me.
Convert html pages into PDF's on the fly using PHP. Click here for more info.
OATS, the Online Automated Timecard System has its own page
An incremental backup script writtin in PHP. Head over here to check it out.
We've all seen the ugly and uninformative Page Not Found error when a page no longer exists. This script was made in order to make error documents more informative and attractive for both the user and the webmaster. The messages, colors, and images are all customizable. Additionally, it can log and/or e-mail an error when it occurs. To set it up you need only put an .htaccess file like this one in the root directory of your web server (click here for more info on .htaccess files).
- Dec. 4 2003, phpErrorDoc 2.0. Support for register_globals=0ff, Language support (english and danish), and improved customization of the page via css.
- Dec. 29 2001, phpErrorDoc 1.0. Initial release.
Example error pages made with phpErrorDoc:
A while ago I was working with HTML/OS by Aestvia and decided I couldn't live without the syntax highlighting that I've grown so attached to in other programming languages. So, I went through their manual (Ver. 1.8) and made my first crack at creating a VIM syntax file. Feel free to use, and if you find bugs or make patches please email me so I can update it.
- Download: htmlos.vim (View the help file)
- Last Changed: Mar. 15, 2001
- Setup Instructions:
To make this syntax file available to everybody in VIM (5.7 is the version I'm using) edit the $VIM/syntax/synload.vim, $VIM/menu.vim, and $VIM/filetype.vim (they're all pretty self-explanatory)
For older versions of VIM you can edit $VIM/syntax/syntax.vim and add the following line
au BufNewFile,BufRead *.htmlos so $VIM\syntax\htmlos.vim
Additionally, you may want to edit your .vimrc or $VIM/syntax/synload.vim file and add the following line
hi Function term=underline cterm=bold ctermfg=LightGray
This makes the color of functions different from that of variable names (which is necessary since there is nothing special to define an HTML/OS variable name).
In case you didn't know, if you're VIM'ng a file that isn't of the filetype (i.e. *.htmlos) that automatically invokes HTML/OS syntax, you can run the followin command :set syntax=htmlos