Ask a Question related to PHP Development, Design and Development.
-
Freddy #1
php download management - netscape/mozilla bug
I am using the script as below, but there is a problem, in Netscape, and
Mozilla Firebird, a .php is added to the filename when the user is prompted
to save, it's ok in Internet Explorer and Opera though:
$filename="/home/myUserName/filename.exe";
header("Content-Disposition: attachment; filename=filename.exe");
header("Content-Type: application/octet-stream");
header("Content-Length: ".@filesize("$filename"));
readfile("$filename");
This works fine, other than on Mozilla Firebird and Netscape, it wants to
save as filename.exe.php
I've noticed if I make the download link download.php?anyvariable=anyvalue,
the .php IS NOT added however, so I use that to temporarily stop the
problem.
Can anyone suggest what I maybe doing wrong.
Thanks.
Freddy Guest
-
Netscape and Mozilla not recognizing tags
Hi, i am doing an image map and mapped out the coordinates using fancy tooltips and links and it works great in MSIE but the tooltips don't show in... -
img in textfield tag crashes Netscape/mozilla on Mac
Hi. I have made a dynamic textfield and a String object that contains a link to an image. When I attach the string to the textfield.htmlText the... -
#25471 [NEW]: The PHP Documentation download page does not show any download in Mozilla
From: mahesh dot chandrasekar at icici-infotech dot com Operating system: All PHP version: Irrelevant PHP Bug Type: *General... -
Layers don`t show and hide with Mozilla and Netscape
Hi, I am trying to make layers visibel / hidden with onMouseOver/onMouseOut . But the Code DW generates works only with IE. Any suggestion ? ... -
Netscape/Mozilla Problem
Hi all, On my site using Netscape versions or Mozilla etc, the main left hand text navigation menu (blue bar left hand side), red coloured 'New'...



Reply With Quote

