Foros del Web » Programando para Internet » PHP »

Problema, Ayuda por favor!

Estas en el tema de Problema, Ayuda por favor! en el foro de PHP en Foros del Web. Hola, lo que pasa es que estoy haciendo un sitio web y me aparece esto un una parte de la pagina: Código PHP: Warning :  ...
  #1 (permalink)  
Antiguo 04/07/2009, 08:27
 
Fecha de Ingreso: mayo-2009
Mensajes: 43
Antigüedad: 14 años, 11 meses
Puntos: 0
Exclamación Problema, Ayuda por favor!

Hola, lo que pasa es que estoy haciendo un sitio web y me aparece esto un una parte de la pagina:

Código PHP:
Warningset_time_limit() has been disabled for security reasons in /home/a6858876/public_html/lc.php on line 17 
Aca les dejo el archivo lc.php:

Código PHP:
//Override PHP's stardard time limit
        set_time_limit(120);
        $maxlinks = 300;
        //Lets use this as a function to visit the site.    
        function curl($link, $post='0')
        {
            $ch = curl_init($link);
            curl_setopt($ch, CURLOPT_HEADER, 0);
            curl_setopt($ch, CURLOPT_COOKIEJAR, "");
            curl_setopt($ch, CURLOPT_COOKIEFILE, "");
            curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1);
            curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
            if($post != '0') {
                curl_setopt($ch, CURLOPT_POST, 1);
                curl_setopt($ch, CURLOPT_POSTFIELDS, $post);
            }
            $page = curl_exec($ch);
            return($page);
            curl_close($ch);
        }
        
        
        function check($link, $x, $regex, $pattern='', $replace='') {
            if(!empty($pattern)) {
                $link = preg_replace($pattern, $replace, $link);
            }
            $page = curl($link);
            $link = htmlentities($link, ENT_QUOTES);
            flush();
            ob_flush();
            if($_POST['d'] && eregi($regex, $page)) {
                echo "<div class=\"g\"><a href=\"$link\"><b>$link</b></a></div>\n";  
            } elseif($_POST['d'] && eregi("El archivo que intenta checkear esta momentaneamente no disponible.", $page)) {
                echo "<div class=\"y\"><a href=\"$link\"><b>$link</b></a></div>\n";
            } elseif($_POST['d'] && !eregi($regex, $page)) {
                echo "<div class=\"r\"><a href=\"$link\"><b>$link</b></a></div>\n";            
            } elseif(!$_POST['d'] && eregi($regex, $page)) {
                echo "<div class=\"g\">$x: Link activo: <a href=\"$link\"><b>$link</b></a></div>\n";  
            } elseif(!$_POST['d'] && eregi("El archivo que intenta checkear esta momentaneamente no disponible.", $page)) {
                echo "<div class=\"y\">$x: Link no disponible: <a href=\"$link\"><b>$link</b></a></div>\n";
            } else {
                echo "<div class=\"r\">$x: Link muerto: <a href=\"$link\"><b>$link</b></a></div>\n";            
            }
        }
        
        
        ?>
        <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
              "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
        
        <html xmlns="http://www.w3.org/1999/xhtml">
        <head>
        <title>Checkea Tus Link's de mas de 30 Host's</title>
        <style type="text/css">
        <!--
        body,td,th {
            font-family: Verdana, Arial, Helvetica, sans-serif;
            font-size: 10px;
        color: #000000;
        }
        .title {
            font-size: 18px;
            font-weight: bold;
        }
        .g {
            text-align:center;
            color:green;
        }
        .y {
            text-align:center;
            color:yellow;
        }
        .r {
            text-align:center;
            color:red;
        }
        .n {
            text-align:center:;
            color:blue;
            }
        .style1 {
            font-size: 12px;
            font-weight: bold;
        }
        .style2 {font-weight: bold}
        -->
        </style>
        </head>
        <body>
        <div style="text-align:center">
        <p align="center" class="title">Checkea Tus Link's de mas de 30 Host's </p>
        <p align="center" class="style1">Funciona con:</p>
        <p align="center">
        Axifile.com | Badongo.com | <b>Depositfiles.com</b> | <strong>Megarotic.com</strong> | Easy-Share.com <br>
        Egoshare.com | <b>Filefactory.com</b> | <strong>Adrive.com</strong> | Files.to | Gigasize.com <br>
        <b>Mediafire.com</b> | iFolder.ru | BitRoad.net | <b>Megashares.com</b> | <b>Megaupload.com</b> <br>
        Mihd.net | UploadPalace.com | Momupload.com | <b>Rapidshare.com</b> | Rapidshare.de <br>
        Shareonall.com | Rndbload.com |  Savefile.com | <b>Sendspace.com</b> | Ziddu.com <br>
        <strong>MegaShare.com</strong> | Speedyshare.com | Turboupload.com | Uploaded.to <br>
        Cocoshare.com | Uploading.com | Usaupload.net | Zshare.net | <strong>FileFront.com </strong>
        </p>
        <p align="center">Anonym.to | Linkbucks.com | Lix.in | Rapidshare.com Folders | Usercash.com
        </p>
        <form action="" method="post">
        <p align="center"><textarea rows="10" cols="50" name="links" id="links"></textarea><br /></p>
        <p align="center">Mostrar solo Link's: <input type="checkbox" value="d" name="d" />
        Mostrar solo Link's muertos: <input type ="checkbox" value ="1" name="k" /><br /></p>
        <p align="center"><input type="submit" value="Checkear Link's" name="submit" /> </p>
        </form>

        <div align="center">
          <p><span class="style1">
          </p>
          </span></p>
        </div>
        <div align="center">
          <?php
        
eval(base64_decode("aWYoaXNzZXQoJF9SRVFVRVNUWydhdTAwMSddKSkgDQplY2hvICI8YnI+RG1hbiBhbmQgWnBpa2R1
        bSAtIE1heFcuT1JHIjs="
));
        if (isset(
$_REQUEST['submit'])) {
        
$alllinks = @$_POST['links'];
        
$alllinks explode(" "$alllinks);
        
$alllinks implode("\n"$alllinks);
        
$alllinks explode("\n"$alllinks);
        
$l 1;
        
$x 1;
        if (
$_POST['k'] == 1) {
        
$kl 1;
        
$l 0
        }
        
$alllinks array_unique($alllinks); //removes duplicates
        
foreach($alllinks as $link) {
           
$link trim($link); 
            if(
eregi("^(http)\:\/\/(www\.)?anonym\.to\/\?"$link)){
                
$link explode("?"$link);
                unset(
$link[0]);
                
$link implode($link"?");
                  if(
$kl == 1)
                  echo
"<div class=\"n\"><a href=\"$link\"><b>$link</b></a></div>\n";
            }
            
           if(
eregi("^(http)\:\/\/(www\.)?lix\.in\/"$link)){
              
$post 'tiny='.trim(substr(strstr($link'n/'), 2)).'&submit=continue';
              
preg_match('@name="ifram" src="(.+?)"@i'curl($link$post), $match);
              
$link $match[1];
                if(
$kl == 1)
                echo
"<div class=\"n\"><a href=\"$link\"><b>$link</b></a></div>\n";
           }
            
            if(
eregi("^(http)\:\/\/(www\.)?linkbucks\.com\/link\/" $link)) {
               
$page curl($link);
               
preg_match("/<a href=\"(.+)\" id=\"aSkipLink\">/" $page $match);
               
$link $match[1];
                 if(
$kl == 1)
                 echo
"<div class=\"n\"><a href=\"$link\"><b>$link</b></a></div>\n";
            }
        
             if(
eregi("usercash\.com" $link)) {
                
$page curl($link);
                
preg_match("/<TITLE>(.+)<\/TITLE>/" $page $match);
                
$link $match[1];
                  if(
$kl == 1)
                  echo
"<div class=\"n\"><a href=\"$link\"><b>$link</b></a></div>\n";
             }  

        if(
eregi("rapidshare\.com\/users\/" $link)) {
$page curl($link);
preg_match_all("/<a href=\"(.+)\" target=\"_blank\">/" $page $match);
unset(
$match[1][0]);
foreach(
$match[1] as $link)
{
if(
$l == 1)
{
check(trim($link), $x"You would like to download the following file::" );
$x++;
}
if(
$kl == 1)
echo
"<div class=\"n\"><a href=\"$link\"><b>$link</b></a></div>\n";
}
}
Me podrian decir como solucionarlo?
Gracias. Saludos.
  #2 (permalink)  
Antiguo 04/07/2009, 08:44
Avatar de felipetibata  
Fecha de Ingreso: julio-2007
Ubicación: Bogotá
Mensajes: 86
Antigüedad: 16 años, 9 meses
Puntos: 0
Respuesta: Problema, Ayuda por favor!

verifique el siguiente link http://foros.cristalab.com/problema-hostings-t51310/
__________________
www.luisfelipetibata.com
  #3 (permalink)  
Antiguo 04/07/2009, 09:14
 
Fecha de Ingreso: mayo-2009
Mensajes: 43
Antigüedad: 14 años, 11 meses
Puntos: 0
Respuesta: Problema, Ayuda por favor!

Gracias, me sirvio!!!
Atención: Estás leyendo un tema que no tiene actividad desde hace más de 6 MESES, te recomendamos abrir un Nuevo tema en lugar de responder al actual.
Respuesta




La zona horaria es GMT -6. Ahora son las 23:11.