Announcement

Collapse
No announcement yet.

strange problem - date("Y m d",......

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Tim Mousel
    replied
    No, the server it wouldn't work on was running:

    FreeBSD 3.5-RELEASE #1

    Tim

    Leave a comment:


  • Freddie Bingham
    replied
    Was one server a win32 server?

    Leave a comment:


  • Tim Mousel
    replied
    Hi,

    It is a script I wrote that interfaces with ibill.com billing company. For recurring memberships, the $membershiplength is set to a large number of days so that the user is not expired. For this value I had it set to 99999. When I set the $membershiplength to 999 it worked fine. The 99999 days setting worked fine on the first server but not the second. Not sure exactly why, but that was the problem.

    Tim

    Leave a comment:


  • Mark Hensler
    replied
    Don't keep us in suspence, what was it?

    Leave a comment:


  • Tim Mousel
    replied
    No need to reply...the problem has been resolved.

    Thanks,

    Tim

    Leave a comment:


  • Tim Mousel
    started a topic strange problem - date("Y m d",......

    strange problem - date("Y m d",......

    Hi,

    I'm running the same scrpt on two different servers. It works on one but not the other. The line that won't work is this (everytime I try to use this line it returns a 'Cannot find server or DNS Error'.):


    PHP Code:
    $expirationtime date("Y m d",time () + $expsec); 

    I'm able to print out $expsec so I know that's not the problem

    PHP Code:
    $expsec = ($membershiplength 86400); 

    The server the script works on is PHP Version 4.0.3pl1 while the server it doesn't work on is PHP Version 4.0.1pl2

    Any possible ideas why it isn't working and what is a work around?

    Thanks,

    Tim
widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
Working...
X