怎可以redirect html console data to browser

如果我用php -f "%1" render一個php file
佢會去左console
我怎可以redirect 佢去firefox/chrome?
THX

本帖最後由 7h1r733n 於 2017-1-8 20:44 編輯

點解要咁做?

你只可以render一個"temp"的html再用chrome開佢...

TOP

想用context menu (right click) open一個php file ,但不開xampp

TOP

想用context menu (right click) open一個php file ,但不開xampp
luckiejacky 發表於 2017-1-8 20:43


chrome係唔可以pass stdin.. 所以只能做一個temp file... 用chrome去開....
firefox係可以pass stdin.. 你google吓應該有result

TOP

Thanks 我找找吧....

TOP

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

TOP

相關文章