if (isset($_POST['submitted']) or isset($_POST['h_sys_submitted'])) { // get all variables from form $h_sys = safeEscapeString($_POST["h_sys"]); $name = safeEscapeString($_POST["name"]); $month = safeEscapeString($_POST["month"]); $day = safeEscapeString($_POST["day"]); $year = safeEscapeString($_POST["year"]); $hour = safeEscapeString($_POST["hour"]); $minute = safeEscapeString($_POST["minute"]); $timezone = safeEscapeString($_POST["timezone"]); $long_deg = safeEscapeString($_POST["long_deg"]); $long_min = safeEscapeString($_POST["long_min"]); $ew = safeEscapeString($_POST["ew"]); $lat_deg = safeEscapeString($_POST["lat_deg"]); $lat_min = safeEscapeString($_POST["lat_min"]); $ns = safeEscapeString($_POST["ns"]); // set cookie containing natal data here setcookie('name', stripslashes($name), time() + 60 * 60 * 24 * 30, '/', '', 0); setcookie('month', $month, time() + 60 * 60 * 24 * 30, '/', '', 0); setcookie('day', $day, time() + 60 * 60 * 24 * 30, '/', '', 0); setcookie('year', $year, time() + 60 * 60 * 24 * 30, '/', '', 0); setcookie('hour', $hour, time() + 60 * 60 * 24 * 30, '/', '', 0); setcookie('minute', $minute, time() + 60 * 60 * 24 * 30, '/', '', 0); setcookie('timezone', $timezone, time() + 60 * 60 * 24 * 30, '/', '', 0); setcookie('long_deg', $long_deg, time() + 60 * 60 * 24 * 30, '/', '', 0); setcookie('long_min', $long_min, time() + 60 * 60 * 24 * 30, '/', '', 0); setcookie('ew', $ew, time() + 60 * 60 * 24 * 30, '/', '', 0); setcookie('lat_deg', $lat_deg, time() + 60 * 60 * 24 * 30, '/', '', 0); setcookie('lat_min', $lat_min, time() + 60 * 60 * 24 * 30, '/', '', 0); setcookie('ns', $ns, time() + 60 * 60 * 24 * 30, '/', '', 0); include 'header_natal.html';
$ns1_txt = "s"; } // get all variables from form - Person #2 $name2 = safeEscapeString($_POST["name2"]); $month2 = safeEscapeString($_POST["month2"]); $day2 = safeEscapeString($_POST["day2"]); $year2 = safeEscapeString($_POST["year2"]); $hour2 = safeEscapeString($_POST["hour2"]); $minute2 = safeEscapeString($_POST["minute2"]); $timezone2 = safeEscapeString($_POST["timezone2"]); $long_deg2 = safeEscapeString($_POST["long_deg2"]); $long_min2 = safeEscapeString($_POST["long_min2"]); $ew2 = safeEscapeString($_POST["ew2"]); $lat_deg2 = safeEscapeString($_POST["lat_deg2"]); $lat_min2 = safeEscapeString($_POST["lat_min2"]); $ns2 = safeEscapeString($_POST["ns2"]); // set cookie containing natal data here setcookie('name2', stripslashes($name2), time() + 60 * 60 * 24 * 30, '/', '', 0); setcookie('month2', $month2, time() + 60 * 60 * 24 * 30, '/', '', 0); setcookie('day2', $day2, time() + 60 * 60 * 24 * 30, '/', '', 0); setcookie('year2', $year2, time() + 60 * 60 * 24 * 30, '/', '', 0); setcookie('hour2', $hour2, time() + 60 * 60 * 24 * 30, '/', '', 0); setcookie('minute2', $minute2, time() + 60 * 60 * 24 * 30, '/', '', 0); setcookie('timezone2', $timezone2, time() + 60 * 60 * 24 * 30, '/', '', 0); setcookie('long_deg2', $long_deg2, time() + 60 * 60 * 24 * 30, '/', '', 0); setcookie('long_min2', $long_min2, time() + 60 * 60 * 24 * 30, '/', '', 0); setcookie('ew2', $ew2, time() + 60 * 60 * 24 * 30, '/', '', 0); setcookie('lat_deg2', $lat_deg2, time() + 60 * 60 * 24 * 30, '/', '', 0); setcookie('lat_min2', $lat_min2, time() + 60 * 60 * 24 * 30, '/', '', 0); setcookie('ns2', $ns2, time() + 60 * 60 * 24 * 30, '/', '', 0); include 'header_davison.html';
$name1 = safeEscapeString($_POST["name1"]); $month1 = safeEscapeString($_POST["month1"]); $day1 = safeEscapeString($_POST["day1"]); $year1 = safeEscapeString($_POST["year1"]); $hour1 = safeEscapeString($_POST["hour1"]); $minute1 = safeEscapeString($_POST["minute1"]); $timezone1 = safeEscapeString($_POST["timezone1"]); $long_deg1 = safeEscapeString($_POST["long_deg1"]); $long_min1 = safeEscapeString($_POST["long_min1"]); $ew1 = safeEscapeString($_POST["ew1"]); $lat_deg1 = safeEscapeString($_POST["lat_deg1"]); $lat_min1 = safeEscapeString($_POST["lat_min1"]); $ns1 = safeEscapeString($_POST["ns1"]); $start_month = safeEscapeString($_POST["start_month"]); $start_day = safeEscapeString($_POST["start_day"]); $start_year = safeEscapeString($_POST["start_year"]); // set cookie containing natal data here setcookie('name', stripslashes($name1), time() + 60 * 60 * 24 * 30, '/', '', 0); setcookie('month', $month1, time() + 60 * 60 * 24 * 30, '/', '', 0); setcookie('day', $day1, time() + 60 * 60 * 24 * 30, '/', '', 0); setcookie('year', $year1, time() + 60 * 60 * 24 * 30, '/', '', 0); setcookie('hour', $hour1, time() + 60 * 60 * 24 * 30, '/', '', 0); setcookie('minute', $minute1, time() + 60 * 60 * 24 * 30, '/', '', 0); setcookie('timezone', $timezone1, time() + 60 * 60 * 24 * 30, '/', '', 0); setcookie('long_deg', $long_deg1, time() + 60 * 60 * 24 * 30, '/', '', 0); setcookie('long_min', $long_min1, time() + 60 * 60 * 24 * 30, '/', '', 0); setcookie('ew', $ew1, time() + 60 * 60 * 24 * 30, '/', '', 0); setcookie('lat_deg', $lat_deg1, time() + 60 * 60 * 24 * 30, '/', '', 0); setcookie('lat_min', $lat_min1, time() + 60 * 60 * 24 * 30, '/', '', 0); setcookie('ns', $ns1, time() + 60 * 60 * 24 * 30, '/', '', 0); include 'header_progressions.html';
<?php include "constants.php"; $rx1 = safeEscapeString($_GET["rx1"]); $rx2 = safeEscapeString($_GET["rx2"]); $ubt1 = safeEscapeString($_GET["ubt1"]); $ubt2 = safeEscapeString($_GET["ubt2"]); if ($ubt1 != 0 and $ubt1 != 1) { $ubt1 = 0; } if ($ubt2 != 0 and $ubt2 != 1) { $ubt2 = 0; } if (get_magic_quotes_gpc()) { $longitude1 = unserialize(stripslashes($_GET["p1"])); $hc1 = unserialize(stripslashes($_GET["hc1"])); $longitude2 = unserialize(stripslashes($_GET["p2"])); $hc2 = unserialize(stripslashes($_GET["hc2"])); } else { $longitude1 = unserialize($_GET["p1"]); $hc1 = unserialize($_GET["hc1"]); $longitude2 = unserialize($_GET["p2"]); $hc2 = unserialize($_GET["hc2"]); } if ($ubt1 == 1) { for ($i = 1; $i <= 12; $i++) { $hc1[$i] = ($i - 1) * 30; } $hc1[13] = 0; } if ($ubt2 == 1) {
<?php include "constants.php"; $retrograde1 = safeEscapeString($_GET["rx"]); $retrograde2 = safeEscapeString($_GET["rx2"]); if (get_magic_quotes_gpc()) { $longitude1 = unserialize(stripslashes($_GET["p1"])); $hc1 = unserialize(stripslashes($_GET["hc1"])); $longitude2 = unserialize(stripslashes($_GET["p2"])); $hc2 = unserialize(stripslashes($_GET["hc2"])); } else { $longitude1 = unserialize($_GET["p1"]); $hc1 = unserialize($_GET["hc1"]); $longitude2 = unserialize($_GET["p2"]); $hc2 = unserialize($_GET["hc2"]); } $longitude1[LAST_PLANET + 1] = $hc1[1]; $longitude1[LAST_PLANET + 2] = $hc1[10]; $longitude2[LAST_PLANET + 1] = $hc2[1]; $longitude2[LAST_PLANET + 2] = $hc2[10]; $Ascendant1 = $hc1[1]; $Ascendant2 = $hc2[1]; // set the content-type header("Content-type: image/png"); // create the blank image $overall_size = 640; $im = @imagecreatetruecolor($overall_size, $overall_size) or die("Cannot initialize new GD image stream"); // specify the colors $white = imagecolorallocate($im, 255, 255, 255); $red = imagecolorallocate($im, 255, 0, 0); $blue = imagecolorallocate($im, 0, 0, 255);
<?php include "constants.php"; $rx1 = safeEscapeString($_GET["rx1"]); $rx2 = safeEscapeString($_GET["rx2"]); if (get_magic_quotes_gpc()) { $longitude1 = unserialize(stripslashes($_GET["p1"])); $hc1 = unserialize(stripslashes($_GET["hc1"])); $longitude2 = unserialize(stripslashes($_GET["p2"])); $hc2 = unserialize(stripslashes($_GET["hc2"])); } else { $longitude1 = unserialize($_GET["p1"]); $hc1 = unserialize($_GET["hc1"]); $longitude2 = unserialize($_GET["p2"]); $hc2 = unserialize($_GET["hc2"]); } $longitude1[LAST_PLANET + 1] = $hc1[1]; $longitude1[LAST_PLANET + 2] = $hc1[10]; $longitude2[LAST_PLANET] = 0; //no progressed Vertex // $longitude2[LAST_PLANET + 1] = $hc2[1]; // $longitude2[LAST_PLANET + 2] = $hc2[10]; // set the content-type header("Content-type: image/png"); // create the blank image $overall_size = 475; //add a planet $extra_width = 255 + 100; //in order to make total width = 705 + 125 $margins = 20; //left and right margins on the background graphic
<?php include "constants.php"; $retrograde = safeEscapeString($_GET["rx"]); if (get_magic_quotes_gpc()) { $longitude = unserialize(stripslashes($_GET["p1"])); $hc = unserialize(stripslashes($_GET["hc1"])); } else { $longitude = unserialize($_GET["p1"]); $hc = unserialize($_GET["hc1"]); } $longitude[LAST_PLANET + 1] = $hc[1]; $longitude[LAST_PLANET + 2] = $hc[10]; $Ascendant = $hc[1]; // set the content-type header("Content-type: image/png"); // create the blank image $overall_size = 640; $im = @imagecreatetruecolor($overall_size, $overall_size) or die("Cannot initialize new GD image stream"); // specify the colors $white = imagecolorallocate($im, 255, 255, 255); $red = imagecolorallocate($im, 255, 0, 0); $blue = imagecolorallocate($im, 0, 0, 255); $magenta = imagecolorallocate($im, 255, 0, 255); $yellow = imagecolorallocate($im, 255, 255, 0); $cyan = imagecolorallocate($im, 0, 255, 255); $green = imagecolorallocate($im, 0, 224, 0); $grey = imagecolorallocate($im, 127, 127, 127); $black = imagecolorallocate($im, 0, 0, 0); $lavender = imagecolorallocate($im, 160, 0, 255); $orange = imagecolorallocate($im, 255, 127, 0);
<?php include "constants.php"; $solar_arc = safeEscapeString($_GET["sa"]); if ($solar_arc < 0 or $solar_arc >= 360) { $solar_arc = 0; } if (get_magic_quotes_gpc()) { $longitude1 = unserialize(stripslashes($_GET["p1"])); $hc1 = unserialize(stripslashes($_GET["hc1"])); //$longitude2 = unserialize(stripslashes($_GET["p2"])); $longitude3 = unserialize(stripslashes($_GET["p3"])); } else { $longitude1 = unserialize($_GET["p1"]); $hc1 = unserialize($_GET["hc1"]); //$longitude2 = unserialize($_GET["p2"]); $longitude3 = unserialize($_GET["p3"]); } $longitude1[LAST_PLANET + 1] = $hc1[1]; $longitude1[LAST_PLANET + 2] = $hc1[10]; $Ascendant1 = $hc1[1]; for ($i = 0; $i <= LAST_PLANET; $i++) { $longitude2[$i] = Crunch($longitude1[$i] + $solar_arc); } $longitude2[LAST_PLANET + 1] = Crunch($hc1[1] + $solar_arc); $longitude2[LAST_PLANET + 2] = Crunch($hc1[10] + $solar_arc); // set the content-type header("Content-type: image/png"); // create the blank image $overall_size = 640; $im = @imagecreatetruecolor($overall_size, $overall_size) or die("Cannot initialize new GD image stream");
<?php include "constants.php"; $rx1 = safeEscapeString($_GET["rx1"]); if (get_magic_quotes_gpc()) { $longitude = unserialize(stripslashes($_GET["p1"])); $hc1 = unserialize(stripslashes($_GET["hc1"])); } else { $longitude = unserialize($_GET["p1"]); $hc1 = unserialize($_GET["hc1"]); } $longitude[LAST_PLANET + 1] = $hc1[1]; $longitude[LAST_PLANET + 2] = $hc1[10]; // set the content-type header("Content-type: image/png"); // create the blank image $overall_size = 450; //add a planet $extra_width = 255; //in order to make total width = 680 $margins = 20; //left and right margins on the background graphic $im = @imagecreatetruecolor($overall_size + $extra_width, $overall_size) or die("Cannot initialize new GD image stream"); // specify the colors $white = imagecolorallocate($im, 255, 255, 255); $red = imagecolorallocate($im, 255, 0, 0); $blue = imagecolorallocate($im, 0, 0, 255); $magenta = imagecolorallocate($im, 255, 0, 255); $yellow = imagecolorallocate($im, 255, 255, 0); $cyan = imagecolorallocate($im, 0, 255, 255); $green = imagecolorallocate($im, 0, 224, 0);
if (isset($_POST['submitted']) or isset($_POST['h_sys_submitted'])) { $h_sys = safeEscapeString($_POST["h_sys"]); // get all variables from form - Person #1 $name1 = safeEscapeString($_POST["name1"]); $month1 = safeEscapeString($_POST["month1"]); $day1 = safeEscapeString($_POST["day1"]); $year1 = safeEscapeString($_POST["year1"]); $hour1 = safeEscapeString($_POST["hour1"]); $minute1 = safeEscapeString($_POST["minute1"]); $timezone1 = safeEscapeString($_POST["timezone1"]); $long_deg1 = safeEscapeString($_POST["long_deg1"]); $long_min1 = safeEscapeString($_POST["long_min1"]); $ew1 = safeEscapeString($_POST["ew1"]); $lat_deg1 = safeEscapeString($_POST["lat_deg1"]); $lat_min1 = safeEscapeString($_POST["lat_min1"]); $ns1 = safeEscapeString($_POST["ns1"]); // set cookie containing natal data here setcookie('name', stripslashes($name1), time() + 60 * 60 * 24 * 30, '/', '', 0); setcookie('month', $month1, time() + 60 * 60 * 24 * 30, '/', '', 0); setcookie('day', $day1, time() + 60 * 60 * 24 * 30, '/', '', 0); setcookie('year', $year1, time() + 60 * 60 * 24 * 30, '/', '', 0); setcookie('hour', $hour1, time() + 60 * 60 * 24 * 30, '/', '', 0); setcookie('minute', $minute1, time() + 60 * 60 * 24 * 30, '/', '', 0); setcookie('timezone', $timezone1, time() + 60 * 60 * 24 * 30, '/', '', 0); setcookie('long_deg', $long_deg1, time() + 60 * 60 * 24 * 30, '/', '', 0); setcookie('long_min', $long_min1, time() + 60 * 60 * 24 * 30, '/', '', 0); setcookie('ew', $ew1, time() + 60 * 60 * 24 * 30, '/', '', 0); setcookie('lat_deg', $lat_deg1, time() + 60 * 60 * 24 * 30, '/', '', 0); setcookie('lat_min', $lat_min1, time() + 60 * 60 * 24 * 30, '/', '', 0); setcookie('ns', $ns1, time() + 60 * 60 * 24 * 30, '/', '', 0); include 'header_transits.html';