Cita:
Iniciado por bet7o
podrias usar cualquiera de las siguiente opciones:
curl: [URL="http://mx.php.net/manual/en/ref.curl.php"]http://mx.php.net/manual/en/ref.curl.php[/URL]
socket: [URL="http://mx.php.net/manual/en/book.sockets.php"]http://mx.php.net/manual/en/book.sockets.php[/URL]
file_get_contents: [URL="http://php.net/manual/es/function.file-get-contents.php"]http://php.net/manual/es/function.file-get-contents.php[/URL]
Saludos!
Hola, antes q nada muchas gracias por brindarme tu ayuda, te cuento que he probado con file_get_contents y me funciona de maravilla con direcciones http, pero yo necesito usarlo con direcciones https y no me funciona, no me muestra nada, tendras alguna idea donde puede estar el problema?, desde ya te agrdesco a vos y a cualquiera que pueda ayudarme. Saludos
P/D: el codigo que estoy usando es este:
Código PHP:
<?php
$página_inicio = file_get_contents('https://www.cuentadigital.com');
echo $página_inicio;
?>