473,569 Members | 2,458 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Reading external registry values

Is there any way to use php to connect to a series of external servers and
read some registry values without compromising the security setup of these
servers? OK, this may sound like hacking but it's for internal use in my
organisation and I have full administrator rights to them.

Håvard
Jul 17 '05 #1
2 1663
H�ard Olerud Eriksen wrote:
Is there any way to use php to connect to a series of external servers and
read some registry values without compromising the security setup of these
servers? OK, this may sound like hacking but it's for internal use in my
organisation and I have full administrator rights to them.

H�ard


Hi,

I am not sure, but I expect you are talking about M$ machines since you
mentioned registry. Is that correct?
In that case I expect you better use a M$ serverside scriptinglangua ge to do
this job, like VB-script.
I expect you will have to script some authentications tuff also before you
can remotely query the registry.

The problem: M$ typically keeps all the implementations of protocols and
API's they use to themselfs, making it hard for mere mortals to write
usefull stuff on low-level for their OS.

You could try to find out if anybody did anything what you need at:
http://www.phpclasses.org/

But I think the best advise is: Try a M$-newsgroup.

Good luck!
Regards,
Erwin Moller

Jul 17 '05 #2
> I am not sure, but I expect you are talking about M$ machines since you
mentioned registry. Is that correct?
Yes, this is correct.

You could try to find out if anybody did anything what you need at:
http://www.phpclasses.org/

Thanks for the tip. I found a couple of things I might be able to use.

Cheers,
Håvard
Jul 17 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
12927
by: Dhilip Kumar | last post by:
Hi All, I'm writing a Windows Service app using C#. I need to read some configuration settings before the service starts up. These settings will be used by the service in its operation. Question is, which is the best way to store & retrieve the settings? I'm thinking of storing it in the registry in HKLM\Software\ServiceName and access...
5
8930
by: Scott M. Lyon | last post by:
I've just discovered a bug in some code I wrote a little while ago, and I need you guys' help to fix it. My program imports data from a standard Excel Spreadsheet (just with specific column headers). I used ODBC in my VB.NET program to read that spreadsheet into a dataset, to make it easy to manipulate. The code I use to read it is as the...
1
6542
by: dave | last post by:
I am having a problem i bleieve a number of other individuals have had before. I have tried the solutions found on the net however I still have the problem. I am hosting a web site on an external server (i do not have access to registry). I am using the following connection string to read values from rows from an excel sheet into a...
5
5059
by: UJ | last post by:
I have a system that has five programs that all communicate with each other via Message Queues. Works well. One program is a watchdog that will make sure the others are up and going. Currently I have it store info it gets from when the programs check in into a DataSet (XML file). Problem is, that file now has to be used by other programs to...
3
1789
by: Aussie Rules | last post by:
Hi, I want to store some data in the registry, however I have not been able to do this, and think my logic maybe flawed. Firstly I try to open the registry and read in any existing values. Dim aKey As RegistryKey aKey = Registry.CurrentUser.OpenSubKey("software\myApplication") I then attempt to read in any existing values
7
2170
by: fniles | last post by:
In my case, I have registry entries with multiple Key values, like the following I would like to loop thru MyApp\MySection\Data to get to entries A,B and C, instead of doing the following for each Key entry:
4
3624
by: RhavoX | last post by:
Hi. This may be a very stupid question but I'll leave you to judge it ;) I know there were lots of questions about this but none of the answers suits me. I'm wondering how to get the BINARY type data from the registry and how to display it as hex in a way I'm showing below. Let's say I use this key:...
1
1360
by: =?Utf-8?B?TWljaGVs?= | last post by:
Hello, When I try to retrieve values from the register with Select Case Dir(CStr(My.Computer.Registry.GetValue("HKEY_LOCAL_MACHINE\Software\Kassasysteem\Gegevenslocatie", "Gegevenspad", "")) & "\" & CStr(My.Computer.Registry.GetValue("HKEY_LOCAL_MACHINE\Software\Kassasysteem\Gegevenslocatie", "Gegevensbestand", ""))) and the entries I...
2
2810
by: terryastone | last post by:
I have an application that reads some registry values stored in the Local Machine\Software\... key. In XP, I can see these values using RegEdit. In my application I can read the values at startup, and change the values during the application. In Vista, I CANNOT see the values using RegEdit but I can read the values using the...
0
7618
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
7926
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
8138
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
5514
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
5223
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3657
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3647
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1228
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
946
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.