Jump to content

Get data from Windows' Registry with PHP


siskokid

Recommended Posts

Good mourning :)

 

Could anyone help me with the following task:

 

I need to drag some information of the Windows' Registry using PHP. I need the following:

 

IP Address, DNS Address, DNS Suffix and DHCP.

 

These variables are located under:

 

SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces

 

Could you please help me with a sample of code :)

 

I know how to do it with VBScript. So in this connection, another valuable piece of help would be to give me a piece of PHP code, which would help me to "implant" my VBScript into the PHP code. I mean, I need the VBScript to be called by the PHP and executed on the fly :)

 

I couldn't manage to "translate" the VBScript into PHP, because I noticed that some of the implemented Classes and Methods for VBScript are not available for PHP :(

 

Any help will be appreciated :)

 

Best,

siskokid

 

 

Link to comment
https://forums.phpfreaks.com/topic/57051-get-data-from-windows-registry-with-php/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.