another PHP-Revlet question

Yves COPPE yvescoppe at skynet.be
Sun Aug 30 06:12:29 EDT 2009


Le 30-août-09 à 00:50, Sivakatirswami a écrit :

> Yves:
>
> I second Dave's idea. Are you sure "it" does not have what you need:
>
> POST tUploadData to url tURL
> put it into tServerResponse
>
> I use this a lot...
>
> (not tested in revlet)
>
> Christian Langers wrote:
>> Hi Yves,
>>
>> may it be :
>>
>> put "http://www.mondomaine.com/myfunctionfile.php? 
>> var="&urlencode(tVar) into tURL
>> put URL("File:"&tURL) into myNewVar
>>
>> using $_GET["var"] in PHP and echo the result ?
>>
>>
>> Greets,
>>
>> Christian
>>
>>


Hi list,

Thanks for the many answers


if I use the script above (with POST) , I get an answer

BUT

if I use a php function with as last line of the PHP code :return $var;
I get in my "it" variable the ext of the function !!

if I use the same php function with as last line of the PHP code :  
echo $var;
then I get the appropriate answer

srange ? but it works


Greetings.

Yves COPPE
yvescoppe at skynet.be




More information about the use-livecode mailing list