Hi all,
I've got a wireless print server, DLink DP-G321, that seems to need a 'reset' fairly often. This is normally done manually by going to the print servers web interface management pages and clicking on a button that is a javascript button. Here's the code from that page:
<FORM ACTION=/ReplyT.htm METHOD=POST>
....blah
<a href=javascript:document.forms[0].submit()>
....blah
</form>
I would like to be able to write a PHP script that I could schedule in the windows xp scheduler, that would essentially 'click' that button for me and do the reboot at that scheduled time.
I'm running PHP 5.0.4 on apache 2.0.54 on winxp pro.
Any suggestions/links to tutorials on how to do this sort of thing (php script to 'submit' a form) would be greatly appreciated.
Thanks.