Jump to content

Recommended Posts

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.

Link to comment
https://forums.phpfreaks.com/topic/263219-page-not-open-in-ie-why/
Share on other sites

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.

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).

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.

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.

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.

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.