You have to add the server hosting the php files in the whitelist.
Here's an example of the parameter I'm using:
-noserver -whitelist " ^http[:][/][/]myhost[.]com" -out www
http://myhost.com/ProjectName/ProjectName.php

This should appear as instructions inside an exception, if you try to
run your app without having your server inside the whitelist.

Cheers,
Panickos

On Mar 29, 2:24 pm, "[email protected]"
<[email protected]> wrote:
> I think you cant make a Http request to //localhost/ from //localhost:
> 8888/ because of the same origin policy.. might be wrong, just wanted
> to know incase.
>
> On Mar 29, 6:39 pm, Miroslav Genov <[email protected]> wrote:
>
> > Why you wanna do this ?
>
> > Probably this is what you are looking 
> > for:http://code.google.com/support/bin/answer.py?answer=87509&topic=10454
> > <http://code.google.com/support/bin/answer.py?answer=87509&topic=10454>
>
> > Regards,
> >  Miroslav
>
> > [email protected] wrote:
> > > Ok thanks, I understand that I can use request builder now.  Is there
> > > a way to host php files on the same server utilised by google web
> > > toolkit "localhost:8888".
>
> > > On Mar 29, 5:50 pm, Miroslav Genov <[email protected]> wrote:
>
> > >> Hello,
> > >>  Any of the following links may help you to find a way to do it:
>
> > >>  http://code.google.com/support/bin/answer.py?answer=65632&topic=11368
> > >> <http://code.google.com/support/bin/answer.py?answer=65632&topic=11368>
> > >>  http://code.google.com/p/google-web-toolkit-doc-1-5/wiki/DevGuideHttp...
>
> > >> Regards,
> > >>   Miroslav
>
> > >> [email protected] wrote:
>
> > >>> Hello Folks,
>
> > >>> I was wondering how to send a string varible to a php script from my
> > >>> google webtoolkit code.
>
> > >>> i.e. I want to append a string to a php url so that the php script can
> > >>> take that string and query the yahoo or delicious api.
>
> > >>> I'm using wamp and as GWT is on localhost:8888 and wamp is on
> > >>> localhost, I'm not sure how if I will be unable to do this because of
> > >>> the same origin policy.
>
> > >>> Help would be greatly appreciated,
>
> > >>> Thanks,
>
> > >>> Scott.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" 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-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to