Hi,
if you need to call the php script from a GWT app and get the response you
may use RequestBuilder:

http://google-web-toolkit.googlecode.com/svn/javadoc/latest/com/google/gwt/http/client/RequestBuilder.html

look at
http://google-web-toolkit.googlecode.com/svn/javadoc/latest/com/google/gwt/http/client/package-summary.html
for some quick howto.

A.






On Thu, May 9, 2013 at 4:31 PM, Larissa Costa <[email protected]>wrote:

> Sorry Juan,
>
> But I want to get the response from PHP script.
> This PHP script is only a sample.
>
> 2013/5/9 Juan Pablo Gardella <[email protected]>
>
>> Try with
>> http://google-web-toolkit.googlecode.com/svn/javadoc/latest/com/google/gwt/i18n/client/Dictionary.html
>> .
>>
>>
>> 2013/5/9 Larissa Costa <[email protected]>
>>
>>> Good morning!
>>>
>>> I have a php script like this:
>>>
>>> *<? php*
>>> *     for ($ i = 1, $ i <= 10, $ i + +) {*
>>> *         echo "Line". $ i. "<br>";*
>>> *     }*
>>> *?>*
>>>
>>>
>>> And a variable in my GWT code:
>>>
>>> *String = **responsePHP = "";*
>>>
>>>
>>> Is there a simple way (or not) to get the response from PHP script and
>>> put in variable GWT?
>>>
>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "Google Web Toolkit" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to [email protected].
>>> To post to this group, send email to [email protected]
>>> .
>>> Visit this group at
>>> http://groups.google.com/group/google-web-toolkit?hl=en.
>>> For more options, visit https://groups.google.com/groups/opt_out.
>>>
>>>
>>>
>>
>>  --
>> You received this message because you are subscribed to the Google Groups
>> "Google Web Toolkit" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to [email protected].
>> To post to this group, send email to [email protected].
>> Visit this group at
>> http://groups.google.com/group/google-web-toolkit?hl=en.
>> For more options, visit https://groups.google.com/groups/opt_out.
>>
>>
>>
>
>
>
> --
> Larissa Costa
> Graduanda em Ciência da Computação
> Universidade Federal de Campina Grande
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Web Toolkit" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to