Hi all.
I've just discovered PFA and i'm using Tasker (
http://tasker.dinglisch.net ) to run my scripts
I've some great knowledges on php, and i'm really exciting to know that i can use the android scripting library with PHP.
But i have some issues trying to get a Tasker variable into my php Script.
I created a task in tasker :
+ Set variable : %NICK to 'Tom'
+ Run script : test.php, pass variable : %NICK
Here is the php script i tried :
<?php
require_once("Android.php");
$droid = new Android();
$name = $droid->dialogGetInput("Hello" . $GET['NICK'] ." !" , "What is your lastname ?");
$droid->makeToast('Hello, ' . $GET['NICK'] . ' ' . $name['result']);
?>
of course, the script works, but $GET['NICK'] is empty. Nothing is print.
I also tried :
$_NICK
$GET['nick']
$POST['NICK']
$POST['nick']
$nick
but nothing seems to work.
Any idea ?