upload via URL

Started on the old forum in December 2009 · view the original in the archive · old links redirect here

14 replies · 926 views · started 16 years ago · 1 min read

10 participants
ivankoh Newbie · 3 posts #1

help me mates, when i try to upload a file via Url, it alway shows Dead link is not allowed

but it is ok when i upload via device, my big problem is the dead link thing. can you help me with this simple problem? 🙁

subzero Super moderator Fellow · 3,954 posts #2

Make sure your link is not dead or protected by uploader...

Links only work if the link is to the main file not thou php

Visit: Chat4u.mobi - The New Lay Of being a site of your dreams! Visit: WapMasterz Coming Back Soon!


SCRIPTS FOR SALE BY SUBZERO Chat4u Script : coding-talk.com/f28/chat4u-mobi-script-only-150-a-17677/ - > Best Script for your site no other can be hacked by sql or uploaders. FileShare Script : coding-talk.com/f28/file-wap-share-6596/ -> Uploader you will never regret buying yeah it mite be old now but it still seems to own others... _______…

ivankoh Newbie · 3 posts #3

subzero wrote: Make sure your link is not dead or protected by uploader...

Links only work if the link is to the main file not thou php

i check the file and i can download it,, so why is that when i upload it via url it says dead link is not allowed. 😢

subzero Super moderator Fellow · 3,954 posts #4

make sure its not a php download link it has to be http://domain/files/file.jar

it cant be http://domain/files/download.php?id=19489

You will get this error none stop.

Visit: Chat4u.mobi - The New Lay Of being a site of your dreams! Visit: WapMasterz Coming Back Soon!


SCRIPTS FOR SALE BY SUBZERO Chat4u Script : coding-talk.com/f28/chat4u-mobi-script-only-150-a-17677/ - > Best Script for your site no other can be hacked by sql or uploaders. FileShare Script : coding-talk.com/f28/file-wap-share-6596/ -> Uploader you will never regret buying yeah it mite be old now but it still seems to own others... _______…

jefweewap Junior · 31 posts #5

i got the same problem with my site

subzero Super moderator Fellow · 3,954 posts #6

First if your trying to upload by url with free hosting it will not also not work...

Buy hosting is the better idea.

Also note use php.ini

Visit: Chat4u.mobi - The New Lay Of being a site of your dreams! Visit: WapMasterz Coming Back Soon!


SCRIPTS FOR SALE BY SUBZERO Chat4u Script : coding-talk.com/f28/chat4u-mobi-script-only-150-a-17677/ - > Best Script for your site no other can be hacked by sql or uploaders. FileShare Script : coding-talk.com/f28/file-wap-share-6596/ -> Uploader you will never regret buying yeah it mite be old now but it still seems to own others... _______…

KiLLeR_mAcHInE Developer · 128 posts #8

blackhowk wrote: and how you make the upload via url? post here the script.ty.

hehehehe the problem is nt in the script lol.

:-):-):-):-) any probs PM me ??? :-):-):-):-):-) c yA

xola Newbie · 6 posts #9

Big up subzero, more power your elbow

this is XOLA

tamilwap Junior · 29 posts #10

do you need url upload script.if yes mail me

tamilwap Junior · 29 posts #11

i have script with more feature

metulj Super moderator Principal · 1,726 posts #12

tamilwap wrote: do you need url upload script.if yes mail me

if you mean to share, upload here, else dont bother..🤨

It's better to keep your mouth shut and give the impression that you're stupid, than to open it and remove all doubt. ⓣⓗⓔ ⓠⓤⓘⓔⓣⓔⓡ ⓨⓞⓤ ⓑⓔ©ⓞⓜⓔ, ⓣⓗⓔ ⓜⓞⓡⓔ ⓨⓞⓤ ⓐⓡⓔ ⓐⓑⓛⓔ ⓣⓞ ⓗⓔⓐⓡ ! ιη тнєσяу, тнє ρяα¢тι¢є ιѕ α яєѕυℓт σƒ тнє тнєσяу, вυт ιη ρяα¢тι¢є ιѕ тнє σρρσѕιтє.

キノgんイノ刀g 4 ア乇ムc乇 ノ丂 レノズ乇 キucズノ刀g 4 √ノ尺gノ刀ノイリ!

GiLL Senior · 356 posts #13
<?
error_reporting(0);
function style()
{
echo "<TITLE>Transload Version 2.0</TITLE>
<STYLE>
BODY
{
COLOR: #000000;
margin: 5,5,5,5;
FONT-FAMILY: Courier New,Courier;
}
TD
{
FONT-SIZE: 14px;
FONT-FAMILY: Courier New,Courier;
COLOR: #555555;
HEIGHT: 20;
}
A:link, A:visited, A:active
{
COLOR: #000000;
TEXT-DECORATION: none;
}
A:hover
{
COLOR: #FFFF00;
TEXT-DECORATION: none;
}
</STYLE>
";
}

function url_copy($source)
{
$d=explode("/",$source);
$dest=$d[count($d)-1];
$f1=fopen($source,"rb");
$f2=fopen($dest,"w");
echo "<SCRIPT>window.status='Copying \'$source\' to \'$dest\'...';</SCRIPT>\n";
flush();
while ($buff=fread($f1,1024))
fwrite($f2,$buff);
fclose($f1);
fclose($f2);
$size=filesize($dest);
echo "<SCRIPT>window.status='$size bytes copied.';</SCRIPT>\n";
}

function list_file()
{
echo "<TABLE width=90% align=center border=1 bordercolor=#0000FF style='border-collapse: collapse' cellpadding=2>
<TR>
<TD><B>File name</B></TD>
<TD><B>File size</B></TD>
<TD><B>File time</B></TD>
</TR>";
$d=opendir(".");
while ($f=readdir($d))
if (!($f=="." || $f==".." || $f=="index.php"))
{
$size=filesize($f);
$date=filemtime($f);
echo "<TR><TD><A href=$f>$f</A></TD><TD>$size</TD><TD>".date ("H:i:s - d F Y", $date)."</TD></TR>";
}
echo "</TABLE>";
}

function show_form()
{
echo "<H3 align=center>Transload URL version 2.0<BR>
<br></H3>
<TABLE width=90% align=center border=1 bordercolor=#0000FF style='border-collapse: collapse' cellpadding=2>
<FORM method=post>
<TR>
<TD width=100% align=right valign=top><B>Tranload Url</B><BR>Put one URL or multi URL per line.<br> EX : http://domain1.com/aa.zip <br>http://domain2.com/bb.zip<br>http://domain3.com/cc.zip<br>..........................</TD>
<TD><TEXTAREA wrap=virtual name=url rows=10 cols=80></TEXTAREA></TD>
</TR>
<TR>
<TD colspan=2 align=center><INPUT type=submit value=' Transload now '></TD>
</TR>
</TABLE>
</FORM>";
}

function download()
{
header("Content-type: application/x-download");
header("Content-Disposition: attachment; filename=index.php");
@readfile("index.php");
die();
}

$cmd=$_SERVER[QUERY_STRING];
if ($cmd=="source")
download();
style();
show_form();
global $HTTP_POST_VARS;

$url=$HTTP_POST_VARS[url];
if ($url!="")
{
$d=explode("\n",$url);
$d=str_replace("\r","",$d);
for ($i=0; $i<count($d); $i++)
if (trim($d[$i])!="") url_copy($d[$i]);
}
list_file();
?>
<br>
<br>

you can use Password Protecting method for Your file with htaccess

call it eg copy.php and place in same dir where you want to save files link it eg http;//domain.com/file/copy.php and use it

you may need chmod 777 eg file folder its upto server some time you dont need

for big size files you might need to Increase upload size in your php.ini

example here 10m mean 10 mb

upload_max_filesize = 10M post_max_size = 20M

or Add the below to your .htaccess file in root directory. php_value upload_max_filesize 10M php_value post_max_size 20M

left wap stuff

tamilwap Junior · 29 posts #14

Ya.Above Coding Is Ok.That Is Correct Script.copy That Source Code

leonine Developer · 130 posts #15

Why don't you post yours then?

This is my new community for wap coding. Come and join and experience real wap coding http://leonine.6te.net

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