Click here to Skip to main content
15,891,316 members
Home / Discussions / Web Development
   

Web Development

 
GeneralRe: more information Pin
a_yosef19-Jan-05 6:09
a_yosef19-Jan-05 6:09 
GeneralRe: more information Pin
johnhebert19-Jan-05 6:22
johnhebert19-Jan-05 6:22 
GeneralRe: more information Pin
a_yosef19-Jan-05 6:38
a_yosef19-Jan-05 6:38 
GeneralRe: more information Pin
johnhebert19-Jan-05 6:45
johnhebert19-Jan-05 6:45 
GeneralBackground-image and PNG Transparency Pin
thomas jakubowski15-Jan-05 8:05
thomas jakubowski15-Jan-05 8:05 
GeneralRe: Background-image and PNG Transparency Pin
Shog917-Jan-05 13:28
sitebuilderShog917-Jan-05 13:28 
GeneralRe: Background-image and PNG Transparency Pin
thomas jakubowski18-Jan-05 6:07
thomas jakubowski18-Jan-05 6:07 
Generalphp question about headers Pin
keegan15-Jan-05 7:28
keegan15-Jan-05 7:28 
Hi guys. I have a simple question. I'm streaming one file from one host to another, for various reasons. I have, say, a .rar file on one host, and the download link is on another. Let's call the place where the fle is host A, and where the lin kto the file is host B.

Im doing this using the following code, on host A:



$file = "http://www.myhost.com/file.rar";
header("Content-disposition: attachment; filename=".basename($file)."");
readfile("$file");




Now i'm curious as to whether or not this counts as bandwidth for host A, as well as for host B. I assume it's like adding the google logo to my website, it uses google's bandwidth, not mine. However, in the download window, it says "Downloading file from Host A." But, that could just be because it's streaming it.

So... does anyone know?


Smile | :)

*.*
cin >> knowledge;
Generalbstr, wchar_t, and code pages Pin
Samsung15-Jan-05 7:07
Samsung15-Jan-05 7:07 
Questiondo you know good web-trackers? Pin
includeh1015-Jan-05 3:22
includeh1015-Jan-05 3:22 
AnswerRe: do you know good web-trackers? Pin
Michael P Butler15-Jan-05 4:06
Michael P Butler15-Jan-05 4:06 
GeneralRe: do you know good web-trackers? Pin
includeh1015-Jan-05 5:30
includeh1015-Jan-05 5:30 
GeneralRe: do you know good web-trackers? Pin
Michael P Butler15-Jan-05 5:53
Michael P Butler15-Jan-05 5:53 
GeneralRe: i need a good web-tracker Pin
Brad Bruce15-Jan-05 3:06
Brad Bruce15-Jan-05 3:06 
GeneralRe: i need a good web-tracker Pin
includeh1015-Jan-05 3:20
includeh1015-Jan-05 3:20 
GeneralRe: i need a good web-tracker Pin
Brad Bruce15-Jan-05 3:45
Brad Bruce15-Jan-05 3:45 
Generalmenu from database JAVAScript Pin
amit__813-Jan-05 23:49
amit__813-Jan-05 23:49 
GeneralRe: menu from database JAVAScript Pin
JKroschel14-Jan-05 4:42
JKroschel14-Jan-05 4:42 
GeneralJava Mail API Pin
Member 157626913-Jan-05 8:26
Member 157626913-Jan-05 8:26 
GeneralApache Web Server Pin
13-Jan-05 7:13
suss13-Jan-05 7:13 
GeneralDate field Pin
Yulianto.12-Jan-05 13:57
Yulianto.12-Jan-05 13:57 
GeneralRe: Date field Pin
alex.barylski13-Jan-05 20:27
alex.barylski13-Jan-05 20:27 
GeneralRe: Date field Pin
Yulianto.13-Jan-05 21:43
Yulianto.13-Jan-05 21:43 
GeneralRe: Date field Pin
alex.barylski14-Jan-05 18:18
alex.barylski14-Jan-05 18:18 
GeneralRe: Date field Pin
Yulianto.14-Jan-05 19:25
Yulianto.14-Jan-05 19:25 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.