i am not sure what goes inside of the parenthesis in $ch = curl_init(); on line 8 or 9, any help would be great thanks!
PHP:
<?
require "inc/global.php";
if ($_POST["username"] && $_POST["password"]) {
$_SESSION["username"] = $_POST["username"];
$url = get_url(false, false) ."session.php?username=". urlencode(base64_encode($_POST["username"])) ."&password=". urlencode(base64_encode($_POST["password"])) ."&sessionId=". session_id();
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 30);
curl_setopt($ch, CURLOPT_TIMEOUT, 1);
curl_setopt($ch, CURLOPT_HEADER, false);
curl_exec($ch);
curl_close($ch);
$loggedIn = true;
usleep(3000000);
header("Location: index.php");
exit();
}