Re: PHP 4.2 - hard-coded paths

From: Date: Tue, 23 Apr 2002 15:11:56 +0000
Subject: Re: PHP 4.2 - hard-coded paths
References: 1 2  Groups: php.windows 
Request: Send a blank email to php-windows+get-13246@lists.php.net to get a copy of this message
Not if the paths weren't in the binary for PHP 4.1.2. I'm not some sort of amateur nutcase poking around. There was a decided difference in behavior between 4.1.2 and 4.2 on the phpinfo() output. Since the values that were showing weren't to be found in any cleartext file on my system, I went to the binaries themselves. And, since php4ts.dll contains the real guts of PHP, that's what I looked in. I compared it to the 4.1.x DLL's and found paths that instead of values like %s, there were values like c:\php4. A change from a dynamic value gathered from a configuration and a hard-coded path. I didn't realize I needed to detail the entire process I went through. I figured whomever did the build would understand and respond. > I know shit and nothing about php - and even less about the source, but > assuming it is hard coded just because you found some string in there isn't > that to advance things a little bit to fast? > > I do uses to hard coded things in my programs myself - A.K.A. default values, > but this doesn't implies that these can not be dynamical altered. Oki? > > //Anders

« previous php.windows (#13246) next »