{"id":34305,"date":"2017-11-14T03:01:33","date_gmt":"2017-11-13T17:01:33","guid":{"rendered":"http:\/\/www.rjmprogramming.com.au\/ITblog\/?p=34305"},"modified":"2017-11-13T20:37:16","modified_gmt":"2017-11-13T10:37:16","slug":"php-file-information-primer-tutorial","status":"publish","type":"post","link":"https:\/\/www.rjmprogramming.com.au\/ITblog\/php-file-information-primer-tutorial\/","title":{"rendered":"PHP File Information Primer Tutorial"},"content":{"rendered":"<div style=\"width: 230px\" class=\"wp-caption alignnone\"><a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/PHP\/file_information.php\"><img decoding=\"async\" style=\"border: 15px solid pink;\" alt=\"PHP File Information Primer Tutorial\" src=\"http:\/\/www.rjmprogramming.com.au\/PHP\/file_information.jpg\" title=\"PHP File Information Primer Tutorial\"  style=\"float:left;\" \/><\/a><p class=\"wp-caption-text\">PHP File Information Primer Tutorial<\/p><\/div>\n<p>We channel the great Linux (or Unix) command <a target=_blank title='Linux file command information from computerhope' href='https:\/\/www.computerhope.com\/unix\/ufile.htm'>&#8220;file&#8221;<\/a> to start down the road of a <i>web server file information presenter<\/i> web application.<\/p>\n<p>With Mac OS X (like Linux) command line &#8230;<\/p>\n<p><code><br \/>\nfile [webServerFileSpec]<br \/>\n<\/code><\/p>\n<p> &#8230; sums up what we build a web application around, having a PHP shell use its <a target=_blank title='PHP exec() method information' href='http:\/\/php.net\/manual\/en\/function.exec.php'><i>exec<\/i><\/a> method to filter the information through (Linux command line) with the data columns &#8230;<\/p>\n<ul>\n<li>web server file name<\/li>\n<li>web server file information<\/li>\n<\/ul>\n<p> &#8230; to result in the table contents of our file (specification) table in our web application today.<\/p>\n<p>You can try this out for yourself at today&#8217;s <a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/PHP\/file_information.php\" title=\"Click picture\">live run<\/a> link with its underlying serverside PHP code you could call <a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/PHP\/file_information.php_GETME\" title=\"file_information.php\">file_information.php<\/a> as you wish.<\/p>\n<p>If this was interesting you may be interested in <a title='Click here to see topics in which you might be interested' href='#d34305' onclick='var dv=document.getElementById(\"d34305\"); dv.innerHTML = \"&lt;iframe width=670 height=600 src=\" + \"https:\/\/www.rjmprogramming.com.au\/ITblog\/tag\/file\" + \"&gt;&lt;\/iframe&gt;\"; dv.style.display = \"block\";'>this<\/a> too.<\/p>\n<div id='d34305' style='display: none; border-left: 2px solid green; border-top: 2px solid green;'><\/div>\n","protected":false},"excerpt":{"rendered":"<p>We channel the great Linux (or Unix) command &#8220;file&#8221; to start down the road of a web server file information presenter web application. With Mac OS X (like Linux) command line &#8230; file [webServerFileSpec] &#8230; sums up what we build &hellip; <a href=\"https:\/\/www.rjmprogramming.com.au\/ITblog\/php-file-information-primer-tutorial\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[12,37],"tags":[405,418,1615,932,997,2387,1238,1319],"class_list":["post-34305","post","type-post","status-publish","format-standard","hentry","category-elearning","category-tutorials","tag-exec","tag-file","tag-glob","tag-php","tag-programming","tag-specification","tag-table","tag-tutorial"],"_links":{"self":[{"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/posts\/34305"}],"collection":[{"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/comments?post=34305"}],"version-history":[{"count":2,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/posts\/34305\/revisions"}],"predecessor-version":[{"id":34307,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/posts\/34305\/revisions\/34307"}],"wp:attachment":[{"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/media?parent=34305"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/categories?post=34305"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/tags?post=34305"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}