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');
Did you know?Explore Trending and Topic pages for more stories like this.
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

Javascript form submit and radio buttons?
When this form is submitted, it is automatically resubmitted using JS.

All my fields are carr

Protecting forms
Alright, I want to protect some forms of mine from SQL Injections, because I had someone earlier spa

how to load php class from another domain?
how to load php class from another domain?

Multiple Pages
Hi. Im very new to php. I'm trying to create a basic login/registration page.

So I have a bas

i have no idea why this isn't working
Code: <?php
session_start();
include("connect.php");

error_reporting(E

Combining Two Queries
I have two scripts that each work fine by themselves. One is a search script with a variable that de

How do i do multi uploads?.
Hey i would like to do this : http://hosting.mrkrabz.net/

I've got the base down you can uplo

array_combine() error
getting an "Warning: array_combine() [function.array-combine]: Both parameters should have an e

Multiple Do / While Statements?
I'm still very new to PHP, and running in to a problem when trying to execute a do/while loop inside

getting most records by count
Code: [Select]<?php

$connect = mysql_connect("localhost","dam

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