Send data to the target page |
|
Simulating a "GET" method |
# SET URL
$url = www.targetsite.com/process.php;
# UPLOAD GET VALUES TO URL
$upload = `curl www.targetsite.com/process.php?id=1423&Station=KNOW&RadioBand=FM`
|
|
Simulating a "POST" method |
# SET URL
$url = www.targetsite.com/process.php;
# CONFIGURE POST VARIABLES
$id = "id=1423";
$station = "Station=KNOW";
$band = "RadioBand=FM";
# UPLOAD POST VALUES TO TARGET URL
$upload = `curl $url -d $id -d $station -d $band`;
|