RE: [PHP] Date functions differences between php 4 and 5
I just asked this a bit ago. Time and Date seem to be the same, but strtotime is definitly different, as that was what broke in my script in php4, and I was told it worked as expected in php5. > -Original Message- > From: Chris [mailto:[EMAIL PROTECTED] > Sent: Thursday, March 22, 2007 7:18 PM > To: Paul Nowosielski > Cc: php-general@lists.php.net > Subject: Re: [PHP] Date functions differences between php 4 and 5 > > Paul Nowosielski wrote: > > Dear All, > > > > I was wondering if there are any major date function > changes between php4 and > > 5. > > I don't think so but check the docs: > http://www.php.net/manual/en/faq.migration5.php > > > When I say date function I mean mktime() , date() ,strtotime() etc. > > > > Here is my dilemma, I've upgraded from php4 to php5. there > is some very old > > legacy code that is not working correctly. > > > > Specifically on our sales calendar. Some task show up but > most don't. > > I have the old site and the new upgraded site on the same db. > > When entering a new task on the calendar, tasks enter w/ > the new system show > > up on the new system and not on the old. Most old tasks > don't show up on the > > new. > > That could be a register_globals issue - there's no way for > us to know > what's going on without seeing the code. > > Time to start digging. > > -- > Postgresql & php tutorials > http://www.designmagick.com/ > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > -- > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.5.446 / Virus Database: 268.18.17/730 - Release > Date: 3/22/2007 7:44 AM > > -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.5.446 / Virus Database: 268.18.17/730 - Release Date: 3/22/2007 7:44 AM -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Date functions differences between php 4 and 5
Paul Nowosielski wrote: Dear All, I was wondering if there are any major date function changes between php4 and 5. I don't think so but check the docs: http://www.php.net/manual/en/faq.migration5.php When I say date function I mean mktime() , date() ,strtotime() etc. Here is my dilemma, I've upgraded from php4 to php5. there is some very old legacy code that is not working correctly. Specifically on our sales calendar. Some task show up but most don't. I have the old site and the new upgraded site on the same db. When entering a new task on the calendar, tasks enter w/ the new system show up on the new system and not on the old. Most old tasks don't show up on the new. That could be a register_globals issue - there's no way for us to know what's going on without seeing the code. Time to start digging. -- Postgresql & php tutorials http://www.designmagick.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Date functions differences between php 4 and 5
Dear All, I was wondering if there are any major date function changes between php4 and 5. When I say date function I mean mktime() , date() ,strtotime() etc. Here is my dilemma, I've upgraded from php4 to php5. there is some very old legacy code that is not working correctly. Specifically on our sales calendar. Some task show up but most don't. I have the old site and the new upgraded site on the same db. When entering a new task on the calendar, tasks enter w/ the new system show up on the new system and not on the old. Most old tasks don't show up on the new. The code is a pretty bad hack (why use the echo statement once when you can use it 207 times). www:/srv/www/htdocs/admin # grep -ic "echo" calendar/calendar.html 207 Any knowledge of this would be greatly appreciated. Thank you, -- Paul Nowosielski Webmaster -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php