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

Using loop to count number of entries
I'm writing a program that must ask user to type in numbers. After each entry, the program has to re

Move array index to end
Hey guys,
Quick question:

I have an array that looks like this:
Code: [Select]$var =

Target costs on Process orders not calculating
Hi All,

We have released standard costs for all the materials. We have also done Goods r

Displaying data from MySql a different way
Hi all,
I'm pretty new to php and MySql and have hit a problem.

I am able to display data

HELP with mysql_real_escape_string
I'm looking to remove apostrophes completely when someone enters lyrics but don't have a clue how to

Match stored value with the current value in a loop
Hello,

I have a MySQL db were I store articles in.

I have a form to fill these article

Why doesn't this work? (SSH2)
This is my script:

Code: <?php
$connection = ssh2_connect('213.251.167.109', 22);

rename the file
File.txt

Code: ***DOCUMENT***
..DN:
000044255
..CB:
..SN:
..PY:
2009
..E

Help with setcookie()
Merry Xmas to those on this foruum
Older guy here with some experience but not allot so please be

rand() function
just a general question guys a girls, is the rand() function 100% random or is it based on time?

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