Jump to content

how to capture CURL / XML data with Apache or PHP?


SoftDux

Recommended Posts

 

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 

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.