php - How To Transmit Data Between A Webpage And An Android-App -


i need approach: aim transmit every minute number android-app webpage, opened on computer. needs fast, computer has firefox installed (i can't install programs) , devices aren't in same network (has on internet, not bluetooth or similar).

my current solution mysql-bridge: opened webpage on computer retrieves data sql-database, filled android device, every second (dirty solution), problem is, use php , while(true)-loop. webhoster not allow set time limit , after few seconds error. have tried socket, page loaded whole time. have made mistake there?

what approach best 1 project?

thanks

if right execution timeout of php scripts there no options do. if not, try run command set_time_limit(0);, removes limit of script execution. if works try use xmpp protocol. i'm sure there ready use libraries.


Comments

Popular posts from this blog

c# - Validate object ID from GET to POST -

node.js - Custom Model Validator SailsJS -

php - Find a regex to take part of Email -