rcgtb Posted May 27, 2012 Share Posted May 27, 2012 Hi. I want open this page: http://apps.worten.pt/worten_ola/services.php?action=voteVideo&idVideo=170 When the page is open in Firefox, Chrome or Safari, appear the word "KO" or "OK". But I can´t open the page in IE or Opera! In IE, appears a error notification in a popup saying operation aborted. In Opera, appears a popup to download the file "services.php", like a normal file. There is any way to open the link in IE? With java or other extra code? Thanks. Quote Link to comment https://forums.phpfreaks.com/topic/263219-page-not-open-in-ie-why/ Share on other sites More sharing options...
.josh Posted May 27, 2012 Share Posted May 27, 2012 What exactly does services.php do? how is "KO" or "OK" being output? At face value, it seems as though you are trying to output something in a nonstandard or unknown format without outputting proper headers, and some browsers are "best guessing" or defaulting to html or something, while others aren't. Quote Link to comment https://forums.phpfreaks.com/topic/263219-page-not-open-in-ie-why/#findComment-1348989 Share on other sites More sharing options...
rcgtb Posted May 27, 2012 Author Share Posted May 27, 2012 This page is to submit a participation. When appear "OK", the participation is ok. When appear "KO", the participation is failed. The link needs to be like that. Some browsers recognize the page like a page (Firefox, Safari and Chrome). But others think that is a file or simple error (IE, Opera). Quote Link to comment https://forums.phpfreaks.com/topic/263219-page-not-open-in-ie-why/#findComment-1348990 Share on other sites More sharing options...
.josh Posted May 27, 2012 Share Posted May 27, 2012 right, we've already established that... you didn't answer my questions What exactly does services.php do? how is "KO" or "OK" being output? To be clear, show some code in services.php, particularly the bits that actually output those values. Quote Link to comment https://forums.phpfreaks.com/topic/263219-page-not-open-in-ie-why/#findComment-1348991 Share on other sites More sharing options...
rcgtb Posted May 27, 2012 Author Share Posted May 27, 2012 I don´t know the code behind the link. In the application, i can click in "vote" button to vote, but it needs more time. So, I can click directly in this link to vote. The link only is successful when the application is open. The info that link sends is: "action=voteVideo" (vote in...) and "idVideo=170" (...video 170). Sorry, i don´t know more info. The only doubt is why in IE don´t open. Quote Link to comment https://forums.phpfreaks.com/topic/263219-page-not-open-in-ie-why/#findComment-1349001 Share on other sites More sharing options...
.josh Posted May 27, 2012 Share Posted May 27, 2012 Well i told you why it probably isn't opening in IE. IE is trying to download it as a downloadable item. 99% sure this is because whatever services.php is doing, it is returning the result in a format IE doesn't recognize: eg: malformed response headers, etc.. IOW the problem is with services.php script. If you can't show me the code to services.php then there's nothing I can do to help. Quote Link to comment https://forums.phpfreaks.com/topic/263219-page-not-open-in-ie-why/#findComment-1349003 Share on other sites More sharing options...
rcgtb Posted May 27, 2012 Author Share Posted May 27, 2012 Thanks a lot for your help. Is one more thing I learned. Quote Link to comment https://forums.phpfreaks.com/topic/263219-page-not-open-in-ie-why/#findComment-1349005 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.