The other day Josef Tschiggerl mailed me this suggestion:
What I am interested in is if it would be possible (in a further release) to include the possibility to browse a specific url to hand
over parameters to PHP. Like http://www.mysite.com/arduino/log.php?temp=$1
$1 should then be replaced by a value from Arduino.
This is a very good idea, and one use that i had not thought of my self. I Have been thinking about how to implement it. The problem is what if someone wanted to send two parametres in the query string or 3 or 4 ? I will probably make a new version of the SPWEX or SPRID command type where the Cmd line arguments parameter is external. This way you can start a program and hand it command line arguments that are coming from Arduino. Combine this with a clever VB script and you have just what Josef wants. In fact you have much more, because this would be a very general approach to sending command line parameters to a program started from Gobetwino. The command line parameter string could have anything you like in it, and a VB script can easily get to it. Hmmmm… this opens up other possibilities…
Any number of variables can be passed to php using URL parameters, eg
http://www.yourdomain.com/log.php?temp=66&hour=10&minute=30&second=45
In php, use
$temp=$_GET["temp"];
$hour=$_GET["hour"];
Прошу прощения, это мне не совсем подходит. Кто еще, что может подсказать?…
Уборщица mysite.com/arduino/log.php?temp=$1
$1 should then be replaced by a value from Arduino.
This is a very good idea, and one […….
Pillspot.org. Canadian Health&Care.No prescription online pharmacy.Special Internet Prices.Pillspot.org. Herbal-supplements@buy.online” rel=”nofollow”>.…
Categories: Antiviral.Antidiabetic.Antibiotics.Mental HealthWeight Loss.Anti-allergic/Asthma.Vitamins/Herbal Supplements.Stomach.Eye Care.Skin Care.Anxiety/Sleep Aid.Blood Pressure/Heart.Antidepressants.Womens Health.Pain Relief.Mens Health.Stop S…