Upload Via Url

Started on the old forum in July 2007 · view the original in the archive · old links redirect here

5 replies · 991 views · started 19 years ago · 1 min read

3 participants
Guest #1

dear wapmasters i need upload script which can upload via url just like on wen.ru ..please help me..!

FlareX #3

This Script Was Posted Sumwere Here, I Saw It B4

something else Fellow · 2,296 posts #5

//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>"; }

Sign in to reply.

Similar topics

Keyboard shortcuts

g f
Go to forums
g h
Go to your feed
g m
Go to messages
r
Reply (in a topic)
/
Search
j
Next post
k
Previous post
?
This list
Ctrl/⌘ + Enter
Send what you are writing
Ctrl/⌘ + B / I
Bold / italic while writing
Esc
Close