Toby Lewis
2005-Oct-06 18:35 UTC
[Rails-spinoffs] Re: Ajax.Request: responseText = null in Safari
Hi> Any tips? Does my PHP script need to return certain headers for > this to > work in Safari?It is probably worth doing a sanity check and hard code a php response so you know that the problem is at the receiving end and not a problem with the php request from safari. The content-type header of the response should be text/xml or application/xml but I don''t think that makes a lot of difference. In fact it is more likely to affect the responseXML rather than the respnseText. You can try adding a header(''Content-type: text/xml''); into your php script just in case. let us know what the problem is/ was when you find it. Toby