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

Carta Astral - Circular

 

      En esta sección tiene acceso a la Carta Astral tipo circular con gráficos. Para una lectura correcta debe introducir todos los datos que se solicitan a continuación de la forma más precisa posible. Si no conoce los datos de forma precisa, puede utilizar las herramientas o direcciones Web que le ofrecemos a continuación.

 

'Elija el mes', 'Enero', 'Febrero', 'Marzo', 'Abril', 'Mayo', 'Junio', 'Julio', 'Agosto', 'Septiembre', 'Octubre', 'Noviembre', 'Diciembre'); $my_error = ""; // check if the form has been submitted 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'); //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", $name, "text", "y", 40); $my_form->add_text_field("Month", $month, "text", "y", 2); $my_form->add_text_field("Day", $day, "text", "y", 2); $my_form->add_text_field("Year", $year, "text", "y", 4); $my_form->add_text_field("Hour", $hour, "text", "y", 2); $my_form->add_text_field("Minute", $minute, "text", "y", 2); $my_form->add_text_field("Time zone", $timezone, "text", "y", 4); $my_form->add_text_field("Longitude degree", $long_deg, "text", "y", 3); $my_form->add_text_field("Longitude minute", $long_min, "text", "y", 2); $my_form->add_text_field("Longitude E/W", $ew, "text", "y", 2); $my_form->add_text_field("Latitude degree", $lat_deg, "text", "y", 2); $my_form->add_text_field("Latitude minute", $lat_min, "text", "y", 2); $my_form->add_text_field("Latitude N/S", $ns, "text", "y", 2); // additional error checks on user-entered data if ($month == 0) { $my_error .= "Por favor, seleccione un mes.
"; } if ($month != "" And $day != "" And $year != "") { if (!$date = checkdate(settype ($month, "integer"), settype ($day, "integer"), settype ($year, "integer"))) { $my_error .= "La fecha de nacimiento que ha introducido no es válida.
"; } } if (($year < 1900) Or ($year >= 2100)) { $my_error .= "Por favor, introduzca un año entre 1900 y 2099.
"; } if (($hour < 0) Or ($hour > 23)) { $my_error .= "Hora de nacimiento debe estar entre 0 y 23.
"; } if (($minute < 0) Or ($minute > 59)) { $my_error .= "Minuto de nacimiento debe estar entre 0 y 59.
"; } if (($long_deg < 0) Or ($long_deg > 179)) { $my_error .= "Los grados de longitud deben estar entre 0 y 179.
"; } if (($long_min < 0) Or ($long_min > 59)) { $my_error .= "Los minutos de longitud deben estar entre 0 y 59.
"; } if (($lat_deg < 0) Or ($lat_deg > 65)) { $my_error .= "Los grados de la latitud deben estar entre 0 y 65 años.
"; } if (($lat_min < 0) Or ($lat_min > 59)) { $my_error .= "Los minutos de la latitud deben estar entre 0 y 59.
"; } if (($ew == '-1') And ($timezone > 2)) { $my_error .= "Has seleccionado una longitud WEST pero el huso horario es del EAST.
"; } if (($ew == '1') And ($timezone < 0)) { $my_error .= "Has seleccionado una longitud EAST pero el huso horario es del WEST.
"; } if ($ew < 0) { $ew_txt = "w"; } else { $ew_txt = "e"; } if ($ns > 0) { $ns_txt = "n"; } else { $ns_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 // calculate astronomic data $swephsrc = 'sweph'; $sweph = 'sweph'; // Unset any variables not initialized elsewhere in the program unset($PATH,$out,$pl_name,$longitude1,$house_pos); //assign data from database to local variables $inmonth = $month; $inday = $day; $inyear = $year; $inhours = $hour; $inmins = $minute; $insecs = "0"; $intz = $timezone; $my_longitude = $ew * ($long_deg + ($long_min / 60)); $my_latitude = $ns * ($lat_deg + ($lat_min / 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)); putenv("PATH=$PATH:$swephsrc"); // get LAST_PLANET planets and all house cusps if (strlen($h_sys) != 1) { $h_sys = "p"; } exec ("swetest -edir$sweph -b$utdatenow -ut$utnow -p0123456789DAttt -eswe -house$my_longitude,$my_latitude,$h_sys -flsj -g, -head", $out); // 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 POSICIONES DE LA CASA DE LOS PLANETAS 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; } } } //display natal data echo "
"; $restored_name = stripslashes($name); echo "Name = $restored_name

"; $secs = "0"; if ($timezone < 0) { $tz = $timezone; } else { $tz = "+" . $timezone; } echo 'Nacid@ ' . strftime("%A, %B %d, %Y
%X (Zona Horaria = GMT $tz hours)

\n", mktime($hour, $minute, $secs, $month, $day, $year)); echo "" . $long_deg . $ew_txt . $long_min . ", " . $lat_deg . $ns_txt . $lat_min . "

"; ?>
"; $hr_ob = $hour; $min_ob = $minute; $ubt1 = 0; if (($hr_ob == 12) And ($min_ob == 0)) { $ubt1 = 1; // this person has an unknown birth time } $ubt2 = $ubt1; $rx1 = ""; for ($i = 0; $i <= SE_TNODE; $i++) { if ($speed1[$i] < 0) { $rx1 .= "R"; } else { $rx1 .= " "; } } $rx2 = $rx1; for ($i = 1; $i <= LAST_PLANET; $i++) { $hc1[$i] = $longitude1[LAST_PLANET + $i]; } // no need to urlencode unless perhaps magic quotes is ON (??) $ser_L1 = serialize($longitude1); $ser_L2 = serialize($longitude1); $ser_hc1 = serialize($hc1); echo "
"; //echo ""; echo ""; echo "

"; echo ""; echo "
"; echo "
"; //display natal data echo '
',"\n"; echo ''; echo ""; echo ""; if ($ubt1 == 1) { echo ""; } else { 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 ""; } } echo ''; } echo ''; echo ""; echo ""; echo ""; echo ""; echo ''; if ($ubt1 == 0) { echo ''; echo ""; echo ""; echo ""; echo ''; for ($i = LAST_PLANET + 1; $i <= LAST_PLANET + 12; $i++) { echo ''; if ($i == LAST_PLANET + 1) { echo ""; } elseif ($i == LAST_PLANET + 10) { echo ""; } else { echo ""; } echo ""; echo ""; echo ''; } } echo '
Planet Longitud   Pos.
Casa
" . $pl_name[$i] . "" . Convert_Longitude($longitude1[$i]) . " " . Mid($rx1, $i + 1, 1) . "      " . $hse . "   " . $hse . "
       
House Longitud  
Ascendant MC (Midheaven) House " . ($i - LAST_PLANET) . "" . Convert_Longitude($longitude1[$i]) . "  
',"\n"; echo "

"; // display natal data - aspect table echo '
',"\n"; echo ''; echo ""; echo ""; echo ""; echo ""; echo ''; // include Ascendant and MC $longitude1[LAST_PLANET + 1] = $hc1[1]; $longitude1[LAST_PLANET + 2] = $hc1[10]; $pl_name[LAST_PLANET + 1] = "Ascendant"; $pl_name[LAST_PLANET + 2] = "Midheaven"; if ($ubt1 == 1) { $a1 = SE_TNODE; } else { $a1 = LAST_PLANET + 2; } for ($i = 0; $i <= $a1; $i++) { echo ""; for ($j = 0; $j <= $a1; $j++) { $q = 0; $da = Abs($longitude1[$i] - $longitude1[$j]); if ($da > 180) { $da = 360 - $da; } // set orb - 8 if Sun or Moon, 6 if not Sun or Moon if ($i == SE_POF Or $j == SE_POF) { $orb = 2; } elseif ($i == SE_LILITH Or $j == SE_LILITH) { $orb = 3; } elseif ($i == SE_TNODE Or $j == SE_TNODE) { $orb = 3; } elseif ($i == SE_VERTEX Or $j == SE_VERTEX) { $orb = 3; } elseif ($i == 0 Or $i == 1 Or $j == 0 Or $j == 1) { $orb = 8; } else { $orb = 6; } // 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 And $i != $j) { // aspect exists echo ''; echo ""; echo ""; echo ""; echo ""; echo ''; } } } echo '
Planet Aspect Planet Orb
 
" . $pl_name[$i] . "" . $asp_name[$q] . "" . $pl_name[$j] . "" . sprintf("%.2f", abs($dax)) . "
',"\n"; echo "

"; if (EMAIL_enabled == True) { @mail(EMAIL, "Natal Report", ""); } //display the natal chart report echo '
'; echo ''; echo '
'; //display philosophy of astrology echo "
MI FILOSOFIA DE LA ASTROLOGIA
"; $file = "natal_files/philo.txt"; $fh = fopen($file, "r"); $string = fread($fh, filesize($file)); fclose($fh); $philo = nl2br($string); echo "" . $philo . ""; if ($ubt1 == 0) { //display rising sign interpretation //get header first echo "
EL ASCENDENTE O EL SIGNO CRECIENTE
"; $file = "natal_files/ascsign.txt"; $fh = fopen($file, "r"); $string = fread($fh, filesize($file)); fclose($fh); echo "
"; echo "" . $string . ""; echo "

" . " Su Ascendente es:

" . "
"; $s_pos = floor($hc1[1] / 30) + 1; $phrase_to_look_for = $sign_name[$s_pos] . " rising"; $file = "natal_files/rising.txt"; $string = Find_Specific_Report_Paragraph($phrase_to_look_for, $file); $string = nl2br($string); echo "" . $string . ""; } //display planet in sign interpretation //get header first echo "
POSICIONES DE LOS PLANETAS
"; $file = "natal_files/sign.txt"; $fh = fopen($file, "r"); $string = fread($fh, filesize($file)); fclose($fh); $string = nl2br($string); $sign_interp = $string; // loop through each planet for ($i = 0; $i <= 6; $i++) { $s_pos = floor($longitude1[$i] / 30) + 1; $deg = Reduce_below_30($longitude1[$i]); if ($ubt1 == 1 And $i == 1 And ($deg < 7.7 Or $deg > 22.3)) { continue; //if the Moon is too close to the beginning or the end of a sign, then do not include it } $phrase_to_look_for = $pl_name[$i] . " in"; $file = "natal_files/sign_" . trim($s_pos) . ".txt"; $string = Find_Specific_Report_Paragraph($phrase_to_look_for, $file); $string = nl2br($string); $sign_interp .= $string; } echo "" . $sign_interp . ""; if ($ubt1 == 0) { //display planet in house interpretation //get header first echo "
POSICIONES DE LA CASA DE LOS PLANETAS
"; $file = "natal_files/house.txt"; $fh = fopen($file, "r"); $string = fread($fh, filesize($file)); fclose($fh); $string = nl2br($string); $house_interp = $string; // loop through each planet for ($i = 0; $i <= 9; $i++) { $h_pos = $house_pos1[$i]; $phrase_to_look_for = $pl_name[$i] . " in"; $file = "natal_files/house_" . trim($h_pos) . ".txt"; $string = Find_Specific_Report_Paragraph($phrase_to_look_for, $file); $string = nl2br($string); $house_interp .= $string; } echo "" . $house_interp . ""; } //display planetary aspect interpretations //get header first echo "
LOS ASPECTOS PLANETARIOS
"; $file = "natal_files/aspect.txt"; $fh = fopen($file, "r"); $string = fread($fh, filesize($file)); fclose($fh); $string = nl2br($string); $p_aspect_interp = $string; echo "" . $p_aspect_interp . ""; // loop through each planet for ($i = 0; $i <= 8; $i++) { for ($j = $i + 1; $j <= 9; $j++) { if (($i == 1 Or $j == 1 Or $j == 10) And $ubt1 == 1) { continue; // do not allow Moon aspects or Ascendant aspects if birth time is unknown } $da = Abs($longitude1[$i] - $longitude1[$j]); if ($da > 180) { $da = 360 - $da; } // set orb - 8 if Sun or Moon, 6 if not Sun or Moon if ($i == 0 Or $i == 1 Or $j == 0 Or $j == 1) { $orb = 8; } else { $orb = 6; } // 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 = " blending with "; } elseif ($q == 3 Or $q == 5) { $aspect = " harmonizing with "; } elseif ($q == 4 Or $q == 6) { $aspect = " discordant to "; } $phrase_to_look_for = $pl_name[$i] . $aspect . $pl_name[$j]; $file = "natal_files/" . strtolower($pl_name[$i]) . ".txt"; $string = Find_Specific_Report_Paragraph($phrase_to_look_for, $file); $string = nl2br($string); echo "" . $string . ""; } } } //display closing echo "
COMENTARIOS DE CIERRE
"; if ($ubt1 == 1) { $file = "natal_files/closing_unk.txt"; } else { $file = "natal_files/closing.txt"; } $fh = fopen($file, "r"); $string = fread($fh, filesize($file)); fclose($fh); $closing = nl2br($string); echo "" . $closing . ""; echo '
'; echo "

"; include ('footer_natal.html'); exit(); } } else { include ('header_natal.html'); //here because of cookies $name = stripslashes($_COOKIE['name']); $month = $_COOKIE['month']; $day = $_COOKIE['day']; $year = $_COOKIE['year']; $hour = $_COOKIE['hour']; $minute = $_COOKIE['minute']; $timezone = $_COOKIE['timezone']; $long_deg = $_COOKIE["long_deg"]; $long_min = $_COOKIE["long_min"]; $ew = $_COOKIE["ew"]; $lat_deg = $_COOKIE["lat_deg"]; $lat_min = $_COOKIE["lat_min"]; $ns = $_COOKIE["ns"]; } ?>
 

Carta Astral Circular Gratis

  

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) { $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) { $string .= "" . $file_array[$i] . ""; } 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