Posessor Posted March 24, 2010 Share Posted March 24, 2010 Hi everyone, I'm doing a project in Flex and I needed to do an HTTPService request to a web service, but as it turns out, Flash 9 and 10 do not support header information in a get request. So as a workaround I thought of just passing the url of the web service with the right header information to a php script that does the actual request to the web service and returns the xml I need. Here's the problem, I don't know anything about php. Can someone please help me? thx in advance Link to comment https://forums.phpfreaks.com/topic/196401-get-request-with-headers/ Share on other sites More sharing options...
o3d Posted March 24, 2010 Share Posted March 24, 2010 Have a read here, it might be off topic (php wise) but it could steer you in the right direction: http://www.hvaonline.net/hvaonline/posts/list/2034.hva To have flash call a php page to call a php service seems like an awfull work-around just to have xml returned. But if the above does not work there are examples on the web to do this. Link to comment https://forums.phpfreaks.com/topic/196401-get-request-with-headers/#findComment-1031228 Share on other sites More sharing options...
Posessor Posted March 24, 2010 Author Share Posted March 24, 2010 thank you for the tip but if you read the content of the post in the link you provided, it says it will work in flash 7 and 8, I need a method that will work with flash 9 and 10. To have flash call a php page to call a php service seems like an awfull work-around just to have xml returned. Maybe I was a bit vague but I want my Flex app to call a php script that calls an xml webservice not a php service Link to comment https://forums.phpfreaks.com/topic/196401-get-request-with-headers/#findComment-1031241 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.