Well in case someone need to do this... this is the code.. very easy at all..
header ('Content-type: image/jpeg');
$ch
=curl_init("http://contelec.sytes.net:2002/IMAGE.JPG?cidx=20072261649239281";);
curl_setopt($ch,CURLOPT_USERPWD,"invitado:invitado");
curl_exec($ch);
curl_close($ch);
2007/3/12, Richard Lynch <[EMAIL PROTECTED]>:
Instead of trying to re-invent the authentication wheel, just use
http://php.net/curl
wow!! Thanks you A LOOOT!!! thats amazing!!!
On Thu, March 8, 2007 4:51 pm, Manolet Gmail wrote:
> hi, i install 4 IP cameras and i want to extract
Instead of trying to re-invent the authentication wheel, just use
http://php.net/curl
On Thu, March 8, 2007 4:51 pm, Manolet Gmail wrote:
> hi, i install 4 IP cameras and i want to extract the images from their
> web interface that is protected be a username and password (HTTP AUTH)
> and show i
hi, i install 4 IP cameras and i want to extract the images from their
web interface that is protected be a username and password (HTTP AUTH)
and show it into another system. so i do a function to connect to it
and get the image...
function subd($host,$port,$ownername,$passw,$request) {
$sock =
4 matches
Mail list logo