php script to log in javascript browser console for codeigniter.