简体   繁体   中英

POST data from PHP to ASP.NET

I have a instance of Apache and IIS running on my server which i need to post data from the PHP application to the ASP.NET application .. is this action possible ? ,

  • if its possible what considerations are required ?

  • if its not possible what are the alternatives ? (Except - Webservices and socket programming )

because using web services or socket programming will not provide the overall requirement which i have on head !

I would look at this answer on super user

https://superuser.com/questions/149329/how-do-i-make-a-post-request-with-curl

Shows you how to do a post using cURL from PHP. You can just direct your post to your ASPX page.

I did something like this using Memcache, but I'm not shure thats what you want/need:

I put some data into the cache in PHP and read the same value out in .net, but its a little complicated when it comes to objects, but for basic value types it worked fine...

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM