Witajcie, jak w tym skrypcie wszystko wykonywac poprzez IP proxy ?
Tzn jak wchodzic przez proxy

<?php
$login = "login";
$haslo = "haslo";
if(isset($_POST['link'])) {
$link = $_POST['link'];
$url = 'http://api.hotfile.com/?action=getdirectdownloadlink&link='.$link.'&username='.$login.'&passwordmd5='.md5($haslo); $ch = curl_init($url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
$homepage = curl_exec($ch);
curl_close($ch);
header('Content-Disposition: attachment; filename='.$znaki[count($znaki)-1
]); $ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $homepage);
curl_setopt($ch, CURLOPT_BINARYTRANSFER,1);
curl_exec($ch);
curl_close($ch);
}
?>
<form action="" method="post">
Link: <input type="text" name="link" />
<input type="submit" value="Pobierz"/>
</form>