简体   繁体   中英

Submit HTML form in Electron

is there a way how to submit a form in Electron? I already have HTML form done, but the problem is that, when I tried to send a PHP action file, it comes out as a bunch of PHP text code. as I understand Electron DOES NOT support PHP at all, and I'm trying to create a form, so is there a way how I can submit a HTML form in electron?

You can:

1) Upload your HTML and PHP pages on a server, local (like XAMP) or remote (webserver). Then make electron app load this URL and even PHP will work.

2) Don't use PHP or other server side languages. Use Javascript and the nodeJS functionalities

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM