$url = "http://wiki.internal.dev.mw.yellow/api.php";
$parameters = "?action=login&lgname=WikiSysop&lgpassword=nohanlon";
$whole_url = $url . $parameters;
$ch = curl_init($whole_url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
$result = curl_exec($ch);
curl_close($ch);
echo $result;
?>
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment