Hola, he hecho un script que usa get_file_contents y funciona correctamente cuando lo corro desde el navegador.
Pero cuando lo programo como una tarea Cron me da el siguiente error:
Cita: X-Powered-By: PHP/4.4.9 Content-type: text/html
Warning: file_get_contents() expects at most 2 parameters, 3 given in ...
He probado a retirar el CONTEXT y sigue sin funcionar, dejándolo así:
Cita: $file = file_get_contents($url, false);
Tampoco funciona así:
Cita: $file = file_get_contents($url);
¿Alguna idea?
Notese que el Cron debe usar php 4.4.9
Gracias