Archive: post

 

Posts Tagged ‘post’


If you are struggling to debug why some ajax, perhaps using jquery etc is working fine when you access the page via http, but if you use https then it fails silently with very little error messaging to work on then this could be your solution. Basically, although you have accessed the page over HTTPS, [...]



 

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 [...]



 

One of the most useful and powerful things you can do with PHP is to create a programme which will simulate a web browser and can grab data, post data to forms and generally interact with other web sites - automatically. For PHP to be able to work like this it must have the CURL [...]