標題: 怎可以redirect html console data to browser [打印本頁]
作者: luckiejacky 時間: 2017-1-8 19:28 標題: 怎可以redirect html console data to browser
如果我用php -f "%1" render一個php file
佢會去左console
我怎可以redirect 佢去firefox/chrome?
THX
作者: 7h1r733n 時間: 2017-1-8 20:38
本帖最後由 7h1r733n 於 2017-1-8 20:44 編輯
點解要咁做?
你只可以render一個"temp"的html再用chrome開佢...
作者: luckiejacky 時間: 2017-1-8 20:43
想用context menu (right click) open一個php file ,但不開xampp
作者: 7h1r733n 時間: 2017-1-8 20:55
chrome係唔可以pass stdin.. 所以只能做一個temp file... 用chrome去開....
firefox係可以pass stdin.. 你google吓應該有result
作者: luckiejacky 時間: 2017-1-8 21:07
Thanks 我找找吧....
作者: bugtester 時間: 2017-1-9 11:05
write a batch:
1. execute the script with php and redirect to a temp file
2. open the temp file
Then, change windows registry to associate php script with that batch program

