Registery page look!?!?

12/09/2010 08:16 stedabest321#1
when some one registers i get this problem, they can register 100% correctly
but its just annoying

Code:
Warning: date() [function.date]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/Paris' for '1.0/no DST' instead in C:\xampp\htdocs\pages\register.php on line 85
Account successfully registered!
any ideas how to fix this i went and looked at it al
but im no good with php
any ideas :) :mofo:
12/09/2010 08:44 AziQ#2
Quote:
Warning: date() [function.date]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/Paris' for '1.0/no DST' instead in C:\xampp\htdocs\pages\register.php on line 85
Account successfully registered!
take a look at line 85 at register.php .
12/09/2010 09:40 San-Goku#3
i had this problem b4..delete line 85 in register page..
12/09/2010 09:40 stedabest321#4
Quote:
mysql_query("insert into account (name,Password,Reg_date,netbar_ip) values ('".$userid."','".$hash."','".date("y-m-d H:i:s", time())."','".$_SERVER['REMOTE_ADDR']."')");
i still dont see what the problems is thats line 85

and i dont have a clue about php

im going to start learning it soon any ideas bro ?
12/09/2010 09:44 San-Goku#5
Quote:
mysql_query("insert into account (name,Password,Reg_date,netbar_ip) values ('".$userid."','".$hash."','".date("y-m-d H:i:s", time())."','".$_SERVER['REMOTE_ADDR']."')"
try to change to:

Quote:
mysql_query("insert into account (name,Password,Reg_date,netbar_ip) values ('".$userid."','".$hash."','".date("())."','".$_SE RVER['REMOTE_ADDR']."')"
12/09/2010 09:48 stedabest321#6
when i use the on u just made for me i have no slots or nothing just this writeing

Quote:
Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING in C:\xampp\htdocs\pages\register.php on line 85
Any way if you come up with an idea make sure u hit me up
im tierd 9:03 AM stil aint slept Good nice all thanks for trying to help :)
12/09/2010 10:32 AziQ#7
From your problem here .

Quote:
Warning: date() [function.date]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier
And in line 85 .

Quote:
mysql_query("insert into account (name,Password,Reg_date,netbar_ip) values ('".$userid."','".$hash."','".date("y-m-d H:i:s", time())."','".$_SERVER['REMOTE_ADDR']."')");
seems like your date problem .i dont know how to fix it .sorry .just give clue .BUT try this .

Quote:
mysql_query("insert into account (name,Password,netbar_ip) values ('".$userid."','".$hash."','".$_SERVER['REMOTE_ADDR']."')");
Im delete those black word .
12/09/2010 18:58 stedabest321#8
Quote:
Originally Posted by AziQ View Post
From your problem here .



And in line 85 .



seems like your date problem .i dont know how to fix it .sorry .just give clue .BUT try this .



Im delete those black word .

Sweet worked thanks bro :)
01/14/2011 10:06 ~Sword~Stalker~.#9
only english and german alowed on this forum

stay on topic please