Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

5
  • Tried this but the problem still persists. The php bit seems to work fine considering that it works in the other browsers. Seems to be that it doesn't understand the response. Commented Jan 11, 2010 at 16:28
  • Correct - thats why i had you change your PHP. if youre getting a response size of 0 then chances are php isnt outputting anything at all hence my default output of $sourcePage. It may be that thngs are getting mangled going in so that $_POST['source'] doesnt exist. It may be that FF3.5.7 is having trouble with some of your markup or js in someway. Try using empty() instea of isset() an see if there is a difference. Commented Jan 11, 2010 at 16:42
  • Sorry, i should have been more clear earlier. When i said it can't distinguish the size of the response i meant that it gives a value of '?' as opposed to thinking the file is 0 bytes. I have an else statement that echos 'brokenSource' in the php file so it should always be outputting something. Also, i have tried dataType: text but the problem persists. Commented Jan 11, 2010 at 17:09
  • Hmmm can you try curl'ing down the page with the same POST vars and then looking at the raw response to see if anything is malformed? Commented Jan 11, 2010 at 19:36
  • I tried using curl (though it's completely new to me and it's possible i did something wrong) and it seems to return the correct result(prints 'hello') in all browsers (including ff3.5.7) Commented Jan 12, 2010 at 7:51