In php you can use the file_get_contents function to act as a relay for
cross domain requests.
http://php.net/manual/en/function.file-get-contents.php

Jason

Sent from my iPhone, holding it any way I like...

On Feb 15, 2011, at 2:43 PM, Bob at edutt dot us <[email protected]> wrote:

John,
Let me know what you decide. I am behind you in doing a PHP/MySql web app. I
just joined this forum today. I had not heard of PhoneGap before. I will
look at it as a possible solution for my case.

Bob

On Feb 15, 2011, at 11:07 AM, Jordan Dobson wrote:

John,

You can do cross domain xmlhttpRequests from within a PhoneGap app. Native
Apps don't have the cross domain restriction.

- Jordan

On Tue, Feb 15, 2011 at 10:33 AM, John Michael Biddulph <
[email protected]> wrote:

> ok, I've tried everything..... I have a large database, can't
> xmlhttpRequest cross domain, was having problems with JSON binding  my
> datasource, I just want a PHP/mySQL Web App to sell?!
>
> is there any other way?
>
> should I go back to JSON? what about SQLlite?
>
> thanks
>
>
>
>
>
> On 15 February 2011 16:26, Mogens Beltoft <[email protected]> wrote:
>
>> Hi,
>>
>> PHP is a server-side language, that typically gets interpreted by a
>> webserver, when called from a client.
>>
>> PhoneGap is "just" an encapsulation service, that wraps a web-based
>> application in Objective-C code, so it can be made into an app for the App
>> Store. I know it does more than that, but that's what PhoneGap basically
>> does.
>>
>> So you need something to interpret your PHP?
>>
>> So why do you need PhoneGap? Do you intend to sell your app?
>>
>> If not, why don't you just put your app on your homepage, and send Apple a
>> notice about your app, and get it published on the Web App page?
>>
>> /Mogens
>>
>>
>> On 15-02-2011 10:02, [email protected] wrote:
>>
>>> Hi,
>>>
>>> I have been using JQTouch to create my php based web application, I
>>> was just finishing off yesterday and getting ready to deploy/publish
>>> to the App store.
>>>
>>> I downloaded phonegap and following instructions, installed, imported
>>> my application and when I went to build and go, I got a blank screen?!
>>> - I searched google and, I think the problem is, can't have php in
>>> phonegap?!!
>>>
>>> Can someone please help me, I have tried and tried many things and
>>> keep getting stuck, first I tried XCODE (too difficult to get on with)
>>> then DASHCODE with JSON (was finding it hard to do certain things)
>>>
>>> until I found JQTouch, great, now how do I deploy/publish my app?!
>>>
>>>
>>
>> --
>> 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.
>>
>>
>
> --
> 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.
>



-- 
Jordan Dobson • Designer / Developer • 425-444-8014 •
About.Me/JordanDobson<http://about.me/jordandobson>

-- 
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.


 --
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.

-- 
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.

Reply via email to