开发者

Jquery.ajax access file outside public_html folder

开发者 https://www.devze.com 2023-02-04 11:17 出处:网络
My jquery file is in /public_html/开发者_如何学编程js/jquery.js i want to access a file outside the public_html directory.How to do it?You can\'t if the folder you\'re trying to access isn\'t availabl

My jquery file is in /public_html/开发者_如何学编程js/jquery.js i want to access a file outside the public_html directory.How to do it?


You can't if the folder you're trying to access isn't available to the web. JavaScript is run on the client side so it can only access what the client can (i.e. if you can't get to it through the browser, you won't be able to get to it using JavaScript/jQuery).

0

精彩评论

暂无评论...
验证码 换一张
取 消