Hello all,
I'm working on an online membership system, for a pay-per-view website.
I'm looking for a user authentication system that does the following:
-implements 'members only' pages
-process membership registration (backed by mysql)
-online credit card processing(using authorize.net)
-reocu
maybe
$time=12:12:00
$x=explode(":",$time);
$sec=($x[0]*3600)+($x[1]*60)=$x[2];
rm
--- nafiseh saberi <[EMAIL PROTECTED]> wrote:
>
> hi.
> how do I covert convert 12:12:00 to seconds ?
> I want to get time from system and covert it to
> seconds to do
> arithmetic work on it.
> thanks
Use gmmktime() or mktime()
example :
- Original Message -
From: "nafiseh saberi" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, August 23, 2001 4:30 PM
Subject: [PHP] convert 12:12:00 to seconds
>
> hi.
> how do I covert convert 12:12:00 to seconds ?
> I want to get time
$seconds = explode(":", $time);
$seconds = $seconds[0] * 3600 + $seconds[1] * 60 + $seconds[2];
Or use www.php.net/mktime
/* Chris Lambert, CTO - [EMAIL PROTECTED]
WhiteCrown Networks - More Than White Hats
Web Application Security - www.whitecrown.net
*/
- Original Message -
From: naf
4 matches
Mail list logo