Jump to content

PHP WARNING


JasonS92

Recommended Posts

Hi, im relatively new to php.. And a friend of mine has made me a script to use on the myspace app, Mobsters. I click to run it with php, after entering the email settings, the command prompt comes up for less than 2 seconds, then disappears. It has an error warning saying,

 

Connecting to myspace for: EXAMPLE@EXAMPLE.COM

Please stand by

 

PHP Warning: Get_Myspace_Header(): 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/london' for '1.0/DST' instead in C:\wamp\www\mysuiciders\suicider script.php on line 178

Link to comment
Share on other sites

on line 178 it says $ch=curl_init();

 

but then in the error it says to use the default time zone function. I changed that line to date_default_timezone_set('Europe/London');

And still nothing, Could you help me on this? i would MUCH appreciate it,

thankyou, Jason.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.