IE11 php download depsite being local files

NukeULater

Gawd
Joined
Sep 12, 2006
Messages
917
I have an odd problem with IE11 that manifested itself recently. I have been coding a new website that uses php pages. The files are stored locally yet in IE11 once the files is opened in does not display and a download prompt appears. I don't have any problems with previewing the files website in firefox. I messed around with security settings and a few other things but no change occurred. Does anyone know a work around to get these pages to display?
 
Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="robots" content="noindex" />
<meta name="description" content="..." />
<meta name="keywords" content="..." />
<meta name="copyright" content="Copyright © 2015" />

<title>Update</title>

<link rel="shortcut icon" href="favicon.ico" type="image/x-icon" />
<link href="test_css/style.css" rel="stylesheet" type="text/css">
<link href="test_css/jquery.mCustomScrollbar.css" rel="stylesheet" type="text/css" />
</head>
 
set up a webserver? as a guess you are probably experiencing a security feature designed to prevent executing malicious code through the browser, and to do that they may be copying files to a protected memory space
 
set up a webserver? as a guess you are probably experiencing a security feature designed to prevent executing malicious code through the browser, and to do that they may be copying files to a protected memory space

My thoughts exactly, IE11 doesn't include a PHP engine and likely never will, there's no point to it.

The *only* way for php to work is with a web server.
 
HTTP headers I mean.
I should have known that. Man I feel like and idiot.

set up a webserver? as a guess you are probably experiencing a security feature designed to prevent executing malicious code through the browser, and to do that they may be copying files to a protected memory space

My thoughts exactly, IE11 doesn't include a PHP engine and likely never will, there's no point to it.

The *only* way for php to work is with a web server.
Thanks for the responses. I hosted the site tonight and and there isn't any problems with IE11. I forgot that I was using IE10 in the last update for this website. This is a bit of a hassle but at least I can test it on mobile devices.

Thanks for the help!
 
Back
Top