Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

To get around this issue you can use the "submitForm()" function in mADL. The mADL SubmitForm function can be used to:

...

Code Block
themeRDark
languagephp
linenumberstrue
$t->fetch("http://mywebsite.com/login.php");
$t->submitForm( 0, array( 'username'=>'myusername',
'passwd'=>'mypassword' )
);
// Then you can continue on with accessing the page by using the following:
$t->fetch("http://mywebsite.com/tickets.php?status=".$args[0]);
return $t->result;
 

For more information on the submitForm function - see the note here.