Default TimeZone


Posted on 16th Feb 2014 07:03 pm by admin

The server I'm working with is hosted in America so all times inserted into the database are coming out 5 hours differen't to what I want them to. I attempted placing the following in my Header file...

Code: [Select]date_default_timezone_set('Europe/London');
But it doesn't seem to have worked, am I missing something?

No comments posted yet

Your Answer:

Login to answer
163 Like 6 Dislike
Previous forums Next forums
Other forums

confused between ' ' and " "
there is a php i set:
$begin_date_query = mysql_query( "SELECT SUBDATE(due_date, INTERVAL $d

Web Host List
Here is a list of web hosts that offer PHP and MySQL. It is no where near a full list, but it is mos

links using header()
Hi All

I'm not sure where to ask for help on this but I hope someone can offer some. I'm at

reading partial code from external site
Hi,

I am trying to write a script for my website to get an article from an external website.

How do I give a developer access to a specific directory and nothing else?
I want to give a develop access to a specific directory and nothing else

I can give them an F

storing video files into mysql in php
hi

i have my video files in my folder ,
i have to store the path of the videos into db an

Login logout link help
Hi all,

Im new to php and Im having trouble creating a login/logout link for my page that dis

php/xmlrpc class issue
I am working on xml-rpc in php to start with.

I have a class that only has variables defined

Does design fit in FPGA ?
Hi all,

I've made a large HCC-Design. Because of the program-size the compile process with th

Certain files upload, while others do not
I want to read the data from an uploaded file. Not sure why, but it only uploads for certain files.

Sign up to write
Sign up now if you have flare of writing..
Login   |   Register
Follow Us
Indyaspeak @ Facebook Indyaspeak @ Twitter Indyaspeak @ Pinterest RSS



Play Free Quiz and Win Cash