Tag Archives: php

XML over POST with php

$ch = curl_init(); curl_setopt($ch, CURLOPT_HEADER, 0); curl_setopt($ch, CURLOPT_RETURNTRANSFER,1); curl_setopt($ch, CURLOPT_URL, “http://websiteURL”); curl_setopt($ch, CURLOPT_POST, 1); curl_setopt($ch, CURLOPT_POSTFIELDS, “XML=”.$xmlcontent.”&password=”.$password.”&etc=etc”); $content=curl_exec($ch);

Posted in PHP | Tagged , , , | Comments Off

Joomla install with php running as nobody

Use this from command Line > chown -R nobody . Don’t forget to change the owner back to the account or ftp won’t work – never good comes from the instructions here: http://help.joomla.org/content/view/40/132/

Posted in Joomla, Unix | Tagged , , | Comments Off