In message <[EMAIL PROTECTED]>, agoes_82 <[EMAIL PROTECTED]>
writes
>mabby this can help.
><?php
>$WebFile =
>"http://ksi.plasa.com/ksi-tampil-gambar.php?idpic=9853&status=thumb"; ;
>$LocalFile = "xxx.gif";
>$handle = fopen ($WebFile, "r"); 
>$outhandle=fopen ($LocalFile,"w"); 
>while (!feof($handle)) { 
>       $buffer=fread($handle,4096); 
>       fputs($outhandle,$buffer); 
>} 
>fclose($handle); 
>fclose($outhandle);
>?>

Perfict!

Thanks a lot, just what I needed...

You certainly know your streams!

-- 
Pete Clark

Sunny Andalucia
http://www.hotcosta.com/comm_1.htm


Community email addresses:
  Post message: [email protected]
  Subscribe:    [EMAIL PROTECTED]
  Unsubscribe:  [EMAIL PROTECTED]
  List owner:   [EMAIL PROTECTED]

Shortcut URL to this page:
  http://groups.yahoo.com/group/php-list 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/php-list/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/php-list/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:[EMAIL PROTECTED] 
    mailto:[EMAIL PROTECTED]

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 

Reply via email to