Generate PHP preview by pressing F12