MediaFire API wrapper class

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

    MediaFire API wrapper class

    Wat it actually does is ... generates a direct download link for your(only yours i.e need to put an user id & password) mediafire files, if you suppy the file id (called quick key)
    Maybe useful only for them who host their files in mediafire to let their site visitors download them.
    Instead of linking the files to the mediafire site, U can link it to this class & it will generate a direct download link.
    Everything else is inside the archive.
    example usage
    PHP Code:
    <?PHP
        
    // example key "awdrzfzexzxmu81"
        
    if (isset($_GET['key'])) {
            require 
    "mediafire.php";
            
    $media_object = new MediaFire("demo@example.com""password"7558"28n76xs5l5warn7kw5sbbrg1gncyr70a0unj0d5b"$_GET['key']);
            unset(
    $media_object);
        } else {
            echo 
    "Quick key not supplied.";
            exit();
        }
    ?>
    Attached Files
    I need some facebook likes, can you please help me
    http://facebook.com/softwarefreakin
    I noticed social media is really powerful
    Well DONE is better than well SAID
Working...
X