Here's what I've used to proxy gzipped XML files:
$file = gzfile($HTTP_POST_VARS["filename"]);
echo "theXML=" . implode("", $file);
If you pass it "file" variable, which is basically a url to a gzipped file,
it'll echo it back as a string.
In your case, you could merely forward the request to and from whatever
service your accessing using PHP's file commands.
----- Original Message -----
From: "heybluez" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Thursday, August 11, 2005 5:03 PM
Subject: [flexcoders] Another Proxy? PHP?
Hey,
I have a client that does not want to use the Flex proxy for
HTTPService requests. Unfortunately, you need to have a
crossdomain.xml file on all the requested servers. This, is probably
unlikely to be the case all the time...if even part of the time. SO I
was thinking of building a PHP "proxy" or something to route through.
Question is, are there any other solutions before I start? Has
anyone done something similar and wants to kindly share? :)
Thanks!
Michael
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
Yahoo! Groups Links
------------------------ Yahoo! Groups Sponsor --------------------~-->
<font face=arial size=-1><a
href="http://us.ard.yahoo.com/SIG=12hfcg7qu/M=362131.6882499.7825260.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1123803385/A=2889191/R=0/SIG=10r90krvo/*http://www.thebeehive.org
">Get Bzzzy! (real tools to help you find a job) Welcome to the Sweet Life
- brought to you by One Economy</a>.</font>
--------------------------------------------------------------------~->
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/