Go to Post Data is never ugly. It is only how you use it that can be. - Ed Law [more]
Home
Go Back   Chief Delphi > FIRST > General Forum
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #11   Spotlight this post!  
Unread 04-11-2002, 08:39
Brandon Martus's Avatar Unsung FIRST Hero
Brandon Martus Brandon Martus is offline
busy.
AKA: B. Slash Kamen
no team
 
Join Date: May 2001
Rookie Year: 1998
Location: Nevada, TX USA
Posts: 5,271
Brandon Martus has a reputation beyond reputeBrandon Martus has a reputation beyond reputeBrandon Martus has a reputation beyond reputeBrandon Martus has a reputation beyond reputeBrandon Martus has a reputation beyond reputeBrandon Martus has a reputation beyond reputeBrandon Martus has a reputation beyond reputeBrandon Martus has a reputation beyond reputeBrandon Martus has a reputation beyond reputeBrandon Martus has a reputation beyond reputeBrandon Martus has a reputation beyond repute
Send a message via ICQ to Brandon Martus Send a message via AIM to Brandon Martus Send a message via Yahoo to Brandon Martus
Sometimes it depends on how the site sends the files, rather than what connection you have or computer you use. For example, in the white papers section, I had to change the headers of the download script, so in most cases it will prompt you to save the file, rather then open it up in your browser.

Note the 'download' and 'force-download' headers being sent before the file is sent.

PHP Code:
header("Content-Type: application/octet-stream");
header("Content-Type: application/download");
header("Content-Type: application/force-download");
header("Content-Type: ".$MIME[$paper[filetype]] );
header("Content-Disposition: attachment; filename=$filename");
header("Content-Length: ".filesize("$name"));
header("Pragma: no-cache");
header("Expires: 0"); 
__________________
Brandon Martus
e-mail
Reply With Quote
 


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
What do you use to make your team site!? activemx Website Design/Showcase 68 15-01-2003 18:32
NEW site dedicated to the UTC New England Regional! archiver 2001 2 24-06-2002 01:13
Battlebots vs FIRST on FIRST-a-holics.com archiver 2000 2 24-06-2002 00:37
battlebots stigma archiver 2001 11 23-06-2002 22:05
Good news for those who liked the old threaded view Brandon Martus Announcements 6 24-11-2001 21:22


All times are GMT -5. The time now is 20:25.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi