How to make my folder in localhost as a executable file?

自闭症网瘾萝莉.ら 提交于 2020-01-03 06:32:29

问题


I have a folder in the localhost (local server folder) and what I want is to make it as an executable file where if you click that executable file, it will directly open to the web browser and also have its database.


回答1:


You can't make a folder an executable file. But if I understand your concern correctly. You can follow this step.

  1. Open your page in a browser (e.i Chrome)
  2. Click the Option Button on right upper corner of the browser (the 3 vertical dot icon -atleast in my case.).
  3. On More Tools Click Add to Desktop
  4. Then provide what name you like.

And you're done. You can copy the shortcut and put it anywhere you want. You can also pin it to task bar.




回答2:


I do deep research and it is possible to compile all your project from your locahost to the executable file.

I used:

  • PHP Desktop Chrome by Czarek Tomczak
  • DB Browser for SQLite (for my database connection)
  • Inno Setup Compiler (to compile my project folder and convert it into executable file).


来源:https://stackoverflow.com/questions/48678125/how-to-make-my-folder-in-localhost-as-a-executable-file

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!