Astrologia, Carta Astral
 
Carta astral
Inicio
¿Que es la Astrología?
¿Que es la Carta Astral?
  Carta Astral - Lineal
  Carta Astral - Circular
  Carta Astral - Circular 2
  Carta Astral - Con Grados Sabianos
  Sinastría de parejas - Lineal
  Sinastría de parejas - Circular
  Carta Astral parejas - Lineal
  Carta Astral parejas - Circular
  Carta Astral Davison - Lineal
  Carta Astral Davison - Circular
  Tránsitos - Ahora (Lineal)
  Tránsitos - Ahora (Circular)
  Tránsitos - Cualquier fecha Lineal
  Tránsitos - Cualquier fecha Circular
  Progresiones - Lineal
  Progresiones - Circular
  Tránsitos y progresiones - Circular
  Arco Solar - Lineal
  Arco Solar - Circular
  Tránsitos + Arco Solar - Circular
  Situación de los Planetas
  Aspectos lunares
  Horas planetarias
  Conjunciones en astrología

Cálculo de Tránsitos - Lineal Ahora

 

      El Tránsito planetario es el movimiento de un planeta a través del zodiaco a lo largo del tiempo. Numerosos estudios astrológicos trabajan en demostrar los influjos que los astros pueden tener sobre nuestras tendencias vitales dependiendo del signo zodiacal sobre el que ejercen su influencia. Cada planeta tiene un ámbito de acción concreto que repercute de un modo u otro sobre el signo zodiacal y, por tanto, sobre el individuo poseedor de este signo. El horóscopo de tránsitos muestra dónde se encuentran los planetas en un momento determinado en relación con la posición que ocupaban en el momento del nacimiento.

 

'Elija el mes', 'Enero', 'Febrero', 'Marzo', 'Abril', 'Mayo', 'Junio', 'Julio', 'Agosto', 'Septiembre', 'Octubre', 'Noviembre', 'Diciembre'); $my_error = ""; $no_interps = False; //set this to False when you want interpretations // check if the form has been submitted 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'); //here because of setting cookies above include("validation_class.php"); //error check $my_form = new Validate_fields; $my_form->check_4html = true; $my_form->add_text_field("Name #1", $name1, "text", "y", 40); $my_form->add_text_field("Month #1", $month1, "text", "y", 2); $my_form->add_text_field("Day #1", $day1, "text", "y", 2); $my_form->add_text_field("Year #1", $year1, "text", "y", 4); $my_form->add_text_field("Hour #1", $hour1, "text", "y", 2); $my_form->add_text_field("Minute #1", $minute1, "text", "y", 2); $my_form->add_text_field("Time zone #1", $timezone1, "text", "y", 4); $my_form->add_text_field("Longitude degree #1", $long_deg1, "text", "y", 3); $my_form->add_text_field("Longitude minute #1", $long_min1, "text", "y", 2); $my_form->add_text_field("Longitude E/W #1", $ew1, "text", "y", 2); $my_form->add_text_field("Latitude degree #1", $lat_deg1, "text", "y", 2); $my_form->add_text_field("Latitude minute #1", $lat_min1, "text", "y", 2); $my_form->add_text_field("Latitude N/S #1", $ns1, "text", "y", 2); // additional error checks on user-entered data if ($month1 != "" And $day1 != "" And $year1 != "") { if (!$date = checkdate($month1, $day1, $year1)) { $my_error .= "La fecha de nacimiento que ha introducido no es válida.
"; } } if (($year1 < 1900) Or ($year1 >= 2100)) { $my_error .= "Por favor entra un año entre 1900 y 2099.
"; } if (($hour1 < 0) Or ($hour1 > 23)) { $my_error .= "Hora de nacimiento debe estar entre 0 y 23.
"; } if (($minute1 < 0) Or ($minute1 > 59)) { $my_error .= "Minuto de nacimiento debe estar entre 0 y 59.
"; } if (($long_deg1 < 0) Or ($long_deg1 > 179)) { $my_error .= "Los grados de longitud deben estar entre 0 y 179.
"; } if (($long_min1 < 0) Or ($long_min1 > 59)) { $my_error .= "Los minutos de longitud deben estar entre 0 y 59.
"; } if (($lat_deg1 < 0) Or ($lat_deg1 > 65)) { $my_error .= "Los grados de la latitud deben estar entre 0 y 65 años.
"; } if (($lat_min1 < 0) Or ($lat_min1 > 59)) { $my_error .= "Los minutos de la latitud deben estar entre 0 y 59.
"; } if (($ew1 == '-1') And ($timezone1 > 2)) { $my_error .= "Has seleccionado una longitud WEST pero el huso horario es del EAST.
"; } if (($ew1 == '1') And ($timezone1 < 0)) { $my_error .= "Has seleccionado una longitud EAST pero el huso horario es del WEST.
"; } if ($ew1 < 0) { $ew1_txt = "w"; } else { $ew1_txt = "e"; } if ($ns1 > 0) { $ns1_txt = "n"; } else { $ns1_txt = "s"; } $validation_error = $my_form->validation(); if ((!$validation_error) || ($my_error != "")) { $error = $my_form->create_msg(); echo "

"; echo "Se han detectado los siguientes errores:
"; if ($error) { echo $error . $my_error; } else { echo $error . "
" . $my_error; } echo ""; echo "
Por favor, introduzca sus datos de su zona horaria. GRACIAS.

"; echo "
"; echo "
"; } else { // no errors in filling out form, so process form $swephsrc = 'sweph'; $sweph = 'sweph'; putenv("PATH=$PATH:$swephsrc"); if (strlen($h_sys) != 1) { $h_sys = "p"; } //Person 1 calculations // Unset any variables not initialized elsewhere in the program unset($PATH,$out,$pl_name,$longitude1,$house_pos1); $inmonth = $month1; $inday = $day1; $inyear = $year1; $inhours = $hour1; $inmins = $minute1; $insecs = "0"; $intz = $timezone1; $my_longitude = $ew1 * ($long_deg1 + ($long_min1 / 60)); $my_latitude = $ns1 * ($lat_deg1 + ($lat_min1 / 60)); if ($intz >= 0) { $whole = floor($intz); $fraction = $intz - floor($intz); } else { $whole = ceil($intz); $fraction = $intz - ceil($intz); } $inhours = $inhours - $whole; $inmins = $inmins - ($fraction * 60); // adjust date and time for minus hour due to time zone taking the hour negative $utdatenow = strftime("%d.%m.%Y", mktime($inhours, $inmins, $insecs, $inmonth, $inday, $inyear)); $utnow = strftime("%H:%M:%S", mktime($inhours, $inmins, $insecs, $inmonth, $inday, $inyear)); exec ("swetest -edir$sweph -b$utdatenow -ut$utnow -p0123456789DAttt -eswe -house$my_longitude,$my_latitude,$h_sys -flsj -g, -head", $out); //add a planet // Each line of output data from swetest is exploded into array $row, giving these elements: // 0 = longitude // 1 = speed // 2 = house position // planets are index 0 - index (LAST_PLANET), house cusps are index (LAST_PLANET + 1) - (LAST_PLANET + 12) foreach ($out as $key => $line) { $row = explode(',',$line); $longitude1[$key] = $row[0]; $speed1[$key] = $row[1]; $house_pos1[$key] = $row[2]; }; include("constants.php"); // this is here because we must rename the planet names //calculate the Part of Fortune //is this a day chart or a night chart? if ($longitude1[LAST_PLANET + 1] > $longitude1[LAST_PLANET + 7]) { if ($longitude1[0] <= $longitude1[LAST_PLANET + 1] And $longitude1[0] > $longitude1[LAST_PLANET + 7]) { $day_chart = True; } else { $day_chart = False; } } else { if ($longitude1[0] > $longitude1[LAST_PLANET + 1] And $longitude1[0] <= $longitude1[LAST_PLANET + 7]) { $day_chart = False; } else { $day_chart = True; } } if ($day_chart == True) { $longitude1[SE_POF] = $longitude1[LAST_PLANET + 1] + $longitude1[1] - $longitude1[0]; } else { $longitude1[SE_POF] = $longitude1[LAST_PLANET + 1] - $longitude1[1] + $longitude1[0]; } if ($longitude1[SE_POF] >= 360) { $longitude1[SE_POF] = $longitude1[SE_POF] - 360; } if ($longitude1[SE_POF] < 0) { $longitude1[SE_POF] = $longitude1[SE_POF] + 360; } //add a planet - maybe some code needs to be put here //capture the Vertex longitude $longitude1[LAST_PLANET] = $longitude1[LAST_PLANET + 16]; //Asc = +13, MC = +14, RAMC = +15, Vertex = +16 //get house positions of planets here for ($x = 1; $x <= 12; $x++) { for ($y = 0; $y <= LAST_PLANET; $y++) { $pl = $longitude1[$y] + (1 / 36000); if ($x < 12 And $longitude1[$x + LAST_PLANET] > $longitude1[$x + LAST_PLANET + 1]) { If (($pl >= $longitude1[$x + LAST_PLANET] And $pl < 360) Or ($pl < $longitude1[$x + LAST_PLANET + 1] And $pl >= 0)) { $house_pos1[$y] = $x; continue; } } if ($x == 12 And ($longitude1[$x + LAST_PLANET] > $longitude1[LAST_PLANET + 1])) { if (($pl >= $longitude1[$x + LAST_PLANET] And $pl < 360) Or ($pl < $longitude1[LAST_PLANET + 1] And $pl >= 0)) { $house_pos1[$y] = $x; } continue; } if (($pl >= $longitude1[$x + LAST_PLANET]) And ($pl < $longitude1[$x + LAST_PLANET + 1]) And ($x < 12)) { $house_pos1[$y] = $x; continue; } if (($pl >= $longitude1[$x + LAST_PLANET]) And ($pl < $longitude1[LAST_PLANET + 1]) And ($x == 12)) { $house_pos1[$y] = $x; } } } //Transit calculations // Unset any variables not initialized elsewhere in the program unset($out,$longitude2,$speed2); // get all variables from form - Transits $name2 = "Transits"; $month2 = gmdate("m"); $day2 = gmdate("d"); $year2 = gmdate("Y"); $hour2 = gmdate("H"); $minute2 = gmdate("i"); $timezone2 = 0; //assign data from database to local variables $inmonth = $month2; $inday = $day2; $inyear = $year2; $inhours = $hour2; $inmins = $minute2; $insecs = "0"; $intz = $timezone2; // adjust date and time for minus hour due to time zone taking the hour negative $utdatenow = strftime("%d.%m.%Y", mktime($inhours, $inmins, $insecs, $inmonth, $inday, $inyear)); $utnow = strftime("%H:%M:%S", mktime($inhours, $inmins, $insecs, $inmonth, $inday, $inyear)); exec ("swetest -edir$sweph -b$utdatenow -ut$utnow -p0123456789DAttt -eswe -fls -g, -head", $out); //add a planet // Each line of output data from swetest is exploded into array $row, giving these elements: // 0 = longitude // 1 = speed // planets are index 0 - index (LAST_PLANET), house cusps are index (LAST_PLANET + 1) - (LAST_PLANET + 12) foreach ($out as $key => $line) { $row = explode(',',$line); $longitude2[$key] = $row[0]; $speed2[$key] = $row[1]; }; //add a planet - maybe some code needs to be put here //display natal data $secs = "0"; if ($timezone1 < 0) { $tz1 = $timezone1; } else { $tz1 = "+" . $timezone1; } if ($timezone2 < 0) { $tz2 = $timezone2; } else { $tz2 = "+" . $timezone2; } $name_without_slashes = stripslashes($name1); echo "
"; echo "$name_without_slashes
"; echo 'Nacid@ ' . strftime("%A, %B %d, %Y
%X (Zona Horaria = GMT $tz1 hours)

\n", mktime($hour1, $minute1, $secs, $month1, $day1, $year1)); echo "" . $long_deg1 . $ew1_txt . $long_min1 . ", " . $lat_deg1 . $ns1_txt . $lat_min1 . "

"; echo "$name2
"; echo 'On ' . strftime("%A, %B %d, %Y
%X (Zona Horaria = GMT)

\n", mktime($hour2, $minute2, $secs, $month2, $day2, $year2)); echo "
"; ?>
"; $hr_ob1 = $hour1; $min_ob1 = $minute1; $ubt1 = 0; if (($hr_ob1 == 12) And ($min_ob1 == 0)) { $ubt1 = 1; // this person has an unknown birth time } $hr_ob2 = $hour2; $min_ob2 = $minute2; $ubt2 = 1; //always assume an unknown time $rx1 = ""; for ($i = 0; $i <= SE_TNODE; $i++) { if ($speed1[$i] < 0) { $rx1 .= "R"; } else { $rx1 .= " "; } } $rx2 = ""; for ($i = 0; $i <= SE_TNODE; $i++) { if ($speed2[$i] < 0) { $rx2 .= "R"; } else { $rx2 .= " "; } } // to make GET string shorter for ($i = 0; $i <= LAST_PLANET; $i++) { $L1[$i] = $longitude1[$i]; $L2[$i] = $longitude2[$i]; } for ($i = 1; $i <= LAST_PLANET; $i++) { $hc1[$i] = $longitude1[LAST_PLANET + $i]; $hc2[$i] = $longitude2[LAST_PLANET + $i]; } // no need to urlencode unless perhaps magic quotes is ON (??) $ser_L1 = serialize($L1); $ser_hc1 = serialize($hc1); $ser_L2 = serialize($L2); $ser_hc2 = serialize($hc2); echo "
"; echo ""; echo "
"; echo "
"; // display all data - planets echo '
',"\n"; echo ''; echo ""; echo ""; if ($ubt1 == 1) { echo ""; } else { echo ""; } echo ""; echo ""; echo ''; if ($ubt1 == 1) { $a1 = SE_TNODE; } else { $a1 = LAST_PLANET; } for ($i = 0; $i <= $a1; $i++) { echo ''; echo ""; echo ""; if ($ubt1 == 1) { echo ""; } else { $hse = floor($house_pos1[$i]); if ($hse < 10) { echo ""; } else { echo ""; } } if ($i <= LAST_PLANET - 2) { echo ""; } else { echo ""; } if ($i <= LAST_PLANET - 2) { echo ""; } else { echo ""; } echo ''; } echo ''; echo ""; echo ""; echo ""; echo ""; echo ''; // display house cusps if ($ubt1 == 0) { echo ''; echo ""; echo ""; echo ''; for ($i = 1; $i <= 12; $i++) { echo ''; if ($i == 1) { echo ""; } elseif ($i == 10) { echo ""; } else { echo ""; } echo ""; echo ''; } } echo '
Natal Longitud   Pos.
Casa
Transits Longitud
" . $pl_name[$i] . "" . Convert_Longitude($L1[$i]) . " " . Mid($rx1, $i + 1, 1) . "      " . $hse . "   " . $hse . "" . $pl_name[$i] . "   " . Convert_Longitude($L2[$i]) . " " . Mid($rx2, $i + 1, 1) . "  
       
House Longitud
Ascendant MC (Midheaven) House " . ($i) . "" . Convert_Longitude($hc1[$i]) . "
',"\n"; echo "

"; // display transit data - aspect table $asp_name[1] = "Conjunction"; $asp_name[2] = "Opposition"; $asp_name[3] = "Trine"; $asp_name[4] = "Square"; $asp_name[5] = "Quincunx"; $asp_name[6] = "Sextile"; echo '
',"\n"; echo ''; echo ""; echo ""; echo ""; echo ""; echo ''; // include Ascendant and MC $L1[LAST_PLANET + 1] = $hc1[1]; $L1[LAST_PLANET + 2] = $hc1[10]; $pl_name[LAST_PLANET + 1] = "Ascendant"; $pl_name[LAST_PLANET + 2] = "Midheaven"; for ($i = 0; $i <= LAST_PLANET - 2; $i++) { echo ""; for ($j = 0; $j <= LAST_PLANET + 2; $j++) { $q = 0; $da = Abs($L2[$i] - $L1[$j]); if ($da > 180) { $da = 360 - $da; } $orb = 2; // is there an aspect within orb? if ($da <= $orb) { $q = 1; $dax = $da; } elseif (($da <= (60 + $orb)) And ($da >= (60 - $orb))) { $q = 6; $dax = $da - 60; } elseif (($da <= (90 + $orb)) And ($da >= (90 - $orb))) { $q = 4; $dax = $da - 90; } elseif (($da <= (120 + $orb)) And ($da >= (120 - $orb))) { $q = 3; $dax = $da - 120; } elseif (($da <= (150 + $orb)) And ($da >= (150 - $orb))) { $q = 5; $dax = $da - 150; } elseif ($da >= (180 - $orb)) { $q = 2; $dax = 180 - $da; } if ($q > 0) { // aspect exists echo ''; echo ""; echo ""; echo ""; echo ""; echo ''; } } } echo '
Transits Aspect Natal Planet Orb
 
" . $pl_name[$i] . "" . $asp_name[$q] . "" . $pl_name[$j] . "" . sprintf("%.2f", abs($dax)) . "
',"\n"; echo "

"; //display the transit chart report if ($no_interps == True) { include ('footer.html'); exit(); } else { echo '
'; echo ''; echo '
'; //display philosophy of astrology echo "
PLANETARY TRANSIT ASPECTS
"; $file = "transit_files/aspect.txt"; $fh = fopen($file, "r"); $string = fread($fh, filesize($file)); fclose($fh); $p_aspect_interp = nl2br($string); echo "" . $p_aspect_interp . ""; // loop through each planet for ($i = 0; $i <= 5; $i++) { for ($j = 0; $j <= 9; $j++) { if (($i == 1) Or ($j == 1 And $ubt1 == 1)) { continue; // do not allow Moon aspects for transit planets, or for natal planets if birth time is unknown } $da = Abs($L2[$i] - $L1[$j]); if ($da > 180) { $da = 360 - $da; } $orb = 2.0; //orb = 2.0 degree // are planets within orb? $q = 1; if ($da <= $orb) { $q = 2; } elseif (($da <= 60 + $orb) And ($da >= 60 - $orb)) { $q = 3; } elseif (($da <= 90 + $orb) And ($da >= 90 - $orb)) { $q = 4; } elseif (($da <= 120 + $orb) And ($da >= 120 - $orb)) { $q = 5; } elseif ($da >= 180 - $orb) { $q = 6; } if ($q > 1) { if ($q == 2) { $aspect = " Conjunct "; } elseif ($q == 6) { $aspect = " Opposite "; } elseif ($q == 3) { $aspect = " Sextile "; } elseif ($q == 4) { $aspect = " Square "; } elseif ($q == 5) { $aspect = " Trine "; } $phrase_to_look_for = $pl_name[$i] . $aspect . $pl_name[$j]; $file = "transit_files/" . strtolower($pl_name[$i]) . "_tr.txt"; $string = Find_Specific_Report_Paragraph($phrase_to_look_for, $file, $pl_name[$i], $aspect, $pl_name[$j], $L2[$i], $speed2[$i]); $string = nl2br($string); echo "" . $string . ""; } } } //display closing $file = "transit_files/closing.txt"; $fh = fopen($file, "r"); $string = fread($fh, filesize($file)); fclose($fh); $closing = nl2br($string); echo "" . $closing . ""; echo '
'; echo "

"; @mail(EMAIL, "Now", ""); include ('footer.html'); exit(); } } } else { include ('header_transits.html'); //here because of cookies $name1 = stripslashes($_COOKIE['name']); $month1 = $_COOKIE['month']; $day1 = $_COOKIE['day']; $year1 = $_COOKIE['year']; $hour1 = $_COOKIE['hour']; $minute1 = $_COOKIE['minute']; $timezone1 = $_COOKIE['timezone']; $long_deg1 = $_COOKIE["long_deg"]; $long_min1 = $_COOKIE["long_min"]; $ew1 = $_COOKIE["ew"]; $lat_deg1 = $_COOKIE["lat_deg"]; $lat_min1 = $_COOKIE["lat_min"]; $ns1 = $_COOKIE["ns"]; } ?>
 

Tránsito Lineal para ahora mismo

  

Todos los campos son obligatorios


Nombre:

F.Nacimiento:

de '; foreach ($months as $key => $value) { echo "\n"; } echo ''; ?> de (Sólo son válidos los años entre 1900 hasta 2099)

H.Nacimiento:

:
(Formato de 24 horas. Si no conoce la Hora de Nacimiento, escriba 12:00)
(Si nació justo a las 12:00, escriba 11:59 ó 12:01. Las 12:00 es para horas desconocidas)

 

IMPORTANTE: En Zonas Horarias del Oeste,  las longitudes son menores (-).
                         En Zonas Horarias del Este, las longitudes son mayores (+).

Zona Horaria:


(ejemplo: Madrid-España está en "GMT +01:00 hrs" (Horario de Verano).
Sume 1 hora si el Horario de verano estaba operativo cuando nació.

 

Longitud:

, (ejemplo: Barcelona está en 2,11 E, Sydney está en 151,13 E

Latitud:

, (ejemplo: Barcelona está en 41,23 N, Sydney está en 33,52 S)

Muchas personas se equivocan con la selección de la Zona Horaria y en la Longitud y la Latitud.

Para que los datos sean exactos esté seguro que su selección es correcta.



= 30) { $lng = $lng - 30; } return $lng; } Function Convert_Longitude($longitude) { $signs = array (0 => 'Ari', 'Tau', 'Gem', 'Can', 'Leo', 'Vir', 'Lib', 'Sco', 'Sag', 'Cap', 'Aqu', 'Pis'); $sign_num = floor($longitude / 30); $pos_in_sign = $longitude - ($sign_num * 30); $deg = floor($pos_in_sign); $full_min = ($pos_in_sign - $deg) * 60; $min = floor($full_min); $full_sec = round(($full_min - $min) * 60); if ($deg < 10) { $deg = "0" . $deg; } if ($min < 10) { $min = "0" . $min; } if ($full_sec < 10) { $full_sec = "0" . $full_sec; } return $deg . " " . $signs[$sign_num] . " " . $min . "' " . $full_sec . chr(34); } Function mid($midstring, $midstart, $midlength) { return(substr($midstring, $midstart-1, $midlength)); } Function safeEscapeString($string) { // replace HTML tags '<>' with '[]' $temp1 = str_replace("<", "[", $string); $temp2 = str_replace(">", "]", $temp1); // but keep
or
// turn
into
so later it will be turned into "" // using just
will add extra blank lines $temp1 = str_replace("[br]", "
", $temp2); $temp2 = str_replace("[br /]", "
", $temp1); if (get_magic_quotes_gpc()) { return $temp2; } else { return mysql_escape_string($temp2); } } Function Find_Specific_Report_Paragraph($phrase_to_look_for, $file, $pl1_name, $aspect, $pl2_name, $pl_pos, $pl_speed) { $string = ""; $len = strlen($phrase_to_look_for); //put entire file contents into an array, line by line $file_array = file($file); // look through each line searching for $phrase_to_look_for for($i = 0; $i < count($file_array); $i++) { if (left(trim($file_array[$i]), $len) == $phrase_to_look_for) { $flag = 0; while (trim($file_array[$i]) != "*") { if ($flag == 0) { if ($pl_speed < 0) { //retrograde $string .= "" . $pl1_name . $aspect . $pl2_name . " - " . $pl1_name . " (Rx) at " . Convert_Longitude($pl_pos) . "
"; } else { $string .= "" . $pl1_name . $aspect . $pl2_name . " - " . $pl1_name . " at " . Convert_Longitude($pl_pos) . "
"; } } else { $string .= $file_array[$i]; } $flag = 1; $i++; } break; } } return $string; } ?>



www.mundoastrologia.com  - Copyright © - Todos los derechos reservados- © - Protección de datos- Política de privacidad   Sitemap      Diseño Web