Archive: xml

 

Posts Tagged ‘xml’


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



 

Had another tearing hair out moment when trying to figure out why my helper override was working fine, but my block override wasn't working. Here is the result: helper working, block not working: PLAIN TEXT XML: <?xml version="1.0"?> <config>     <modules>         <EC_CatalogSearch>             <version>0.1.0</version>   [...]



 

After a few hours of intense googling I have finally figured out why my Magento custom module is refusing to activate. I finally figured it out. It's all because the snippet of XML that I copied and pasted off a tutorial somewhere did not have the right capitalisation. doesn't work - EC_All.xml PLAIN TEXT XML: [...]