开发者

PHP: mkdir on buttonclick?

i sor开发者_开发百科t of want to create a little backend of a small website. i wonder how i make a button that creates a folder on my server?

mkdir should work! however how can i trigger the mkdir event on a buttonclick?


Yes -- you will have to either submit with the button click or use AJAX (I suggest using a javascript library such as jQuery). That will then get you on the server side where you can execute mkdir().

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜