kanenas.net Posted February 18, 2010 Share Posted February 18, 2010 Here is the senario... I have a mobile device (MD) that posts binary data to a Web Server (WS1) and that Web Server (WS1) posts that binary data (from the MD) to another Web Server (WS2). (MD) --> (WS1) --> (WS2) Is that possible? Any suggestions how to do it with php? Thanks! Quote Link to comment https://forums.phpfreaks.com/topic/192567-how-to-read-posted-binary-data-from-a-mobile-device-and-post-it-to-a-web-server/ Share on other sites More sharing options...
kanenas.net Posted February 19, 2010 Author Share Posted February 19, 2010 To put it more simply... 1. How can i read binary data that someone has posted me. 2. How can i post (using http post) binary data. Thanks. Quote Link to comment https://forums.phpfreaks.com/topic/192567-how-to-read-posted-binary-data-from-a-mobile-device-and-post-it-to-a-web-server/#findComment-1014721 Share on other sites More sharing options...
monkeytooth Posted February 19, 2010 Share Posted February 19, 2010 I claim no stake in knowing the right way to do what you seek, but you can try xml/rss I am not sure how to set it up, but an example would be the U.S.P.S. if you want shipping labels, address confirmation etc. And your using them you push an xml/rss feed to there server based on input you provide on your server, there server reads it, and sends it back via xml/rss Quote Link to comment https://forums.phpfreaks.com/topic/192567-how-to-read-posted-binary-data-from-a-mobile-device-and-post-it-to-a-web-server/#findComment-1014726 Share on other sites More sharing options...
monkeytooth Posted February 19, 2010 Share Posted February 19, 2010 Maybe you post to site one, site one runs a script stores it in a flat file a database what ever, and server 2 runs a cron that runs a script to read rss feeds, you then tell the script on server 2 to look for newer entries based on timestamps or whatever.. If anything is new, server 2 does what you want, if not it just keeps looping the cron til it finds what it is that its looking for. Quote Link to comment https://forums.phpfreaks.com/topic/192567-how-to-read-posted-binary-data-from-a-mobile-device-and-post-it-to-a-web-server/#findComment-1014728 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.