File upload class – it is fixed!

After a long time of knowing there was an issue with the script I finally got around to checking it out. Its a little embarrassing to say, but, here’s the dish: I wrote all the functionality to check the file type, but forgot to actually implement it… oops.

The file is correct now, so to those who hung in there until I finally got around to it I say thank you. Soon I’ll be sharing my PHP Email script so if you’ve been looking for an easy way to send email with HTML and Plain Text alternatives as well as handle attachments this should work out nicely for you. Ok, well, nicely if you’re hosting on Unix… I haven’t tested at all on Windows. Though, I will say, if you’re hosting on Windows you really should consider .NET as it has some great functionality and is native to the system.

So, enough said for now, the new script has been added to the old page located here.

And source file highlighting

I’ve also updated the source file highlighting to use the Pear package Text_Highlighter. I won’t go into details about how to use Pear since there are many many good articles about that already, but I had to apply this patch to the installed package to get the renderer to format the output correctly so CSS styling would display as expected. I installed the stable version and had to apply the patch.

Tagged as: class code file fix object oop oriented pear php script source text_highlighter update upload