UploadScript mit Prozessbar und Geschwindigkeitsanzeige

Diese Seite verwendet Cookies. Durch die Nutzung unserer Seite erklären Sie sich damit einverstanden, dass wir Cookies setzen. Weitere Informationen

  • also wenn es läuft werde ich sicherlich mir auch einen space kaufen zb über einen ref link von euch der mir geholfen hat.

    aber vorerst nicht


    hier ist die file donut "foldertest.php"
    http://trionite.chris-kent.co.uk/index.php?page=uploadprogress


    edit: der google suche konnte ich nichts hilfreiches entnehmen schade


    habe es aber auf einem anderen server jetzt komplett zum laufen gebracht so jetzt kann ich mich endlich an andere dinge ransetzen.

    Aber eins wundert mich jedoch sehr
    das der progessbar nicht mehr da ist die so eine statusleiste zeigt wo immer so von links nacht rechts so blaue striche wandern
    jetzt steht nur noch da uploading xxx.kb

    hm sehr komisch
  • aha, war doch kein beispielpfad.
    Das Skript spuckt den korrekten Pfad für dein System aus.

    Aber scheint wohl gerade bei funpic nicht zu funktionieren. Bei den Google Seiten findet man ja viele berichte von Leuten, bei denen es nicht funktioniert.

    Funpic soll eben auch nicht zur Dateiablge genutzt werden: http://funfaq.fu.funpic.de/index.php?section=texte&id=33
    Oft hört man in Funpic Foren die Bitte, das doch bitte das Uploadlimit erhöht werden sollte. Dies wird aus einfachem Grund nicht gemacht. Und dieser Grund lautet: Funpic ist keine Datenablage und wird auch nie eine sein. Wenn man Downloads anbieten will, kann man diese auf anderen Abietern wie Tripod lagern. Und für normale Seiten, ja sogar Seiten in Flash, ist das Limit von 1MB völlig ausreichend.
  • em ja kannst du mir vielleicht noch sagen

    wie ich jetzt in mein fast fertiges script

    so eine animierte anzeige rein bekomme so eine art ladebalken natürlich nur obligatorisch gesehen


    edit: www.upload-it.dl.am

    wieso kann ich die files nicht mehr saugen ??
    wenn ich die datei nur leich berühre zeigt er mir auch icht den files oder storage ordner an sondern den ordner in dem der filehoster liegt
  • ja wieso soll man dann lernen

    hmm

    naja aber kannst du mir vielleicht sagen wieso wenn ich was uppe mir das als download link ausgegeben wird

    Your download link

    http://www.suicide-biking.de/check/193213


    Your delete link

    http://www.suicide-biking.de/check/193213&del=814802


    Please remember the above links.



    Obwohl es ungefähr der hier sein müsste

    http://www.suicide-biking.de/check/download.php?file=193213
  • "IRA" schrieb:

    ja wieso soll man dann lernen

    Wieso du das lernen magst musst du wissen.
    Wie man es lernen kann: Mit Eigeninitiative.
    Ich gebe dir immerhin Antworten, wie du es lösen kannst und mit welchen Schlagworten du bei Google Erfolg hast. Programmieren werde ich es dir jedoch nicht.
    Deine Fragen sind nun mal nicht Coding-spezifisch sondern strikt Lösungsorientiert.

    - schau in deinen Browser
    - in der Adresszeile steht upload.php
    - in der upload.php steht in Zeilen #159f dein Satz: "Your download link ... Your delete link"
    - Die 3 Variablen $scripturl, $short und $rand2 kannst du dir nun nach Belieben aneinanderreihen

    Der aktuelle Pfad ist ein mod_rewrite Pfad. Entweder hast du die .htaccess vergessen hochzuladen oder dein Provider unterstützt kein mod_rewrite.
  • der server macht probleme mit der .htaccess file deswegen habe ich sie auch gelöscht
    Also wenn ich die .htaccess drauf habe im Hauptverzeichnis lässt sich garnichts mehr öffnen. (Keine Ahnung wieso)


    Ich verstehe nicht was du da meinst was muss ich genau machen ich raffe da jetzt garnix mehr

    Das Stückchen fehlt immer in meinem Download LINK
    download.php?file=

    Bitte um Hilfe danke
  • Hi d0nUt,

    ich versuche eh, das so einfach wie möglich zu gestalten für die nächste deutsche Version:

    Die Version 2 schreitet voran. Hier schon mal ein Screenshot aus dem Admin-Bereich:

    [Blockierte Grafik: http://zzqshare.de//thumbs/468280mfhv2.jpg]

    Da wird $shorturl standartmäßig auf aus sein. Es gibt einen Code in PHP der schafft diese kurzen URLs angeblich auch ohne mod_rewrite. Den habe ich allerdings selbst noch nicht getestet. Dieser Code war für den FlatFileHost, den es nicht mehr gibt - er sollte aber auch für den MiniFileHost werkeln:

    Hello,

    im looking for a Mod that enabels short urls without Modrewrite.

    The Code for Jims Script was
    to replace in upload.php


    $filecrc = md5_file($_FILES['upfile']['tmp_name']);

    with

    $rand_num_gen = rand(1000000,9999999); // make this large, it will be converted into MD5 anyway.
    $filecrc = substr( md5(/**/ md5($rand_num_gen) /**/. /**/ md5_file($_FILES['upfile']['tmp_name']) /**/), 1,8);
    // take the number, MD5 encode it, combine it with the MD5 of the file name, And Cut down to 8 chars.
    // viola! a nearly imposiable to recreate number. odds are < 9999999 X 10^54> (lol have fun with that)


    It worked fine with jims Script.

    Can anyone make this code work for mfh?
    I think mfh is based on jims ffh that the code could be easy modificated.


    Gruß inekai
  • die .htaccess habe ich mir auch schon so gemacht :)

    das ist meine cfg


    <?php
    // ___ ____ _ ______ _ _ _ _ _
    // | \/ (_) (_) | ___(_) | | | | | | |
    // | . . |_ _ __ _ | |_ _| | ___ | |_| | ___ ___| |_
    // | |\/| | | '_ \| | | _| | | |/ _ \ | _ |/ _ \/ __| __|
    // | | | | | | | | | | | | | | __/ | | | | (_) \__ \ |_
    // \_| |_/_|_| |_|_| \_| |_|_|\___| \_| |_/\___/|___/\__|
    //
    // by MiniFileHost.co.nr version 1.1
    ////////////////////////////////////////////////////////

    $compname = "upload-it.dl.am";
    ////Your Company Name

    $slogan = "around ur files";
    //// Your Company Slogan

    $scripturl = "http://www.suicide-biking.de/";
    //// the URL to this script with a trailing slash

    $adminpass = "password";
    //// set this password to something other than default
    //// it will be used to access the admin panel

    $topten = true;
    //// Make It true if you want to enable Top ten files

    $maxfilesize = 25;
    //// the maximum file size allowed to be uploaded (in megabytes)

    $downloadtimelimit = 0;
    //// time users must wait before downloading another file (in minutes)

    $uploadtimelimit = 0;
    //// time users must wait before uploading another file (in minutes)

    $nolimitsize = 0.5;
    //// if a file is under this many megabytes, there is no time limit

    $deleteafter = 30;
    //// delete files if not downloaded after this many days

    $downloadtimer = 6;
    //// length of the timer on the download page (in seconds)

    $enable_filelist = true;
    //// allows users to see a list of uploaded files. set to false to disable

    $shourturl = false;
    //// Short url Eg yourdomain.com/13232 needs mod_rewrite enabled. For More Info See Our Froum

    //$allowedtypes = array("txt","gif","jpg","jpeg");
    //// remove the //'s from the above line to enable file extention blocking
    //// only file extentions that are noted in the above array will be allowed

    $emailoption = true;
    //// set this to true to allow users to email themselves the download links

    $passwordoption = true;
    //// set this to true to allow users to password protect their uploads

    $descriptionoption = true;
    //// set this to true to disable the description field

    $categories = array("Documents","Applications","Audio","Misc");
    //// remove the //'s from the above line to enable categories
    //// Users will be able to choose from this list of categories

    ?>