File upload code for filedropjs.org plug in - jquery-file-upload

I am using Filedrop.js file (sample demo page is here Filedrop.org ).
I would like to have to upload.php file code for iframe and without iframe. Because I am testing that in IE9+ (upto IE 10,11).
Site has provided only code for js and not php.
Can anybody help me here?
Does anybody had worked with Filedrop.js before? If yes then please help me.

you can check, git repo of FileDrop where you can get that you want...
Please click on this link to show upload.php on FileDrop.js git repo

Related

problem while initiating page from jekyll through github

I currently succeed in establishing my page through github with jekyll
and the url is this: https://youngkyonyou.github.io/YoungKyonYou.github.io/
but whenever I go into the category and click one of it
it suddenly shows 404 error and I'm having trouble how to fix this.
my repo is this: https://github.com/YoungKyonYou/YoungKyonYou.github.io
can somebody help me with it?
and whenever I click one of it the problem occurs
I just figured out~
I dunno y but after erasing the baseurl from config.yml
it was solved...
kinda weird... I thought

nwjs migrating from 0.12 to 10.18

I am facing a problem upgrading from nw.js version 0.12 to 0.18.
I have a situation while I start from the index.html file from the .nw package. From the file, I navigate to my online version of the app by navigating to the link mytestapp.com/page1online.html. From the Online version of the page located at mytestapp.com/page1online.html, I want to navigate back to an HTML page in the .nw package called page1offline.html. The page1offline.html is located in the root of the .nw package.
In nw.js version 0.12, I used the app:// protocol to navigate to any page located inside the .nw package. Now, since it has been deprecated and instead chrome-extension:// was introduced this navigation is broken.
I tried the using chrome-extension:// instead to the app:// but it did not work. Tried the file:// option but that too did not yield the desired result. Also tried many other options but was disappointed.
Can somebody please help me how to navigate to a static HTML file located inside the .nw package from the live online page opened from the nw.js application.
Any help would be highly appreciated.
Thanks in advance.
Regards & Happy Thanksgiving.
The solution to use/navigate/redirect to an HTML resource in an NW package from a hosted HTML page is to have this entry in the package.json file.
"web_accessible_resources": [
"*.html"
]
}
Also, to reference the resource we should use the chrome-extension protocol as
window.location.href = "chrome-extension://" + chrome.runtime.id + "/mytestpage.html"
Wasted lot of my time on this. Hope this helps someone.
Maybe you got the local file path format wrong. It should be like this (3 forward slashes)...
file:///C:/abc.png
But if the file is inside your NW package then you should be able to access it directly by its name like this... (no need for a path)
SomeFrame.src='abc.png';

How to remove More help link from moodle 2.8 help popup?

I want to remove More help link from moodle 2.8 help pop up.
I am attaching screenshot:
After click on this link, open docs.moodle.org/28/en/mod/lesson/view page
Got solution from moodle forum but not working for me.its for moodle 2.7
There is no option to remove the help link without modifying Moodle code. However you could either:
Define $CFG->docroot in your config.php to customise the URLs, or
Use CSS to hide the link.
If modifying core is not an issue, the easiest way is to modify the function get_formatted_help_string so that it never looks for the language string ending in _link. You would remove the following block:
$helplink = $identifier . '_link';
if ($sm->string_exists($helplink, $component)) { // Link to further info in Moodle docs.
...
}

Can't open babel/issues link

Something's wrong with babel issues on github.
https://github.com/babel/babel/issues redirects to https://github.com/babel/babel/pulls, direct links to issue (e.g. https://github.com/babel/babel/issues/2679) show 404 page not found.
Is this only me?
oh, look like they've moved the issues tracker to https://phabricator.babeljs.io/
direct links to issues became https://phabricator.babeljs.io/T${ID}, e.g. https://phabricator.babeljs.io/T2679

Facebook Open Graph: Can't Download - Could not retrieve data from URL

Everything was working fine when suddenly I started to get this Open Graph error on all pages:
http://n-pix.com
https://developers.facebook.com/tools/debug/og/object?q=http%3A%2F%2Fn-pix.com%2F
I've tried many suggestions from other questions, but nothing worked yet.
And if I save the static HTML from the page and load it on Open Graph debugger, everything works perfectly:
http://n-pix.com/ogtest.html
https://developers.facebook.com/tools/debug/og/object?q=http%3A%2F%2Fn-pix.com%2Fogtest.html
Any suggestions? Maybe something wrong with the headers?
I've found the problem:
PHP GZIP compression was causing the problem. As soon I disabled it, the problem was solved and this explain the different behavior between dynamic and static pages.
I hope this can help more people in the future.