{"id":58393,"date":"2023-02-19T03:01:00","date_gmt":"2023-02-18T17:01:00","guid":{"rendered":"http:\/\/www.rjmprogramming.com.au\/ITblog\/?p=58393"},"modified":"2023-08-08T21:37:46","modified_gmt":"2023-08-08T11:37:46","slug":"mobile-upload-html-tutorial","status":"publish","type":"post","link":"https:\/\/www.rjmprogramming.com.au\/ITblog\/mobile-upload-html-tutorial\/","title":{"rendered":"Mobile Upload HTML Tutorial"},"content":{"rendered":"<div style=\"width: 230px\" class=\"wp-caption alignnone\"><a target=_blank href= Http:\/\/www.rjmprogramming.com.au\/img_maker_idea_one.jpg ><img style=\"border: 15px solid pink;\" alt=\u201cMobile Upload HTML Tutorial\" src=http:\/\/www.rjmprogramming.com.au\/img_maker_idea_one.jpg title=\u201cMobile Upload HTML Tutorial\"  style=\"float:left;\"  \/><\/a><p class=\"wp-caption-text\">Mobile Upload HTML Tutorial<\/p><\/div>\n<p>It was three days ago we said \u2026<\/p>\n<p><block quote cite=http:\/\/www.programming.com.au\/ITblog\/image-maker-uploading-image-primer-tutorial><\/p>\n<p>We used to use the iOS mobile app called FTPManager to perform sftp file transfers up to our RJM Programming web domain on this iPad or iPhone, but now FTPManager Pro is needed to do this.   So we decided to write our own uploading methodology, but not with all the bells and whistles, but enough to get by until we see the MacBook Pro again.  In our first draft here, we start with some image uploading where \u2026<\/p>\n<ul>\n<li><a target=_blank title=imagecapture.htm href=http:\/\/www.rjmprogramming.com.au\/HTMLCSS\/imagecapture.html----------------GETME>imagecapture.htm<\/a> supervisory image capture web application \u2026 involving a new Save As button calling on new prompt window asking for \u2026\n<ol>\n<li>password<\/li>\n<li>number filename suffix<\/li>\n<\/ol>\n<p> \u2026 call of new \u2026<\/li>\n<li> <a target=_blank title=img_maker.php href=http:\/\/www.rjmprogramming.com.au\/img_maker.php_GETME>img_maker.php<\/a> new PHP image uploading functionality web application<\/li>\n<li>scooter or bike hire<\/li>\n<\/ul>\n<p> \u2026 can be tried <a target=_blank href=http:\/\/www.rjmprogramming.com.au\/HTMLCSS\/imagecapture.htm>here<\/a> via that new Save As button presented above \u201cthe revealed\u201d canvas element used as the conduit between image capture and upload parts of the solution.  We hope it interests a little more than somewhat?!<\/p>\n<\/blockquote>\n<p> \u2026 and today we wanted to move onto uploads of code, rather than images, today, starting with the upload of HTML data.  We want to keep the \u201ctwo parameters separated by a space\u201d paradigm with the arrangements, but how can a whole HTML code string be contained within the one parameter not containing a space?  Well, there\u2019s base64 strings that JavaScript can get to via window.btoa to convert to base64 from HTML data string and on recall it is PHP base64_decode that comes to our aid via <a target=_blank title=img_maker.php href=http:\/\/www.rjmprogramming.com.au\/PHP\/Geographicals\/diff.php?one=http:\/\/www.rjmprogramming.com.au\/img_maker.php-GETME>the changed<\/a> <a target=_blank title=img_maker.php href=http:\/\/www.rjmprogramming.com.au\/img_maker.php-GETME>img_maker.php<\/a> helper uploading tool here.<\/p>\n<p> \u2026 as a first step towards out and about \u201ccode from scratch\u201d just using iPad or iPhone development here.<\/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='#d58393' onclick='var dv=document.getElementById(\"d58393\"); dv.innerHTML = \"&lt;iframe width=670 height=600 src=\" + \"https:\/\/www.rjmprogramming.com.au\/ITblog\/tag\/html\" + \"&gt;&lt;\/iframe&gt;\"; dv.style.display = \"block\";'>this<\/a> too.<\/p>\n<div id='d58393' style='display: none; border-left: 2px solid green; border-top: 2px solid green;'><\/div>\n","protected":false},"excerpt":{"rendered":"<p>It was three days ago we said \u2026 We used to use the iOS mobile app called FTPManager to perform sftp file transfers up to our RJM Programming web domain on this iPad or iPhone, but now FTPManager Pro is &hellip; <a href=\"https:\/\/www.rjmprogramming.com.au\/ITblog\/mobile-upload-html-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,35,37],"tags":[4247,183,3458,4249,376,2203,2638,576,626,631,1807,795,799,866,4248,931,3457,4246,1156,1319,1345],"class_list":["post-58393","post","type-post","status-publish","format-standard","hentry","category-elearning","category-tikiwiki","category-tutorials","tag-advertising","tag-camera","tag-covid","tag-economy","tag-education","tag-entertainment","tag-health","tag-html","tag-ios","tag-iphone","tag-link","tag-mobile","tag-mobile-phone","tag-online","tag-out-and-about","tag-photography","tag-qr-code","tag-shopping","tag-smart-phone","tag-tutorial","tag-url"],"_links":{"self":[{"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/posts\/58393"}],"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=58393"}],"version-history":[{"count":13,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/posts\/58393\/revisions"}],"predecessor-version":[{"id":60382,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/posts\/58393\/revisions\/60382"}],"wp:attachment":[{"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/media?parent=58393"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/categories?post=58393"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/tags?post=58393"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}