Page 1 of 1

File upload and call?

Posted: Wed Nov 15, 2017 8:23 am
by digitalsnagiro
Hello,i have 3 php files that make requests to a database

how can i upload these files to the ESP32?
basically i want to connect through web browser to the ESP32 (ex:192.168.1.12/submitcustomer.php?Name=) to call the script inside the php file

Re: File upload and call?

Posted: Wed Nov 15, 2017 9:10 am
by ESP_Sprite
If I understand it correctly, you expect to upload php files to the ESP32, and then expect the ESP32 to run them? This will not work, as the ESP32 does not have a PHP interpreter.

Re: File upload and call?

Posted: Wed Nov 15, 2017 3:43 pm
by Gfast2
Hi,

But you can try out websocket solutions later. Perhaps it will meet your need.

I've tried out "mongoose" Library, which support websocket and http at the same time.
You may start to checking out its examples first. which contain some websocket related examples.

Cheers

Gfast2