stream_context_create : Stream Context « File Directory « PHP






stream_context_create


<?php
   $params = array("ftp" => array("overwrite" => "1"));
   $context = stream_context_create($params);
   $fh = fopen("ftp://www.java2s.com/", "w", 0, $context);
?>

           
       








Related examples in the same category