Jump to content

[SOLVED] Setting time and date in GMT...


trecool999

Recommended Posts

But I need to insert it into a text file... :(.

 

Here:

 

$OpenLog = fopen("Log.log", 'a') or die("Error writing to log: Failed to track/write IP!");
    fwrite($OpenLog, "User: " . $_SERVER['REMOTE_ADDR'] . "
File: '" . $_FILES["file"]["name"] . "'
Action taken: Upload
Time: " . date('l dS \of F Y h:i:s A') . "

");

 

But whenever I check the log, it tells me the server date and not the one I need to read :(.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.