Message boards : Web interfaces : BOINC core client not posting data to url/rpc.php
Message board moderation
Author | Message |
---|---|
Send message Joined: 17 May 06 Posts: 5 |
I'm running BOINC version 5.4.9 and I've got an Account Manager (am) in development running on IIS on the same machine. Boinc is communicating with the am but when it calls the am's rpc.php it's not posting the acct_mgr_request data. Shouldn't it be making a HTTP POST request with this info? Any ideas are greatly appreciated. Thanks, John |
Send message Joined: 17 May 06 Posts: 5 |
BOINC is sending my account mgr an HTTP POST request to the rpc.php page but the $_POST array is empty. I'm expecting the acct_mgr_request.xml info. I'm running BOINC version 5.4.9, WinXP Pro, PHP version 5.1.4. When I post to the rpc.php from a test page everything works. All feedback welcome and appreciated. John |
Send message Joined: 29 Aug 05 Posts: 15 |
If you actually checked what it is supposed to send you would notice it's an XML and not of param=value form, so it is not reflected in PHP $_POST[] ;) Check out $HTTP_RAW_POST_DATA. |
Send message Joined: 17 May 06 Posts: 5 |
Thanks for the info, Rytis, I appreciate your time. I was finally able to reproduce the behavior by posting the acct_mgr_request.xml content from my test page. I've checked out $HTTP_RAW_POST_DATA and I can see the data. I'm also checking out the php://input stream using simplexml_load_file(). Regards, John |
Copyright © 2024 University of California.
Permission is granted to copy, distribute and/or modify this document
under the terms of the GNU Free Documentation License,
Version 1.2 or any later version published by the Free Software Foundation.