ShowerThoughts
2009-11-16 17:29:40
I think it is possible to have php script that works like this:
Domain/switch.php?switch=on (or switch=true or switch=1)
Domain/switch.php?switch=off (or switch=false or switch=0)
And then when you do a getpage, on Domain/switch.php it will give you the state of the switch in text format.
How would you do this?
Thank you for your time, I have my ideas on this, but I am not that good at php and don't know where to start. The last thing i've made in php(with somebody else -.-) is like waaaay to long ago.
Domain/switch.php?switch=on (or switch=true or switch=1)
Domain/switch.php?switch=off (or switch=false or switch=0)
And then when you do a getpage, on Domain/switch.php it will give you the state of the switch in text format.
How would you do this?
Thank you for your time, I have my ideas on this, but I am not that good at php and don't know where to start. The last thing i've made in php(with somebody else -.-) is like waaaay to long ago.