GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   my sql server is broken :( (https://gfy.com/showthread.php?t=41222)

Marcus 10-24-2001 06:14 PM

my sql server is broken :(
 
I keep using the getdate() function but I still don't have a date.

what should I do?

Speedy26 10-24-2001 06:43 PM

try adultfriendfinder http://bbs.gofuckyourself.net/board/smile.gif

big perm 10-24-2001 06:48 PM

http://bbs.gofuckyourself.net/board/biggrin.gif

Naughty 10-24-2001 06:54 PM

Quote:

Originally posted by Speedy26:
try adultfriendfinder http://bbs.gofuckyourself.net/board/smile.gif
Too funny http://bbs.gofuckyourself.net/board/wink.gif



------------------
http://www.tgp2counter.net/tgp2c/pic..._but120x60.gif
- the Official TGP2 Counter --> signup now for realtime stats, toplists and more...!
- Submit Your Galleries Here to The Naughty Daily
- EraserCash - $35/signup, unique commissionprogram

FADE19 10-24-2001 08:03 PM

I would do it in the script and then submit along with whatever else you are uploading to the DB, I am assuming because you are using SQL server it is Micoshit sooo...in ASP do this:

inpu typ="text" NAME="time" value="<4=now()4"


replace the 4's with percentage signs...this is just a temp fix....I have been doing PHP for awhile so my ASP is a little rusty http://bbs.gofuckyourself.net/board/biggrin.gif

[This message has been edited by FADE19 (edited 10-24-2001).]

awechen 10-25-2001 05:30 AM

Quote:

Originally posted by Marcus:
I keep using the getdate() function but I still don't have a date.

what should I do?


ok u using php ?
if yes ..
getdate returns an associative array containing the date information of the timestamp, or the current local time.
u u need the system time now !
which format u need ?

or u need the timestamp ?
or u need to convert the timestamp to a 'real' time ?




------------------
"Shock your systemadministration! Read manual-pages!"

pipp 10-25-2001 06:16 AM

setlocale ("LC_ALL");
#It the server is in another time zone
$time_offset="+0";
$date_format= "%A %d %b, T. %H:%M";

$sql= "SELECT UNIX_TIMESTAMP(insertedDate) as insDate";

$date = strftime($date_format,$myrow["insDate"]);

Robert 10-25-2001 06:18 AM

Quote:

Originally posted by Speedy26:
try adultfriendfinder http://bbs.gofuckyourself.net/board/smile.gif
http://bbs.gofuckyourself.net/board/biggrin.gif


awechen 10-25-2001 11:22 AM

Quote:

Originally posted by pipp:
[B]
$sql= "SELECT UNIX_TIMESTAMP(insertedDate) as insDate";

heeh this suxx is it a remote host sql http://bbs.gofuckyourself.net/board/smile.gif)

[B]


------------------
"Shock your systemadministration! Read manual-pages!"


All times are GMT -7. The time now is 10:36 AM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123