Search the Community
Showing results for tags 'cookies'.
-
A new European law is coming into force which means that websites must make their users aware of what cookies are and receive some form of consent. Although HelioNetworks (HelioHost and HelioNet) is based within the United States, I would like to clarify how we use cookies at HelioNetworks. By using our services and browsing our website, you are giving consent for us to place cookies on your computer. In case you are not already aware, cookies are little pieces of information that are placed on your computer. We use cookies for a variety of reasons, such as analytics, secure logins, etc. Below is a list of cookies which we have picked up on. Please be aware there may be more that we have not noticed. The below list my change at any time without notification Cookies from heliohost.org __utma __utmb __utmc __utmz _jsuid first_pv_51643 A randomly generated session cookie Cookies from helionet.org helionetcoppa helionetmember_id helionetpass_hash helionetsession_id Cookies from cPanel (stevie.heliohost.org:2082, johnny.heliohost.org:2082, etc) cprelogin cpsession didgettingstarted lang langedit logintheme showdotfiles Cookies from doubleclick.net (Advertising - see the website for details if any) _drt_ id Cookies from getclicky.com & in.getclicky.com & static.getclicky.com (Analytics - see the website for details if any) _cfduid cluid Cookies from invitemedia.com (Advertising - see the website for details if any) camp_freq_p1 exchange_uid impressions_p1 io_freq_p1 subID uid Comments are welcome. Thank you very much. jje HelioNetworks Administrator
-
Has the cpanel login cookie format been changed recently? A script that I've been using for a daily backup of my MySQL database recently stopped working. I originally made the script based on this post: http://www.helionet....4737#entry64737 Currently this is what the script returns: http://10stoptours.c...ipt/buMySQL.php I have included a copy of the source. Thanks, Alex php # Edit email info $to = "Alex <myemal@gmail.com>"; $from = "Automated Backup <dailybackup@10stoptours.com>"; $subject = "Mysql Backup"; $message = "10StopTours.com Mysql GZIP Backup"; # Edit cpanel backup info # login is cpanel login username and password $user_name = "username"; $user_pass = "password"; $database = "username_tours"; $domain = "10stoptours.com"; $url = "http://$domain:2082/getsqlbackup/$database.sql.gz"; $agent = "Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0)"; $cook_file = "curl_login_cookie.txt"; # get file extension $extract = pathinfo($url); $fname = ($extract['basename']); $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, $url); curl_setopt($ch, CURLOPT_HEADER, false); curl_setopt($ch, CURLOPT_REFERER, "http://$domain"); curl_setopt($ch, CURLOPT_USERAGENT, $agent); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true); curl_setopt($ch, CURLOPT_UNRESTRICTED_AUTH, true); curl_setopt($ch, CURLOPT_USERPWD, "$user_name:$user_pass"); curl_setopt($ch, CURLOPT_COOKIEFILE, $cook_file); curl_setopt($ch, CURLOPT_COOKIEJAR, $cook_file); $result = curl_exec($ch); $extract = curl_getinfo($ch); $httpcode = $extract['http_code']; curl_close($ch); if ($httpcode >= 200 && $httpcode < 303) { ####### Email gzip attachment ####### $content = chunk_split(base64_encode($result)); $uid = md5(uniqid(time())); $header = "From: $from\r\n"; $header .= "MIME-Version: 1.0\r\n"; $header .= "Content-Type: multipart/mixed; boundary=\"".$uid."\"\r\n\r\n"; $header .= "This is a multi-part message in MIME format.\r\n"; $header .= "--".$uid."\r\n"; $header .= "Content-type:text/plain; charset=iso-8859-1\r\n"; $header .= "Content-Transfer-Encoding: 7bit\r\n\r\n"; $header .= $message."\r\n\r\n"; $header .= "--".$uid."\r\n"; $header .= "Content-Type: application/x-gzip; name=\"".$fname."\"\r\n"; $header .= "Content-Transfer-Encoding: base64\r\n"; $header .= "Content-Disposition: attachment; filename=\"".$fname."\"\r\n\r\n"; $header .= $content."\r\n\r\n"; $header .= "--".$uid."--"; mail($to, $subject, $message, $header); ####### End email attachment ######## } else { echo "cPanel Login Failed!"; } # delete cookie file if (file_exists($cook_file)) { unlink($cook_file); } ?>