upload via URL

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    upload via URL

    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?

    #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...
    _______
    Info & Tips
    php.net
    w3schools.com

    Comment


      #3
      Originally posted by subzero View Post
      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.

      Comment


        #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...
        _______
        Info & Tips
        php.net
        w3schools.com

        Comment


          #5
          i got the same problem with my site

          Comment


            #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...
            _______
            Info & Tips
            php.net
            w3schools.com

            Comment


              #7
              and how you make the upload via url? post here the script.ty.
              http://ngeo.ro

              Comment


                #8
                Originally posted by blackhowk View Post
                and how you make the upload via url? post here the script.ty.
                hehehehe the problem is nt in the script lol.

                Comment


                  #9
                  Big up subzero, more power your elbow

                  Comment


                    #10
                    do you need url upload script.if yes mail me

                    Comment


                      #11
                      i have script with more feature

                      Comment


                        #12
                        Originally posted by tamilwap View Post
                        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ノ刀ノイリ!

                        Comment


                          #13
                          Code:
                          <?
                          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
                          Last edited by GiLL; 20.12.09, 03:45.
                          left wap stuff

                          Comment


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

                            Comment


                              #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

                              Comment

                              Working...
                              X