3

Possible Duplicate:
Accessing Windows registry with PHP and DOTNET class

Is there a way to access or insert a key in a client registry with PHP? I'm writing a GTK Internet based calc for my clients.

I don't see a way of accessing the registry with PHP. Is it possible and if so, how?

Community
  • 1
  • 1
Alireza
  • 6,497
  • 13
  • 59
  • 132
  • couple additional related questions: http://stackoverflow.com/search?q=registry+com+php+windows – Gordon Jan 19 '12 at 10:36
  • The exact steps has been described in this document https://code.google.com/p/phpdesktop/wiki/KnowledgeBase#How_do_I_read/write_to_Windows_Registry? – tormuto Sep 27 '15 at 09:06

1 Answers1

3

With normal PHP, not on the windows machine, probably the closest you could come is using something like Javascript & XPCOM to access the information you need and then provide it back to your php code with some form of AJAX control.

Since you're using php-gtk I'm not sure if the win32std package would help you as I'm not really experienced with php-gtk. You may also be able to use WScript.shell, a rough example of which can be found here.

Ilion
  • 6,772
  • 3
  • 24
  • 47