Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.php > #19494

Re: Firewall blocks download

Newsgroups comp.lang.php
Date 2023-07-14 18:08 -0700
References <c636c4$hk4$2@news.net.uni-c.dk>
Message-ID <feb9076d-ff84-4e05-8ca2-5ea11d16ef33n@googlegroups.com> (permalink)
Subject Re: Firewall blocks download
From V <vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvva@hotmail.com>

Show all headers | View raw


anglezzzzzzz.likesyou.org/a.php⠀⠀⠀⠀⠀⠀⠀ ⠀⠀
christyansworld.atwebpages.com/a.php⠀⠀⠀⠀⠀⠀⠀
youthmeetupplace.talk4fun.net/a.php⠀⠀⠀⠀⠀⠀⠀⠀
kohtumispaik3.66ghz.com/a.php⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀

Heia...........Heida pilk peale nendele............


Postita ka midagi sinna.

Siis pärast hea mul lugeda, et mu lehtedel on mõni külastaja ka !

Morten Jensen kirjutas teisipäev, 20. aprill 2004 kl 15:53:57 UTC+3:
> Hi
> I have a problem with a script that allows a user to download a .exe file.
> It works fine for all browsers that I have tried, but only behind certain
> firewalls. With Norton, everything looks fine except that the downloaded
> file has size zero and has no content. Is there anything I can do (perhaps
> with the HTTP headers) to get the whole file through Norton firewalls - I
> have included the relevant part of my code below. Note that the firewall
> does not block normal downloads of .exe files, but this would be an
> unacceptable solution for us.
> header("Pragma: public");
> header("Expires: 0");
> header("Cache-Control: must-revalidate, post-check=0, pre-check=0");
> header("Content-type: application/octet-stream");
> header("Content-Disposition: attachment; filename=\"install.exe\"");
> header("Content-Description: File Transfert");
> if (@readfile($swsource)==FALSE) {
> header("Content-type: text/html");
> header("Content-Disposition: ");
> header("Content-Description: ");
> die("Download failed(4)");
> }
> Thanks for any help
> Morten Jensen

Back to comp.lang.php | Previous | Next | Find similar


Thread

Re: Firewall blocks download V <vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvva@hotmail.com> - 2023-07-14 18:08 -0700

csiph-web