Try running localhost/filename.phpInstead of running file with given address like c:/xampp/htdocs/filename.phpHope it resolves the issue.