I wanted to know if it is possible to GET and POST on the same php page, for example
I want to send data to:
http://www.example.com/my.php
So first the GET
http://www.example.com/my.php?task=dosomething
and POST some $thexml = XML
to
http://www.example.com/my.php?task=dosomething
and then be able to access both in some code like (example)
// Example Code ============================
if($_GET["task"] == "dosomething"){
$mynewxml = $_POST["$thexml"];
}
//==========================================
Sure. Quite easy: