When I expire you will find my hands wrapped tightly around the throat of a
Windows network administrator.
I had PHP installed on a web server, and all was working OK, save for one
small thing. phpinfo() indicated that the path to the php.ini was c:\WINNT,
which it was not. So I copy the file from
[snip]
...tons of good stuff
[/snip]
I decided to go ahead and install apache...20 minutes ago. Apache installed
and configured with all the stuff that needed to be changed in the
httpd.conf to allow PHP to play nice. It came right up. All of my extensions
were installed. Confirmed via phpinfo
[snip]
Check your drive for other php.ini files. It looks 1st in the
window/systems folder but it can also be in the apache/bin directory.
Do a search on your drive for php.ini. There may be more.
[/snip]
I have done this and there are no others. Still no luck.
--
PHP Windows Mailing List (ht
[snip]
I am running W2K with IIS 5.0 and PHP 4.4.n (nsapi)
I am attempting to get the curl extension working but I keep getting an
undefined function. I check phpinfo and find that the extension is not
loading. I check further and find that, although the ini file states that
the extension director
I am running W2K with IIS 5.0 and PHP 4.4.n (nsapi)
I am attempting to get the curl extension working but I keep getting an
undefined function. I check phpinfo and find that the extension is not
loading. I check further and find that, although the ini file states that
the extension directory shoul
Thanks for all.
My end it is Apache 1.3.27 and PHP 4.3.2 in Win32 system NT 4.0.
I have the php.ini auto_prepend_file like this:
auto_prepend_file="C:\OPENFEDRA\Apache\htdocs\fedra\sv\cfg\"
All work fine with this configuration of the php.ini.
For same reason I must to do not configure php.in
"Peter" <[EMAIL PROTECTED]> write in message:
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Check to see how many copies of php.ini are on your system. Although it
> shouldn't affect the module version, the php.ini in the c:\php (or
whatever)
> folder is read by the CGI executable instead of the
How can I access php.ini - or any *.ini - using PHP?
[Session]
session.save_path= E:\CD\PHP\sessiondata
In Pascal, I would do something like this, for example:
readstring('[Session]', Mystring);
where Mystring becomes = "E:\CD\PHP\sessiondata"
writestring('[Session]
Ignatius,
By the by, this never panned out. I'm not convinced it deals with ini files, or
at least I never figured out how. However,
http://phpclasses.upperdesign.com/browse.html/package/204 seems to do the job,
at least on a UNIX.
Thanks,
John
> > Try
> > http://www.thewebmasters.net/php/Conf
Fair enough. I might ahve thought of that, but ... ??
> It's how you've passed the path to it that's the problem.
> Try t:/cd/test.ini instead of t:\cd\test.ini. If you insist on using the
> latter form, you need to escape the \ as \\ so it reads t:\\cd\\test.ini
> I think I have found a bug wit
On Tue, 15 May 2001 02:19:52 -0400, you wrote:
>>[StoreData]
>>Name=Ben Hurr
>
>Has anyone a few lines of code that could help read a couple of variables in an
>*.ini file?
Here's something I did in a hurry. It can be greatly improved, but it
appears to work. The class is called IniReader. I put
From: John Taylor-Johnston [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, 16 May 2001 10:58
To: [EMAIL PROTECTED]
Subject: Re: [PHP-WIN] *.ini
Hi and thanks, but it won't work on Windows. here is a copy of the problem I
sent to its author. If anyone can help or has another class I can try, I
Hi and thanks, but it won't work on Windows. here is a copy of the problem I
sent to its author. If anyone can help or has another class I can try, I
would appreciate it.
John
-
I think I have found a bug wi
or-Johnston [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, May 15, 2001 12:31 AM
> To: [EMAIL PROTECTED]
> Subject: [PHP-WIN] *.ini
>
>
> How can I read the contents of an *.ini file?
> Is there an example kicking around that I did not see?
>
> Thanks,
>
> John
>
> --
To: [EMAIL PROTECTED]
Subject: Re: [PHP-WIN] *.ini
I don't see it? Will this allow me to access variables in an ini file?
Thanks,
John
Ignatius Teo wrote:
> Try
> http://www.thewebmasters.net/php/ConfigReader.phtml
>
> Ignatius
>
> -Original Message-
> From:
t; Sent: Tuesday, 15 May 2001 11:49
> To: [EMAIL PROTECTED]
> Subject: Re: [PHP-WIN] *.ini
>
> There is no procedure in place, no one has created a module to ... to read
> ...
> say ...
>
> [StoreData]
> Name=Ben Hurr
>
> Not that I'm going to go Perling just fo
>[StoreData]
>Name=Ben Hurr
Has anyone a few lines of code that could help read a couple of variables in an
*.ini file?
Thanks,
John
Alan Popow wrote:
> On Mon, 14 May 2001 21:48:54 -0400, you wrote:
>
> Ahh.. Ok. I see what you're getting at.
>
> While I haven't tried it, it probably wouldn'
Try
http://www.thewebmasters.net/php/ConfigReader.phtml
Ignatius
-Original Message-
From: John Taylor-Johnston [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, 15 May 2001 11:49
To: [EMAIL PROTECTED]
Subject: Re: [PHP-WIN] *.ini
There is no procedure in place, no one has created a module to
On Mon, 14 May 2001 21:48:54 -0400, you wrote:
Ahh.. Ok. I see what you're getting at.
While I haven't tried it, it probably wouldn't be a lot of code to create a
function to do it using file() to read the .ini file into an array and then
using array_search() to find the required information.
A
There is no procedure in place, no one has created a module to ... to read ...
say ...
[StoreData]
Name=Ben Hurr
Not that I'm going to go Perling just for this, but ...
??
John
Alan Popow a écrit :
> On Mon, 14 May 2001 18:30:48 -0400, you wrote:
>
> A *.ini file is just a common garden varie
On Mon, 14 May 2001 18:30:48 -0400, you wrote:
A *.ini file is just a common garden variety text file. Read it however you
read any other text file.
Alan
>How can I read the contents of an *.ini file?
>Is there an example kicking around that I did not see?
>
>Thanks,
>
>John
>
>--
>John Taylor-
How can I read the contents of an *.ini file?
Is there an example kicking around that I did not see?
Thanks,
John
--
John Taylor-Johnston
Langues Modernes
poste 289
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [
22 matches
Mail list logo