You are here: Re: Weird registy problem in php script « PHP Programming Language « IT news, forums, messages
Re: Weird registy problem in php script

Posted by Chung Leong on 01/14/06 02:08

a wrote:
> Hi everybody,
>
> I have the following setup:
> - Windows XP Pro with SP2 and all updates installed
> - Apache 2.054
> - PHP 4.4.x (not sure if 1 or 2)
>
> My app consists in a html form page which sends its content to a php script.
> The php script then runs an external process using exec (or passthru). This
> is where the problems start.
>
> This process reads some information stored in the registry. When I run it
> directly from the command line, this process works fine and the info gets
> retrieved from the registry. When I run it from the php script though, it
> fails somewhere in the registry access code, and I'm not sure whether it is
> an Apache or php issue.
>
> Could it be that some php (or maybe apache) security settings that are
> inherited by my process forbid registry access?
>
> I would really appreciate any ideas that will help me solve this issue.
>
> Thanks,
>
> A

What's the path to the registery key? The HKEY_CURRENT_USER hive is
specific to the current logged-in user. The one that you have is going
to be different from the one the web-server has.

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация