Archive: raw

 

Posts Tagged ‘raw’


If you have a script that is receiving posted XML for whatever reason and are trying to access this XML without any filtering, escaping etc then this is the solution you are looking for. Instead of trying to access via $_POST etc, you can simply call the following: PLAIN TEXT PHP: $xml = file_get_contents('php://input'); This [...]