MSFN Forum: Download links broken - MSFN Forum

Jump to content


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Download links broken

#1 User is offline   megabyte24 

  • Group: Members
  • Posts: 1
  • Joined: 21-January 13
  • OS:none specified
  • Country: Country Flag

Posted 21 January 2013 - 10:24 PM

On http://www.legroom.n...ware/uniextract, when selecting any of the program download links, brings one to http://www.legroom.n...xxxxxxxxxxxxxxx, which downloads the below PHP file, instead of parsing it and redirecting to the appropriate local / remote link:

<?
# File download wrapper for statistics

# Setup environment
#$remote = 'http://download.c1pher.com';
$local = 'http://www.legroom.net/files/software';

# Validate file
$file = $_GET['file'];
switch ($file) {
case 'uniextract161':
$dest = "$local/uniextract161.exe";
break;
case 'uniextract161_noinst':
$dest = "$local/uniextract161_noinst.rar";
break;
case 'uniextract161_source':
$dest = "$local/uniextract161_source.rar";
break;
case 'uniextract16':
$dest = "$local/archive/uniextract16.exe";
break;
case 'uniextract16_noinst':
$dest = "$local/archive/uniextract16_noinst.rar";
break;
case 'uniextract16_source':
$dest = "$local/archive/uniextract16_source.rar";
break;
case 'archive':
$dest = "$local/archive/archive.php";
break;
case 'autoflac12':
$dest = "$local/autoflac12.exe";
break;
case 'autoflac12_noinst':
$dest = "$local/autoflac12_noinst.rar";
break;
case 'autoflac12_source':
$dest = "$local/autoflac12_source.rar";
break;
default:
echo "You have specified an invalid file.";
exit(1);
}

# Redirect user
header("Location: $dest");
?>


#2 User is offline   zeroFX 

  • random lateral thinker
  • Group: Members
  • Posts: 39
  • Joined: 16-August 06
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 22 January 2013 - 04:07 AM

You can create "rebuild" the links to the files from a working one. Looks like this: http://www.legroom.n...iextract161.exe or http://www.legroom.n...t161_noinst.rar

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

2 User(s) are reading this topic
0 members, 2 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2013 msfn.org
Privacy Policy