Saturday 24 November 2018

php - Why when add to web page don´t work on hosting?

Answer


I am developing a simple webpage at hostgator.com.
I have the standard headers, but when I add the following line:



 


the page does not work. I would like why.



This is the full header:







... rest of code ...


The server returns me a blank page







Issue solved: The PHP short tags was open.

No comments:

Post a Comment

php - file_get_contents shows unexpected output while reading a file

I want to output an inline jpg image as a base64 encoded string, however when I do this : $contents = file_get_contents($filename); print &q...