[PHP-WIN] [PHP] Time formatting from int (seconds)

2003-08-16 Thread Paul Menard
Hi all, Quick question about the best (and easiest) way to format a display string into the HH:MM:SS format from an integer var. Is there a PHP function that will provide this? I've looked at the various functions and all are used for taking a date/time as use. Or is there a function someone has

php-windows Digest 16 Aug 2003 19:23:53 -0000 Issue 1873

2003-08-16 Thread php-windows-digest-help
php-windows Digest 16 Aug 2003 19:23:53 - Issue 1873 Topics (messages 21161 through 21168): preg_match issue 21161 by: Pascal S. 21163 by: Pascal S. preg_match 21162 by: Pascal S. Re: Looking for Debugger program. 21164 by: Mikey 21165 by: Mikael Jan

Re: [PHP-WIN] [PHP] Time formatting from int (seconds)

2003-08-16 Thread H Marc Bower
Hi Paul, Try this out. function duration($amount) { $seconds = $amount % 60; if ($seconds < 10) { $seconds = "0".$seconds; } $minutes = (($amount - $seconds) / 60) % 60; if ($minutes < 10) { $minutes = "0".$minutes; } $hours = ($amount - ($minutes * 60) - $seconds) / 3600; $duration = $hou

[PHP-WIN] Session problems

2003-08-16 Thread Creative Solutions New Media
Hoping someone can help. I'm getting the following errors string to start a session. Warning: session_start() [function.session-start]: open(/tmp\sess_801eb94975c2de92f1085a8d4521af12, O_RDWR) failed: No such file or directory (2) in G:\Program Files\Apache Group\Apache2\htdocs\Imptech\www\SOS\Us

Re: [PHP-WIN] Session problems

2003-08-16 Thread Kai Wenk
Creative Solutions New Media wrote: I'm getting the following errors string to start a session. Warning: session_start() [function.session-start]: open(/tmp\sess_801eb94975c2de92f1085a8d4521af12, O_RDWR) failed: No such file or directory (2) in G:\Program Files\Apache Group\Apache2\htdocs\Imptech\

RE: [PHP-WIN] Session problems

2003-08-16 Thread Creative Solutions New Media
Worked great Thank you Tim Winters Manager, Creative Development Sampling Technologies Incorporated (STI) [EMAIL PROTECTED] [EMAIL PROTECTED] W: 902 450 5500 C: 902 430 8498 -Original Message- From: Kai Wenk [mailto:[EMAIL PROTECTED] Sent: August 16, 2003 7:57 PM To: [EMAIL PROTECTE

[PHP-WIN] PHP and Windows .NET Server 2003

2003-08-16 Thread QuazarWebDesign
I am trying to install PHP on Windows Server 2003 with IIS 6.0 and the installer says that it could not configure my web server! Help! I don't know the exact error msg, but there was something about a missing OCX file(???). any help would be great! Thanks in advance! __ Quazar

[PHP-WIN] Re: PHP and Windows .NET Server 2003

2003-08-16 Thread Shadow
First, don't use the windows installer Second, do a manual install Third, it worksdid it last week and it works nicelydownloaded 4.3.3 from www.php.net and installed according to the instructions at http://www.php.net/manual/en/install.iis.php -- Shadow www.shadowsnetwork.com -- PHP W

Re: [PHP-WIN] PHP and Windows .NET Server 2003

2003-08-16 Thread Nick H. - Network Operations
I replied to one of these a long while back. The URL for the information has changed. Here's a complete KB style how-to on installing php under IIS 6.0: http://dedntfaq.hostingsupport.com/iis6_php_install.txt Regards, Nick H. Network Operations Center [EMAIL PROTECTED] Please rate my perform

[PHP-WIN] Tell me reason and How to do it

2003-08-16 Thread Michael Bao
After installed PHP4.3.2 and runned my main page, this error information will display as follows, Security Alert! The PHP CGI cannot be accessed directly. This PHP CGI binary was compiled with force-cgi-redirect enabled. This means that a page will only be served up if the REDIRECT_STATUS CGI v