Hello, how can I send data to the server using POST method?
Can you write a piece of code?(Processing)
Thank you very much.
File.PHP
File.PHP
- <?php
- $data=(int)$_POST["message"]; // get the message from the phone
- if($data==1)
- {
- .....
- .........
- }
- ?>

1