Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
PostFormData and PostAdd
#2
Maybe the posted data is too long. I don't know what is the limit. I tested now with short strings, and it works.

Web page http://www.quickmacros.com/test/post.php
Code:
Copy      Help
<?php
var_dump($_POST);
?>

Macro
Code:
Copy      Help
Http x.Connect("quickmacros.com"); str s
x.PostAdd("username" "mshah15")
x.PostAdd("z" "x")
x.PostFormData("test/post.php" 0 s)
out s

Output
Quote:array(2) {
["username"]=>
string(7) "mshah15"
["z"]=>
string(1) "x"
}


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)