php versions lower than 5.4 return complete html page code rather than the snippets only