Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- /* _____ _____ _ _____ _____ _____ _____ _____ _____
- ___| | __ |_| _ |_ _|___ ___|_ _| __| _ | |
- |_ -| --| -| | __| | | |- _|___| | | | __| | | | |
- |___|_____|__|__|_|__| |_| |___| |_| |_____|__|__|_|_|_|
- |s C R i P T z - T E A M . i N F O|----------------------------
- mediafire.com public folder api
- */
- define("FOLDER_KEY", "");
- $loadxml_folder_info = simplexml_load_file('http://www.mediafire.com/api/folder/get_info.php?folder_key=' . FOLDER_KEY);
- $max = $loadxml_folder_info->folder_info->file_count;
- $output = '';
- for ($i = 0; $i < $max; $i++) {
- $mf_url_link = 'http://www.mediafire.com/?' . $loadxml_folder_info->folder_info->files->file[$i]->quickkey;
- $mf_file_name = $loadxml_folder_info->folder_info->files->file[$i]->filename;
- $output .= '<a href="' . $mf_url_link . '" target="_blank"><strong>' . $mf_file_name . '</strong></a><br />';
- }
- echo $output;
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement