TalkPHP

TalkPHP (http://www.talkphp.com/forums.php)
-   General (http://www.talkphp.com/general/)
-   -   Registry (http://www.talkphp.com/general/3475-registry.html)

Orc 10-13-2008 10:07 PM

Registry
 
Can I do Registry entries in PHP? I think you can with ASP.

buggabill 10-14-2008 04:11 PM

If you are speaking of adding information to the Windows registry, I cannot think of a scarier idea than to give access to my registry to a web application.

I think that this is a bad idea...

There must be a better way.

Why the registry?

Village Idiot 10-14-2008 07:24 PM

If you mean the windows registry of the client's computer, I can safely tell that that no server side language can do that without some sort of application on the client's machine. Trust me, you do not want websites to be able to read or touch your registry.

xenon 10-14-2008 07:25 PM

No, you can't do that. That would be an enormous security breach. PHP can, however, communicate with some external application that could change your registry, but which you might have to install. Why would you want to do that, anyway?

ETbyrne 10-16-2008 11:28 PM

You can run programs - that could edit the registry - using PHPs exec, system, and shell_exec functions.

Hope that helps!

Actually, that gave me a brilliant idea... :-D

sketchMedia 10-16-2008 11:37 PM

win32std:index [Wild PHP Wiki]

You need to install the extension, I haven't tried it nor do I want to.

Wildhoney 10-17-2008 01:09 AM

"Wild" puts me off straight away if we're talking about the registry. Eek! I don't want anything "wild" messing with my registry.

sketchMedia 10-17-2008 10:13 AM

Quote:

Originally Posted by Wildhoney (Post 18882)
"Wild" puts me off straight away if we're talking about the registry. Eek! I don't want anything "wild" messing with my registry.

Indeed, in fact I really don't want anything messing with my registry, certainly not a PHP app.

Orc 10-18-2008 12:09 AM

Because I think Netflix uses Registries for limiting things, and usually that would be easy to crack using Sessions ( DB or not ).

Also, why not use the COM class built into PHP, which is also used to render a page using the IE engine? I mean it's all there for Windows Registries.


All times are GMT. The time now is 12:33 PM.

Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0