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=" On Sep 3, 7:32 pm, Andrew Leach <[email protected]> wrote: > On 3 September 2010 12:46, Kpol <[email protected]> wrote: > > > > > I need to do it from device which can only have html and the script. > > > do u still think proxy can help ? > > Of course. Your browser requests content from *your* server. The > browser cannot request additional content from somewhere else. So your > server has to serve that as well. That's the proxy script -- the > browser requests the additional content via the script on your server, > and that script gets the required data and relays it. The browser then > thinks that it's come from the same source as the web page and all is > ok. > > It's not a question of what the data/content is or how it's requested. > It's a question of where the browser is getting it from. > > The first result > athttp://www.google.co.uk/search?q=php+proxy+script+howtoexplains it > with diagrams and provides a sample proxy script. It even mentions > Apache's mod_rewrite and mod_proxy, which mean you don't have to use a > proxy script. You do have to know about .htaccess and how to implement > those directives though. -- 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.
