php3-list | 199903
Date: 03/28/99
- Next message: Adam Gotheridge: "[PHP3] Differences in win32 and linux versions"
- Previous message: Colin Viebrock: "Re: [PHP3] php/mysql and mapping applications?"
- In reply to: Rasmus Lerdorf: "Re: [PHP3] Differences in win32 and linux versions"
- Next in thread: Rasmus Lerdorf: "Re: [PHP3] Differences in win32 and linux versions"
- Reply: Rasmus Lerdorf: "Re: [PHP3] Differences in win32 and linux versions"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Rasmus wrote:
> 99.9% of the functions available on Unix are available on Win32 as well,
> and this includes microtime(), by the way. Not sure why it didn't work
> for you. I am quite sure Shane made a Win32 version of it.
Thanks, and it does work. It was late and I'm not sure why it didn't work
either, but it does now. Anyway, code and result looks like this:
$start = microtime();
$cn = odbc_pconnect("nwind", "admin", "");
$Result = odbc_exec($cn, "Select * from products");
$end = microtime();
echo ("start = $start - end = $end<br>\n");
start = 135.87952200 922643904 - end = 136.02899400 922643904
Does this mean that it only took 136.03 - 135.88 = .15 milliseconds to
execute the db stuff? I am not quit sure what the "msec" part of the
microtime() function represents.
> There are no persistent connections available on Win32 because it only
> runs as a CGI right now. PHP4 will have module support on Windows.
Would that be module support under iis or apache or does it matter? For iis
it means that there is an isapi filer for php, yes? Please excuse my
ignorance. Any idea when PHP4 will be ready?
Thanks, and I greatly appreciate your help and obviously all the developers
efforts.
Adam
-- PHP 3 Mailing List http://www.php.net/ To unsubscribe send an empty message to php3-unsubscribe <email protected> To subscribe to the digest list: php3-digest-subscribe <email protected> For help: php3-help <email protected> Archive: http://www.php.net/mailsearch.php3 List administrator: zeev-list-admin <email protected>
- Next message: Adam Gotheridge: "[PHP3] Differences in win32 and linux versions"
- Previous message: Colin Viebrock: "Re: [PHP3] php/mysql and mapping applications?"
- In reply to: Rasmus Lerdorf: "Re: [PHP3] Differences in win32 and linux versions"
- Next in thread: Rasmus Lerdorf: "Re: [PHP3] Differences in win32 and linux versions"
- Reply: Rasmus Lerdorf: "Re: [PHP3] Differences in win32 and linux versions"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

