Search found 2 matches

by RobertVJ
Mon Mar 29, 2010 4:58 pm
Forum: PHP - Code
Topic: Mac Upgrade Breaks a simple code
Replies: 2
Views: 125

Re: Mac Upgrade Breaks a simple code

I solved the problem. I needed to un-comment and set the value of date.timezone. Also the php.ini file didn't exit. There was a php.ini.default which I had to duplicate and rename it without the default. The default must be the template.
by RobertVJ
Mon Mar 29, 2010 4:00 pm
Forum: PHP - Code
Topic: Mac Upgrade Breaks a simple code
Replies: 2
Views: 125

Mac Upgrade Breaks a simple code

I have used this simple code to output date time on a web page $date_time = strtotime("$test hour"); echo date("l - M j, Y - g:i A", $date_time); Note that the test variable is set to 0 in this case. I use the local Apache server on my Mac to test changes and then FTP changes to ...