{"id":846,"date":"2002-02-11T18:08:00","date_gmt":"2002-02-11T22:08:00","guid":{"rendered":"http:\/\/www.meehawl.com\/Blogfiles-wp\/?p=846"},"modified":"2002-02-11T18:08:00","modified_gmt":"2002-02-11T22:08:00","slug":"dotcomments-ve-day","status":"publish","type":"post","link":"https:\/\/www.meehawl.com\/Blogfiles\/2002\/02\/11\/18\/08\/dotcomments-ve-day\/","title":{"rendered":"Dotcomments VE Day"},"content":{"rendered":"<p>God! I finally got dotcomments working properly&#8230;<br \/>\n[lapsing into nerd-mode]<br \/>\nSo I had to go *far* more into PHP and ISAPI than I ever wanted to. The comments.php needed some changes to work under ISAPI because getenv() and setenv() aren&#8217;t supported (executing in Server and not CGI mode). Here&#8217;s what you need to put in instead&#8230;<\/p>\n<p>CGI:<br \/>\n<code>$commentID = ereg_replace('[^0-9]', '', getenv('QUERY_STRING'));<\/code><br \/>\nISAPI:<br \/>\n<code>$commentID = ereg_replace('[^0-9]', '', $HTTP_SERVER_VARS[\"QUERY_STRING\"]);<\/code><\/p>\n<p>CGI:<br \/>\n<code>$thisComment = $commentDate . '[+]' . $commentName . '[+]' . $commentMail . '[+]' . $commentText . '[+]' . $commentSite . '[+]' . getenv('REMOTE_ADDR') . \"\\n\";<\/code><br \/>\nISAPI:<br \/>\n<code>$thisComment = $commentDate . '[+]' . $commentName . '[+]' . $commentMail . '[+]' . $commentText . '[+]' . $commentSite . '[+]' . $HTTP_SERVER_VARS[\"REMOTE_ADDR\"] . \"\\n\";<\/code><\/p>\n","protected":false},"excerpt":{"rendered":"<p>God! I finally got dotcomments working properly&#8230; [lapsing into nerd-mode] So I had to go *far* more into PHP and ISAPI than I ever wanted to. The comments.php needed some changes to work under&#46;&#46;&#46;<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[1],"tags":[],"class_list":["post-846","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"aioseo_notices":[],"jetpack_featured_media_url":"","jetpack-related-posts":[],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.meehawl.com\/Blogfiles\/wp-json\/wp\/v2\/posts\/846","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.meehawl.com\/Blogfiles\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.meehawl.com\/Blogfiles\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.meehawl.com\/Blogfiles\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.meehawl.com\/Blogfiles\/wp-json\/wp\/v2\/comments?post=846"}],"version-history":[{"count":0,"href":"https:\/\/www.meehawl.com\/Blogfiles\/wp-json\/wp\/v2\/posts\/846\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.meehawl.com\/Blogfiles\/wp-json\/wp\/v2\/media?parent=846"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.meehawl.com\/Blogfiles\/wp-json\/wp\/v2\/categories?post=846"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.meehawl.com\/Blogfiles\/wp-json\/wp\/v2\/tags?post=846"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}