This didn't work :(
Apache crashes after execution of script.
Tom Rogers [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Hi,
Friday, July 23, 2004, 8:08:22 PM, you wrote:
R I receive an error:
R Warning: dl(): Not supported in multithreaded Web servers - use
extension
R
This didn't work :(
Apache crashes after execution of script on this row:
$api-registerfunction(long GetLastError
Alias GetError ()
From kernel32.dll);
Tom Rogers [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Hi,
Friday, July 23, 2004, 8:08:22 PM, you wrote:
R I
Hi,
Sunday, July 25, 2004, 9:48:20 PM, you wrote:
R This didn't work :(
R Apache crashes after execution of script.
Yes it does that ...you can download a working version here
http://fred.kwikin.com/php_w32api.dll
--
regards,
Tom
--
PHP General Mailing List (http://www.php.net/)
To
Thanks,
But how I can parse this output ?
Burhan Khalid [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Rosen wrote:
Yes, on Linux there is a command to get this info, but on windows I
think
there'n no thath command.
Is there a module for PHP to do this ?
c:\dir c:\test.txt
On Saturday 24 July 2004 19:15, Rosen wrote:
Please do not top post.
But how I can parse this output ?
c:\dir c:\test.txt
Volume in drive C is Primary
Volume Serial Number is 003E-6CEA
There are many ways to go about this, I'll outline one of them. First you need
to grab the output
I receive an error:
Warning: dl(): Not supported in multithreaded Web servers - use extension
statements in your php.ini
Tom Rogers [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Hi,
Friday, July 23, 2004, 8:26:56 AM, you wrote:
R Hi,
R Is there a way to get with PHP script (
Rosen wrote:
Yes, on Linux there is a command to get this info, but on windows I think
there'n no thath command.
Is there a module for PHP to do this ?
c:\dir c:\test.txt
Volume in drive C is Primary
Volume Serial Number is 003E-6CEA
Directory of c:\
07/23/2004 01:43 PM11
Hi,
Friday, July 23, 2004, 8:08:22 PM, you wrote:
R I receive an error:
R Warning: dl(): Not supported in multithreaded Web servers - use extension
R statements in your php.ini
You need to add
extension=php_w32api.dll
to your php.ini and restart the web server
--
regards,
Tom
--
PHP
Rosen wrote:
I would like to create it as module for PHP like function - like
gethdserial() - and function to retrieve me serial number of HDD. I know
how to retrieve serial number in C, Delphi.
I assume you want to do it the hard way to learn about programming modules...?
As others have said, try
Hi,
Is there a way to get with PHP script ( maybe with some module) serial
number of the hard disk?
Thanks in advance!
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi,
Is there a way to get with PHP script ( maybe with some module) serial
number of the hard disk?
Thanks in advance!
If there's a command on your operating system to get this information,
then use PHP's exec function.
$serialNum = exec('command to get serial number');
--
--Matthew Sims
Yes, on Linux there is a command to get this info, but on windows I think
there'n no thath command.
Is there a module for PHP to do this ?
Thanks!
Matthew Sims [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Hi,
Is there a way to get with PHP script ( maybe with some module)
Yes, on Linux there is a command to get this info, but on windows I think
there'n no thath command.
Is there a module for PHP to do this ?
Thanks!
My guess is no since it's operating system specific. Unless someone on the
list knows for sure.
Check Google Groups to see if there's a DOS
I can write it to another language ( like C, Delphi ) but I don't know how
to integrate this with PHP - i.e. to create it as module for PHP.
Matthew Sims [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Yes, on Linux there is a command to get this info, but on windows I
think
* Thus wrote Rosen:
Hi,
Is there a way to get with PHP script ( maybe with some module) serial
number of the hard disk?
There has been a proposol in PECL back in June about making an
extension for this very thing.
I'm not sure what the current status is but here is the discussion
on it:
Rosen wrote:
I can write it to another language ( like C, Delphi ) but I don't know how
to integrate this with PHP - i.e. to create it as module for PHP.
I would suggest going the simple route for now, then if you need it (for
performance or whatever) later on, write it up as a module then.
Write
Is there a documentation how to create a module for PHP ?
Thanks in advance!
Curt Zirzow [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
* Thus wrote Rosen:
Hi,
Is there a way to get with PHP script ( maybe with some module) serial
number of the hard disk?
There has been a
I would like to create it as module for PHP like function - like
gethdserial() - and function to retrieve me serial number of HDD. I know
how to retrieve serial number in C, Delphi.
Lars Torben Wilson [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Rosen wrote:
I can write it to
Hi,
Friday, July 23, 2004, 8:26:56 AM, you wrote:
R Hi,
R Is there a way to get with PHP script ( maybe with some module) serial
R number of the hard disk?
R Thanks in advance!
On windows you can use the win32api like this:
?php
dl(php_w32api.dll);
$api = new win32;
$api-registerfunction(long
19 matches
Mail list logo