|
by: Arg |
last post by:
I posted this to alt.comp.lang.php last week and got no response so I am
reposting it here today...
I am trying to use the following script to allow users to download files
with some of the file name stripped off. This script is for use on my
company intranet and only has to work with Internet Explorer 6. When the
files are uploaded (through another PHP script) they are prefixed with a
timestamp to prevent files with duplicate...
|
by: ryanmhuc |
last post by:
I'm sending back a file as the content type but when the file name is
of test.class.php the file dialog (I'm using IE 6 Windows) saves it as
test.class.php. If I send test.php it saves it as test.php. I need
it to default save as "test.class.php". Anyone know why this is and how
to get around it? Heres the exact code I'm using.
header('Content-Type: application/octetstream; name="test.class.php"');
header('Content-Type:...
|
by: mike |
last post by:
Is there any way I can change the content type when I open a new window
other than opening a script in the open statement?
mywin =
window.open('','rpt','width=600,height=425,top=50,left=0,scrollbars=yes,toolbar=yes,resizable=yes,dependent=no');
mywin.document.write("Content-type:image/svg+xml");
In this example I would be changing the content type to svg.
|
by: Chris Davoli |
last post by:
I'm trying to change content type of an ASPX page in the
browser and send some data so the browser mimics an EXCEL
spreadsheet (changed the content type to excel for the
ASPX page), but its getting the data from a previous page.
I'm doing a server transfer from a previous page. I've
also tried to flush the buffer at the page load before I
do anything, but this doesn't work. Below is my code. I'd
appreciate anyone who could lead me to a Q...
|
by: shypen42 |
last post by:
Hi,
I'd like to know how to serve web pages as "cleanly" as possible,
maybe validating them if it's possible. How should I do to
both respect standards *and* have it work under the various
IE versions?
Is there a "best practice" regarding the content type of a web page
using quite some amount of Javascript (and "AJAX"-server querying)?
|
|
by: timothy |
last post by:
My web application pushes an extemporaneous PDF file out to a web
page. It adds a 'Content-type: application/pdf' header to the HTTP
headers, but the web server automatically adds a 'Content-type:
text/html' header before mine.
Firefox embeds this in a web page just fine, but IE always brings up
the full Adobe reader application to show the file. Is this caused by
this first header? The web server gives me no way to remove it. I...
|
by: =?ISO-8859-1?Q?Une_B=E9vue?= |
last post by:
two possibilities or the attribute type of script :
text/javascript (the one i usually use)
application/x-javascript
what are the differencies between both ?
depends on the html content ?
for example html 4.0.1 versus xhtml 1.1 ???
|
by: ftech |
last post by:
I am saving PDF files in SQL Server 2005 as an image and retrieve them back by their document ids. I use the following code:
byte
buffer = (byte)dtDoc.Rows;
if(buffer != null)
{
Response.ContentType =
|
by: Aaron Fude |
last post by:
Hi,
I have a webpage delivers, let's say, a pdf document. The page is
password protected so itially it shows HTML, but when the user logs in
the page is reloaded with "window.location.reload(true)", but
IExplorer is not smart enough to realize that the content type has
changed and just spits out pdf onto the screen. How does one fix that?
Thanks!
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
|