File upload and call?

digitalsnagiro
Posts: 2
Joined: Wed Nov 15, 2017 8:18 am

File upload and call?

Postby digitalsnagiro » Wed Nov 15, 2017 8:23 am

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

ESP_Sprite
Posts: 9043
Joined: Thu Nov 26, 2015 4:08 am

Re: File upload and call?

Postby ESP_Sprite » Wed Nov 15, 2017 9:10 am

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.

User avatar
Gfast2
Posts: 182
Joined: Fri Aug 11, 2017 1:52 am

Re: File upload and call?

Postby Gfast2 » Wed Nov 15, 2017 3:43 pm

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

Who is online

Users browsing this forum: Google [Bot], sangk82 and 129 guests