Ver Mensaje Individual
  #1 (permalink)  
Antiguo 14/02/2008, 13:55
Avatar de sandrox23
sandrox23
 
Fecha de Ingreso: abril-2005
Ubicación: Lima - Peru
Mensajes: 274
Antigüedad: 19 años
Puntos: 0
Ayuda con $ip !

Hola amigos, ayudenme en este script:

Código PHP:
<?php
include 'config.php';
             
$conexion = @fsockopen("$ip""$portp", &$errno, &$errstr1); 
if(
$conexion
{  
  echo 
'<iframe marginwidth="0" marginheight="0" scrolling="no" frameborder=0 src="http://$ip/opcion.php" width="725" height="150" AllowTransparency></iframe>';
  }
  else 

  echo 
'<p style="margin-top: 0; margin-bottom: 0" align="center"></p>&nbsp;<p align="center">
  <font color="#C0C0C0">Esta cerrado el servidor</font></p>'

}  
?>
No me anda el http://$ip/opcion.php en el config mi $ip=201.256.45.12

asi tanpoko da http://<?php $ip ?>/opcion.php

Espero su ayuda ..
__________________
diseniando ........