I create one site like document menage system and nide to take some date information from another site. The problem is a don't have access to date base. The site from who I need to take infomations use .htdacces but I have user and password for enter to site and i look the information. I write one php scripte but is not work.
Do you somebody know how can I copy inflammations
from this site to mine (from this site to my database)

Thanks a lot and this is a php scirpte

$url = 'url site';
$context = stream_context_create(array(
    'http' => array(
'header' => "Authorization: Basic " . base64_encode("$username:$password")
$data = file_get_contents($url, false, $context);

        echo $data;
        echo file_get_contents("http://$username:$passw...@site/meetings/";);


PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to