Despite never having tried anything like this before, I managed to install pear and the modules I needed and fix a lot of script errors on intuition but I think I'm stuck now.
If I use the PHP5 way I get:
Fatal error: Call to undefined function: file_put_contents() in /home/.lovey/goshenpublicli/goshenpubliclibrary.org/writejaemi.html on line 24
If I try the PHP4 way, even though I have PHP5, I get..well, an even longer message. I think the shorter one is probably easy enough to fix I just don't know how since I've not done much with PHP, so even searching just leaves me confused.