{"id":1500,"date":"2003-07-24T10:13:00","date_gmt":"2003-07-24T15:13:00","guid":{"rendered":"https:\/\/www.quirkspace.com\/quirkblog\/?p=245"},"modified":"2003-07-24T10:13:00","modified_gmt":"2003-07-24T15:13:00","slug":"geekout","status":"publish","type":"post","link":"https:\/\/www.quirkspace.com\/quirkblog\/?p=1500","title":{"rendered":"Geekout!"},"content":{"rendered":"<p>I&#8217;m in deep geekout mode at work.  I have been for the past couple of days.  I&#8217;ve been working since Monday on getting a more streamlined file upload script working for our work server, and yesterday I finally developed something that I&#8217;m happy with.  It&#8217;s based on a heavily modified version of Zach White&#8217;s <a href=\"http:\/\/www.zachwhite.com\/\">PHP Uploader Downloader<\/a>&#8230;  There&#8217;s probably less than a third of his original code left, but working from his code saved me a huge chunk of time.<br \/>\n<!--more--><br \/>\nOnce I figured out what his script did, I was able to start slicing huge chunks out&#8230; &#8220;This is a drop box!  They don&#8217;t need to download anything from here, so that subroutine is out&#8230;  With that gone, we don&#8217;t need them to choose if they&#8217;re uploading or downloading, so that can go&#8230;  Hey!  A lot of this can be split off into a form on another page!  Actually, that form can go pretty much <b>anywhere<\/b> if we need it&#8230;  I&#8217;ll just snip that out and put it somewhere safe for now&#8230;&#8221;<\/p>\n<p>After it was pared down to almost nothing, I started building it back up and adding features.  The trick that I&#8217;m proudest of is the way that it automatically creates a text file with all of the information that the client enters in their work order.  It may not seem all that impressive to professional code jockeys out there, but I was an English major!  This is heavy-duty stuff as far as I&#8217;m concerned.  I&#8217;ll see if I can make things generic enough that I can post the source code here without creating a huge security hole on our server.<\/p>\n<p>Anyway, I&#8217;m going to spend today prettying it all up for public display.  It may go live on the work site as early as this afternoon&#8230;  We&#8217;ll see.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I&#8217;m in deep geekout mode at work. I have been for the past couple of days. I&#8217;ve been working since Monday on getting a more streamlined file upload script working for our work server, and yesterday I finally developed something &hellip; <a href=\"https:\/\/www.quirkspace.com\/quirkblog\/?p=1500\">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-1500","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\/1500","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=1500"}],"version-history":[{"count":0,"href":"https:\/\/www.quirkspace.com\/quirkblog\/index.php?rest_route=\/wp\/v2\/posts\/1500\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.quirkspace.com\/quirkblog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1500"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.quirkspace.com\/quirkblog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1500"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.quirkspace.com\/quirkblog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1500"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}