TinyPortal
Development => International => Spanish => Topic started by: jabisai on August 27, 2009, 02:04:51 PM
Hola amigos alguien me puede ayudar a poner este codigo en un bloque lateral, lo que pasa es que creo un bloque php y pego este codigo pero siempre me da error... :tickedoff:
<?php
$ILf = @fsockopen("www.intercambios-links.com", 80, $errno, $errstr, 3);
if ($ILf) {
$ILh = "GET /jaula.php?code=FnwPHP HTTP/1.1\r\n";
$ILh .= "Host: www.intercambios-links.com\r\n";
$ILh .= "Connection: Close\r\n\r\n";
fwrite($ILf, $ILh);
for ($i = 1; !feof($ILf); $i++) {
$ILs = fgets($ILf, 128);
if ($i > 8) echo $ILs;
}
fclose($ILf);
}
?>
Tengo tinyportal 1.0 beta 4 y smf 1.1.10
gracias. :P
Jabisai Hola,
Retire la apertura y cierre de etiquetas de PHP para que el código aparece como esta ...
$ILf = @fsockopen("www.intercambios-links.com", 80, $errno, $errstr, 3);
if ($ILf) {
$ILh = "GET /jaula.php?code=FnwPHP HTTP/1.1\r\n";
$ILh .= "Host: www.intercambios-links.com\r\n";
$ILh .= "Connection: Close\r\n\r\n";
fwrite($ILf, $ILh);
for ($i = 1; !feof($ILf); $i++) {
$ILs = fgets($ILf, 128);
if ($i > 8) echo $ILs;
}
fclose($ILf);
}
Que deberÃÂa funcionar.
ZarPrime
I don't want to say nothing just Thanks! ZarPrime
Sure, no problem. I am glad we got you solved. :up:
ZarPrime