A concrete example needed please ! reference of this is a chineese for
me :(((


On Sep 5, 1:24 pm, Martin <[email protected]> wrote:
> Here's a simple PHP proxy script that you might find useful:
>
> <?php
>
> $session=curl_init('enter the URL to the remote XML file here');
>
> curl_setopt($session, CURLOPT_HEADER, false);
> curl_setopt($session, CURLOPT_FOLLOWLOCATION, true);
> curl_setopt($session, CURLOPT_RETURNTRANSFER, true);
> $response = curl_exec($session);
> header("Content-Type: text/xml");
> echo $response;
> curl_close($session);
>
> ?>
>
> You can look up the reference page for the various cURL functions and
> options here:
>
> http://uk.php.net/manual/en/ref.curl.php
>
> Martin.
>
> On 4 Sep, 19:08, Kpol <[email protected]> wrote:
>
> > Yes I look and look but I dont understand all and this is the
> > point ... Need a concrete example ...
> > I find a lot of proxy.php but all the same, autor dont give good
> > exemple "how to use" ... :(
>
> > On Sep 4, 2:30 am, Andrew Leach <[email protected]> wrote:
>
> > > On 3 September 2010 19:50, Kpol <[email protected]> wrote:
>
> > > > hello,
>
> > > >  In my local site i can have only "phpsqlsearch.html" so i could not
> > > > use .htacess .. :(
>
> > > > it will be great if i could have (eg.) proxy.php on server site and do
> > > > request like :
>
> > > > var searchUrl = "http://www.mywebsite.com/proxy.php=?
> > > > phpsqlsearch_genxml.php?lat="
>
> > > Have you looked athttp://developer.yahoo.com/javascript/howto-proxy.html?

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps API" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-maps-api?hl=en.

Reply via email to