Kris, You might find it easier to do this using Apache's built in mechanisms to build a reverse proxy than using PHP. For an example visit: http://premshree.livejournal.com/66129.html
Best, Ishan On 10/11/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > > How would you recommend going about redirecting the requests. I have > basically go experience with PHP (other that echo). I would appreciate > if you could help me out, but if not I'm sure I would be able to find > something about it on Google. > > On Oct 11, 11:44 am, craig <[EMAIL PROTECTED]> wrote: > > Unless the NHL data and your web app are served from the same domain, > > you cannot do an XMLHTTPRequest. For security, so-called "cross-site" > > requests are not allowed (ie, a web app served from mydomain.com > > cannot do an XMLHTTPRequest for data from yourdomain.com). You > > somehow will need to host the data on your own site (same domain as > > where the app lives), or use PHP/etc to redirect local requests to the > > NHL site. This is a fairly common, but easily handled, limitation of > > using XMLHTTPRequest. It just requires some server-side workarounds. > > For my app, I use PHP to handle it. > > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "iPhoneWebDev" 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/iphonewebdev?hl=en -~----------~----~----~----~------~----~------~--~---
