Ver Mensaje Individual
  #2 (permalink)  
Antiguo 19/12/2003, 16:02
josemi
Ex Colaborador
 
Fecha de Ingreso: junio-2002
Mensajes: 9.091
Antigüedad: 21 años, 10 meses
Puntos: 16
Hola,

Fijate en esta linea:
Código PHP:
$fuente = @imagecreatefromjpeg($ruta); 
Vas al manual y miras lo que pone al final de http://www.php.net/manual/en/functio...tefromjpeg.php :
Cita:
Tip: You can use a URL as a filename with this function if the fopen wrappers have been enabled. See fopen() for more details on how to specify the filename and Appendix I for a list of supported URL protocols.
Como tu estas usando URL como nombre del fichero, te interesa saber de que va esto.

Te vas al manual de fopen() (www.php.net/fopen):
Cita:
If PHP has decided that filename specifies a registered protocol, and that protocol is registered as a network URL, PHP will check to make sure that allow_url_fopen is enabled. If it is switched off, PHP will emit a warning and the fopen call will fail.
Es decir, si allow_url_fopen esta a off, NO se pueden usar URLs como nombres de ficheros a abrir.

Haces un pequeño phpinfo() en tu servidor lycos, y como era de esperar, allow_url_fopen esta a OFF.

Conclusion: en lycos no puedes acceder a ficheros remotos.

Saludos.
__________________
Josemi

Aprendiz de mucho, maestro de poco.