Source for file PhpUrlConnection.php
Documentation is available at PhpUrlConnection.php
* <b>Class Description</b>: Class representing a URL connection for posting and getting data to and from the DDMS server URL.
* (see {@link package.php} for documentation
* @author Jan van der Breggen
foreach (parse_url($urlString) as $key => $value)
public function getData($controllerString)
$options = array('http' => array('timeout' => $this->timeoutValue, ));
public function postData($controllerString, $data)
$opts = array('http' => array('method' => 'POST', 'header' =>
'Content-type: application/x-www-form-urlencoded', 'content' => $postdata,
echo "to handle these kind of errors, probably with a user notification, and what else?";
$contentsArray = array();
foreach ($data as $value)
$contentsArray["var$variableNumber"] = $value;
|