SoftDux Posted December 9, 2009 Share Posted December 9, 2009 Hi, I'm developing a gateway script that needs to send info to another provider's server, and I need to debug the code. Is there a way, on my own Linux + Apache + PHP server to capture the CURL / XML data from this script? I know with PHP, that I could see for example the $_POST, $_GET or $_REQUEST data in a script, but with CURL I don't actually get to the http://intranet/capture.php script in my browser - so this doesn't work. Is there any other way, with a script on the server to capture everything that's passed to the server, and dump it to a database / flat file? I even tried monitoring /var/logs/http/access_log on the Linux server, but it didn't reveal much Link to comment https://forums.phpfreaks.com/topic/184516-how-to-capture-curl-xml-data-with-apache-or-php/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.