Jump to content

File Transfer Header


ajicles

Recommended Posts

I have a problem, when my script is executed it doesn't grab the file but returns all the source code on the page in a text document  >:( The text file hasn't been over written.

 

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252" />
<title>Ajicles File Hosting - Downloading:040810051842songs.txt</title>
<link rel="stylesheet" type="text/css" href="style.css" />
<!--[if IE 6]>
<link rel="stylesheet" type="text/css" href="iecss.css" />
<![endif]-->
</head>
<body>
<div id="main_container">
  <div id="header">
    <div id="logo"><a href="index.html"><img src="images/logo.png" alt="" title="" border="0" width="251" height="82"/></a></div>
    <div id="menu_tab">
      <ul class="menu">
        <li><a href="index.php" class="nav"> Home </a></li>
        <li><a href="upload.php" class="nav"> Upload</a></li>
        <li><a href="login.php" class="nav"> Login</a></li>
        <li><a href="register.php" class="nav"> Register</a></li>
        <li><a href="contact.php" class="nav"> Contact </a></li>
        <li><a href="logout.php" class="nav"> Logout </a></li>
      </ul>
    </div>
  </div>
  <div id="main_content">
    <div id="downloading">
          </div>
  </div>
  <div class="clear"></div>
</div>
<!-- main_content-->

<div id="footer"> <img src="images/footer_logo.gif" alt="" title="" width="33" height="45" class="left" />
  <div class="left_footer"> Ajicles Hosting 2010. All Rights Reserved </div>
</div>
</div>
</body>
</html>

 

Link to comment
https://forums.phpfreaks.com/topic/209820-file-transfer-header/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.