Upload Via Url
Started on the old forum in July 2007 · view the original in the archive · old links redirect here
who is your host m8 ?
Want something coded email me at sales@webnwaphost.com for a prices.
was it ?? must have got moved or sumin then he must of reposted it who nose
Want something coded email me at sales@webnwaphost.com for a prices.
//Server must be running on php 4.3.0 //Folder Permitions set to chmod 777 ///////////////////admincp else if($action=="viahttp") { addonline(getuid_sid($sid),"Admin cp",""); echo "<card id="main" title="upload">"; echo " "; echo "Upload Via http
"; echo "URL: <input name="url" maxlength="255"/> "; echo "Save As:<input name="save" maxlength="20"/> "; echo "<anchor>SEND<go href="admproc.php?action=viahttp&sid=$sid" method="post">"; echo "<postfield name="url" value="$(url)"/>"; echo "<postfield name="save" value="$(save)"/>"; echo "</go></anchor>
"; echo "<a href="index.php?action=main&sid=$sid"><img src="images/home.gif" alt="*"/>"; echo "Home</a>"; echo " "; echo "</card>"; } ///////////admproc else if($action=="viahttp") { addonline(getuid_sid($sid),"Admin cp",""); echo "<card id="main" title="upload">"; echo " "; $url = $_POST["url"]; $save = $_POST["save"]; echo "Upload Via http
"; $res = copy ("$url","/upload/$save"); if($res){ echo "<img src="images/ok.gif" alt="O"/>Upload Successfull! "; echo "Your New File Url Is /upload/$save "; }else{ echo "<img src="images/notok.gif" alt="X"/>Error Ur A Bandwidth Leech! "; } echo "<a href="index.php?action=main&sid=$sid"><img src="images/home.gif" alt="*"/>"; echo "Home</a>"; echo " "; echo "</card>"; }
I also thought of maybe having that option in my new script i'm coding...
could get very usefull...