<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>
<br>Hi Simon,<br>Many thanks for that. The POST content and headers are identical, so at least that confirms we're POSTing data. However, doesn't help further very much.<br><br>Thanks for your response though.<br><br>Regards,<br>Sukh<br><div><div id="SkyDrivePlaceholder"></div><hr id="stopSpelling">Date: Tue, 27 Mar 2012 14:32:50 +0100<br>From: simon@flipstorm.co.uk<br>To: phpwm@mailman.lug.org.uk<br>Subject: Re: [Phpwm] cURL problems possibly related to cPanel<br><br>
                <div style="font-family:Helvetica;font-size:13px">Try using http://www.postbin.org/ to see the headers that are sent out from the servers. If there's a difference that's not accounted for in the code, then something in the server configuration must be affecting request headers on the way out.<div><br></div><div>There could still be other issues that aren't so easy to see, but this would probably be a good first step.</div></div>
                <div><div><br></div><div>Simon</div><div>Flipstorm</div><div>http://flipstorm.co.uk</div><div><br></div><div>0845 805 5758</div><div>07920 475 400</div><div><br></div><div>http://twitter.com/simonhamp</div><div>http://twitter.com/Flipstorm</div><div>Sent with <a href="http://www.sparrowmailapp.com/?sig" target="_blank">Sparrow</a></div><div><br></div></div>
                 
                <p style="color:#A0A0A8">On Tuesday, 27 March 2012 at 14:21, sukh virdee wrote:</p>
                <blockquote style="border-left-style:solid;border-width:1px;margin-left:0px;padding-left:10px">
                    <span><div><div>


<div dir="ltr">
Hi,<br>I have a crazy issue with not being able to perform a cURL POST to Barclays after I upgraded PHP. The reponse I get back is "The HTTP method received is not valid.&nbsp; Only POST is accepted."<br><br>I have since rolledback PHP, however the problem still persists. I also had cPanel reinstalled which didn't fix the problem. The application is hosted at Rapid Switch who have escalated this to second and third tier support agents who have found no issues with cURL or the server setup.<br><br>I moved the application to another server and it works with no issues. I then had another server build from Rapid Switch that had Plesk installed rather than cPanel, and the the script works on there too!<br><br>I've googled the error for endless HOURS, with no joy.<br><br>Has anyone seen this response before? Any ideas would be very much appreciated.<br><br>Regards,<br>Sukh<br>                                               </div>
</div><div><div>_______________________________________________</div><div>Phpwm mailing list</div><div>Website : <a href="http://www.phpwm.org" target="_blank">http://www.phpwm.org</a></div><div>Twitter : <a href="http://www.twitter.com/phpwm" target="_blank">http://www.twitter.com/phpwm</a></div><div>Facebook: <a href="http://www.facebook.com/group.php?gid=2361609907" target="_blank">http://www.facebook.com/group.php?gid=2361609907</a></div><div><br></div><div>Post to list: <a href="mailto:Phpwm@mailman.lug.org.uk">Phpwm@mailman.lug.org.uk</a></div><div>Archive etc : <a href="https://mailman.lug.org.uk/mailman/listinfo/phpwm" target="_blank">https://mailman.lug.org.uk/mailman/listinfo/phpwm</a></div></div></div></span>
                 
                 
                 
                 
                </blockquote>
                 
                <div>
                    <br>
                </div>
            <br>_______________________________________________
Phpwm mailing list
Website : http://www.phpwm.org
Twitter : http://www.twitter.com/phpwm
Facebook: http://www.facebook.com/group.php?gid=2361609907

Post to list: Phpwm@mailman.lug.org.uk
Archive etc : https://mailman.lug.org.uk/mailman/listinfo/phpwm</div>                                               </div></body>
</html>