Hi. I am fairly new to PHP, so I don't know if this is even possible - but I will explain what I am trying to do.
Basically, once a week I want my linux shell to call a php script (using crontab and the lynx browser). In this script is details of an html form that is going to be filled in. All the data is in hidden tags in html. And there is also a submit button on the page, when the submit button is pressed, it uses POST to send the data to another PHP script located elsewhere, where it is delt just like a normal html form request.
What I am wondering is, when form.php is called using the web browser (lynx) - is there any way of making it automatically submit the data thats there rather than someone having to press the submit button?
Basically I want to be able to make it submit the data while I am in bed sleeping during the night.
The script currently reads something like:
<?php
echo"<form name=detail action=http://location.of.post.script/post.php method=POST>";
echo"<input name=username type=hidden id=username value=myusername>";
echo"<input name=password type=hidden id=password value=mypassword>";
echo"<input name=description type=hidden id=description value=\"Description\">";echo"<input type=submit value=Submit>";
echo"</form>";
?>
Thanks very much for any help,
David