grahamberends Posted March 11, 2007 Share Posted March 11, 2007 Hi there! I wish to run wget using cron . . . but my RP614 router goes to sleep and needs to forcibly woken up! I will need to invoke the "Disconnect"-button, then later invoke the "Connect"-button. Question: what will the DATA STRING of the URL look like? I look forward to your reply thanks Graham DETAILS: The pppoestatus.htm script has three visible buttons: - Connect - Disconnect and - Close window and one hidden button. The html lines of code are cut and shown as follows: <input type=button value=' Connect ' onClick='pppoeAction(this.form,1)'> <input type=button value=' Disconnect ' onClick='pppoeAction(this.form,2)'> <input type=button name="close" value="Close Window" onclick="window.close();"> <input type=hidden name="Button" value="Apply"> The javascript code is as follows: function pppoeAction(F,I) { d =parseInt(I.value, 10); F.pppoeAct.value = I; F.submit(); } Link to comment https://forums.phpfreaks.com/topic/42234-how-to-structure-data-string-of-url-for-wget/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.