{"id":1497,"date":"2003-07-21T13:34:22","date_gmt":"2003-07-21T18:34:22","guid":{"rendered":"https:\/\/www.quirkspace.com\/quirkblog\/?p=242"},"modified":"2003-07-21T13:34:22","modified_gmt":"2003-07-21T18:34:22","slug":"well-at-least-i-know-im-not-insane","status":"publish","type":"post","link":"https:\/\/www.quirkspace.com\/quirkblog\/?p=1497","title":{"rendered":"Well, at least I know I&#8217;m not insane"},"content":{"rendered":"<p>Ok, here&#8217;s the deal: We need to simplify file uploads here at work, and the easiest way to do that is with a simple PHP script.  I&#8217;d like to test things on a non-production server first, of course&#8230;  And that&#8217;s where the problem hit.  It just wasn&#8217;t working on the laptop, or the desktop machine.  It would completely fail to detect a simple <code>switch<\/code> statement.<\/p>\n<p>Finally I wrote a <a href=\"https:\/\/www.quirkspace.com\/123.php\">stupid little script<\/a> to test really basic things.  And it didn&#8217;t work on the laptop, or the desktop.<\/p>\n<p>But it works on the server.<br \/>\n<!--more--><br \/>\nSo, there&#8217;s no way for me to test a potentially havoc wreaking upload script without putting it up on the server.  This is the internet equivalent of stapling raw steaks to your chest and swimming in shark infested waters.  I&#8217;m just not willing to take that sort of risk.<\/p>\n<p>I may have to install OS X Server on the laptop, just so that I&#8217;ve got the same version of PHP as the server.  I can&#8217;t figure what else is causing it, and that really annoys me.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Ok, here&#8217;s the deal: We need to simplify file uploads here at work, and the easiest way to do that is with a simple PHP script. I&#8217;d like to test things on a non-production server first, of course&#8230; And that&#8217;s &hellip; <a href=\"https:\/\/www.quirkspace.com\/quirkblog\/?p=1497\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[26],"class_list":["post-1497","post","type-post","status-publish","format-standard","hentry","tag-technical-notes"],"_links":{"self":[{"href":"https:\/\/www.quirkspace.com\/quirkblog\/index.php?rest_route=\/wp\/v2\/posts\/1497","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.quirkspace.com\/quirkblog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.quirkspace.com\/quirkblog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.quirkspace.com\/quirkblog\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.quirkspace.com\/quirkblog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1497"}],"version-history":[{"count":0,"href":"https:\/\/www.quirkspace.com\/quirkblog\/index.php?rest_route=\/wp\/v2\/posts\/1497\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.quirkspace.com\/quirkblog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1497"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.quirkspace.com\/quirkblog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1497"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.quirkspace.com\/quirkblog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1497"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}