Php Curl ile bir sayfadan resim kaydetmek.
< ?php $url = "http://www.bilgiakademisi.net/images/s/logo.jpg"; $agent = 'Mozilla/5.0 (Windows; U; Windows NT 5.1; ru; rv:1.8.0.9) "; $agent .= "Gecko/20061206 Firefox/1.5.0.9'; $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, $url); curl_setopt($ch, CURLOPT_USERAGENT, $agent); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); curl_exec($ch); $httpfile = curl_multi_getcontent ($ch); file_put_contents("/tmp/tmp.jpg",$httpfile); ?>
Posted in Linux, PHP on January 26th, 2009 by Kürşad DARA | | 0 Comments
Windows 2003 Server Firewall Rules
registry de
\HKEY_LOCAL_MACHINE \SYSTEM \CurrentControlSet \Services \SharedAccess \Parameters \FirewallPolicy \StandardProfile \GloballyOpenPorts \List
key i altında bulabilirsiniz.
Posted in Windows on January 13th, 2009 by Kürşad DARA | | 0 Comments