No return when application goes to server

0

I'm calling the following functions to get the current date and year:

$mes = date("m");
$ano = date("Y");

This works when I'm in localhost , but when I upload the application to the server I do not get any information from those methods. I'm using PHP 5.3.

Any suggestions on how to make this information appear?

    
asked by anonymous 15.09.2015 / 14:41

0 answers