Something
public php v1 · immutable<html><body><form action="index.php" method="POST"<input type="text" name="url" width="500"><input type="text" name="filename" width="500"></form><?php$url = $_POST['url'];$filename = $_POST['filename'];$filename = (isset($filename)) ? $filename : 'defaul.txt';$ch = curl_init($url);$fp = fopen($filename, "w");curl_setopt($ch, CURLOPT_FILE, $fp);curl_setopt($ch, CURLOPT_HEADER, 0);curl_exec($ch);curl_close($ch);fclose($fp);?></body></html>