Forum Moderators: coopster

Message Too Old, No Replies

"$time=3600;" What does it mean?

         

internetheaven

12:10 pm on Apr 2, 2008 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



After destroying nearly 50% of our revenue I finally had to give up on our outsourced scripters. Trying to go through and fix problems in the meantime whilst locating a new firm I've come across a piece of code that I simply don't know what it does:

$time=3600;

it is at the start of a script that generates a hard coded .html page from a database. Anyone ever seen this?

Also, I found "term_to_name" which doesn't seem to appear in any PHP functions list for PHP4 or 5. Anyone heard of that either?

Help appreciated
Thanks
Mike

coopster

12:54 pm on Apr 2, 2008 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



$time=3600;

It is setting a variable to an INTEGER value of 3600. The 3600 likely represents one hour (60 seconds per minute X 60 minutes per hour).

Without seeing the details of the second question here, I would guess it is likely a user-defined function.