close

WEB2.8裡面有一個WEB遙控器的功能,
透過圖形化的介面,可以由網頁控制播放機。


但是... 為什麼不會動呢?
這不是akira 漏掉檔案喔!
從解密到正體中文化的過程,檔案可是一個都沒少,還加了好幾個。

那究竟是哪裡出問題?
從remote_v.php裡面,有提到需要rc_action.php
<form name="remocon" target=\'gframe\' action="rc_action.php" method="post">

但是wenl的原始檔案中並沒有。

在討論區上面,看到hanchan88說舊版有這個檔案;
那麼抓一個來看看吧...
果然有... 順便解開來

檔案下載:
http://isakira.googlecode.com/files/rc_action.zip
解壓密碼: isakira.twnuu.com

rc_action.php部分內容:
}else if ($_POST['1']){

exec("echo 1 >> /tmp/command_sender.txt");

當按下畫面上的按鈕時,

會產生 /tmp/command_sender.txt
於是我們還要處理這個檔案
修改一下 /usr/local/etc/rcS


原本的
./RootApp DvdPlayer&
要改成
tail -f /tmp/command_sender.txt |./RootApp DvdPlayer&

這樣才能讓WEB遙控器恢復功能。

註: rc_action.php該放在哪個資料夾?
/opt/share/www
和remote_h.php remote_v.php同一個資料夾

arrow
arrow
    全站熱搜

    isakira 發表在 痞客邦 留言(4) 人氣()