Commenting system on my reviews site

Filed under: Site management by Hari
Posted at 20:20 IST (last updated: Thu, 17 Jul 2008 @ 10:45 IST)
I've now hacked up a simple commenting system for my home-made CMS on my reviews site, harishankar.org. It now works fine. I had some initial hiccups because I used a PHP 5 specific function on my local development environment (which has PHP 5 with Apache 2). Drew kindly helped me trace the issue through his server logs and I replaced that function with regular PHP 4 functions.

It's not possible to post comment on individual articles, but you can mention the article URL in the "subject" line and post your thoughts. :)

6 comment(s)

Leave a comment »
  1. Damn that PHP4... :cry:Perhaps I should just conduct a fundraiser, buy a beefier machine and install VMware on it so all the people I host could just have their own OS installed with whatever they needed to run their sites.. :cool:

    Comment by drew (visitor) on Fri, 20 Apr 2007 @ 09:45 IST #
  2. Drew, to be honest I'm totally satisfied with PHP 4. I just happened to use a PHP 5 function without realizing it was one, because I happened to have the PHP 5 documentation installed on my system.The lack of an error message was what worried me, but I realized you had turned PHP error reporting off because of security reasons on a production server.

    Comment by hari (blog owner) on Fri, 20 Apr 2007 @ 12:17 IST #
  3. Yeah, it's always a good thing to turn off errors which might lead malicious folks a way to do bad things.Yeah, I don't have a problem with PHP4 either.

    Comment by drew (visitor) on Fri, 20 Apr 2007 @ 19:47 IST #
  4. The funny thing was, even when I enabled error reporting temporarily in my function for checking, it still returned no error.Have you set some option where errors are disabled and that cannot be overridden by the script?

    Comment by hari (blog owner) on Fri, 20 Apr 2007 @ 22:08 IST #
  5. I think it's a setting in the php.ini file but can't remember which one, but that's probably it.

    Comment by drew (visitor) on Sat, 21 Apr 2007 @ 03:19 IST #
  6. Ah, ok. I remember that too.

    Comment by hari (blog owner) on Sat, 21 Apr 2007 @ 06:41 IST #

Leave a comment

First-time comments on this blog are moderated.
Your name*
Email ID*
(wont' be published)
Website
Your comments*
(No HTML allowed)
:-) :-D :biggrin: :-P ;-) 8-) :-( :mad: |-| :oops: :-/ :-| :roll:
bold italic quote code
Code* captcha Enter the code you see in the image
* required fields