
21/03/2012, 17:20
|
 | $this->role('moderador'); | | Fecha de Ingreso: mayo-2006 Ubicación: /home/ams/
Mensajes: 38.567
Antigüedad: 18 años, 8 meses Puntos: 2135 | |
Respuesta: [APORTE] file_get_contents(), cURL, HTTP_Request Ejemplo:
Código PHP:
Ver original<?php $opts = array('http' => array('proxy' => 'tcp://127.0.0.1:8080', 'request_fulluri' => true)); $fp = fopen('http://www.example.com', 'r', false, $context);
Saludos. |