{"id":94,"date":"2006-02-05T15:59:46","date_gmt":"2006-02-05T21:59:46","guid":{"rendered":"http:\/\/blog.the-erm.com\/archives\/94"},"modified":"2006-02-05T15:59:46","modified_gmt":"2006-02-05T21:59:46","slug":"b-e-n-r-u-t-h-%c2%bb-instant-report-my-thoughts","status":"publish","type":"post","link":"https:\/\/blog.the-erm.com\/?p=94","title":{"rendered":"b e n r u t h   \u00c2\u00bb Instant Report &#8211; My thoughts"},"content":{"rendered":"<p><a href=\"http:\/\/benruth.com\/?page_id=70\">b e n r u t h   \u00c2\u00bb Instant Report<\/a> is more than happy to use the apache server, php to render it&#8217;s scripts, mysql to do it&#8217;s database queries, and wordpress to blog on.<\/p>\n<p><!--more--><br \/>\nThey Use:<br \/>\n#1. Apache<br \/>\n#2. php<br \/>\n#3. mysql<br \/>\n#4. wordpress<\/p>\n<p>All of these are open source, available free to download, and if needed you can modify the code to suit your needs.<\/p>\n<p>The precious little &#8216;instant report&#8217; script which enables you to download an ms-excel spreadsheet, html, or a web page is not open source, it&#8217;s encoded to where can&#8217;t read it.<\/p>\n<p>WTF?!<\/p>\n<p>That&#8217;s a bunch of BS man.  People like this are such hypocrites.  Why even make it avilable for download?!<\/p>\n<p>Let me give you a run down on &#8216;how he did it.&#8217;  It&#8217;s not a trade secret.<\/p>\n<p>First he used some functions from<br \/>\nhttp:\/\/www.php.net\/mysql<br \/>\nTo make the connection to his\/your mysql database.<br \/>\nthen there was the header statement &#8212; most important<br \/>\n<code><br \/>\nif ($display=='excel' || $display == 'downloadhtml') {<br \/>\n  \/\/ This would downlad that html<br \/>\n  header('mime: x-force-download');<br \/>\n}<br \/>\n<\/code><br \/>\nIf your $_GET was to download excel he used some stuff from:<br \/>\nhttp:\/\/www.php.net\/com<br \/>\nIf your $_GET was to download html, or just display the web page he printed out a table standard &lt;table&gt; element<\/p>\n<p>It&#8217;s all just a bunch of foreach statements. *NOT* complicated at all, and certainly not a &#8216;trade secret.&#8217;<\/p>\n<p>It bothers me that he&#8217;s such a hypocrite almost everything he&#8217;s using is open source.  The only thing that isn&#8217;t is the COM\/NET stuff.<\/p>\n<p>My point is anyone with a little php knowledge could have done that script, and perhaps better inside of 1 day of coding.<\/p>\n<p>I never ran the thing &#8230; I was just curious if he was using a COM object or an external library, if so I wanted to find out which one.<\/p>\n<p>I see a bunch of encrypted data and asked myself &#8230; what&#8217;s he hiding?  Is your script &#8216;phoning home?&#8217;   Listing my directories?  Deleting files?  Installing a back door?  Adding users?<\/p>\n<p>My point is if you&#8217;re going to run Apache, write in php, use a database like mysql, and then blog about your stuff using wordpress, then maybe, just maybe you should share the wealth and show people the source, instead of being such a stingy prick about it.<\/p>\n<p>Of course &#8230; it&#8217;s your code, you own the rights, you can do with it whatever you want.<\/p>\n<p>I just think it&#8217;s rude to the developers of all the free software you&#8217;re using.  If you don&#8217;t want to share your project, then don&#8217;t even bother posting the program in this form.  It&#8217;s just a waste of web space.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>b e n r u t h \u00c2\u00bb Instant Report is more than happy to use the apache server, php to render it&#8217;s scripts, mysql to do it&#8217;s database queries, and wordpress to blog on.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5],"tags":[],"class_list":["post-94","post","type-post","status-publish","format-standard","hentry","category-things-that-get-me-mad"],"_links":{"self":[{"href":"https:\/\/blog.the-erm.com\/index.php?rest_route=\/wp\/v2\/posts\/94","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.the-erm.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.the-erm.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.the-erm.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.the-erm.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=94"}],"version-history":[{"count":0,"href":"https:\/\/blog.the-erm.com\/index.php?rest_route=\/wp\/v2\/posts\/94\/revisions"}],"wp:attachment":[{"href":"https:\/\/blog.the-erm.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=94"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.the-erm.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=94"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.the-erm.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=94"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}