php-windows Digest 15 May 2001 14:07:43 -0000 Issue 599

Topics (messages 7563 through 7576):

Re: Difference between loadmodule and scriptalias
        7563 by: Alan Popow

Re: *.ini
        7564 by: Alan Popow
        7565 by: Ignatius Teo
        7569 by: jtjohnston
        7570 by: Ignatius Teo
        7571 by: Michael Rudel

Any links to a new CVS of PHP 4.0.6 Win32?
        7566 by: Cameron Just
        7567 by: MBOULTER.library.uq.edu.au
        7572 by: Michael Rudel

Anyone: [PHP-WIN] *.ini
        7568 by: jtjohnston

php
        7573 by: ganmeiu

Re: Case issue with Mysql on windows
        7574 by: Tom Mathews

.htaccess
        7575 by: Matt Hivner

Re: Print directory structure.
        7576 by: Alessio Bernesco Làvore

Administrivia:

To subscribe to the digest, e-mail:
        [EMAIL PROTECTED]

To unsubscribe from the digest, e-mail:
        [EMAIL PROTECTED]

To post to the list, e-mail:
        [EMAIL PROTECTED]


----------------------------------------------------------------------


On Tue, 15 May 2001 02:05:48 +0200, you wrote:

As far as I can figure it, LoadModule loads the dll right up front when
apache gets loaded, so that it is already resident in memory whenever it's
needed. Scriptalias tells apache to run the exe when it gets a script to
process, and not before.

You certainly don't need both.

As far as performance or any other esoteric differences, I'm afraid I don't
know.

Alan

>I was wondering if somone could give me a quick explanation on the
>difference between the loadmodule and the scriptalias when you set up php
>with Apache.
>As far i know i have both included in my configuration file..
>
>Thanks alot
>Lars





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.

Alan

>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 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-Johnston
>> >Langues Modernes
>> >poste 289
>>
>> --
>> PHP Windows Mailing List (http://www.php.net/)
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>
>--
>John Taylor-Johnston
>Langues Modernes
>poste 289





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 ... 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 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-Johnston
> >Langues Modernes
> >poste 289
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]

--
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: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]





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: 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 ... 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 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-Johnston
> > >Langues Modernes
> > >poste 289
> >
> > --
> > PHP Windows Mailing List (http://www.php.net/)
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> > To contact the list administrators, e-mail: [EMAIL PROTECTED]
>
> --
> 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: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]





Don't see what? It's there - I've just clicked on the link and it's
definitely there. This is probably a silly question, but have u tried
reading what it says?

Ignatius

-----Original Message-----
From: jtjohnston [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, 15 May 2001 16:23
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: 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 ... 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 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-Johnston
> > >Langues Modernes
> > >poste 289
> >
> > --
> > PHP Windows Mailing List (http://www.php.net/)
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> > To contact the list administrators, e-mail: [EMAIL PROTECTED]
>
> --
> 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: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]


--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]





¥es, there is, John.

Have a look @ http://phpclasses.upperdesign.com/browse.html/package/204

U have 2 register, but it's 4 free. Very usefull site.

Greetinx,
  Mike

Michael Rudel
- Web-Development, Systemadministration -
_______________________________________________________________

Suchtreffer AG
Bleicherstraße 20
D-78467 Konstanz
Germany
fon: +49-(0)7531-89207-17
fax: +49-(0)7531-89207-13
e-mail: mailto:[EMAIL PROTECTED]
internet: http://www.suchtreffer.de
_______________________________________________________________



> -----Original Message-----
> From: John Taylor-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
>
> --
> 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: [EMAIL PROTECTED]
> To contact the list administrators, e-mail:
> [EMAIL PROTECTED]
>





Hi,

A client needs some work done this week and it needs a feature of the latest CVS of 
PHP.

Anyone have a link to a new Win32 version?
or does anyone have any idea when the next version PHP 4.0.6 is coming out?





****************************************************************
Cameron Just ([EMAIL PROTECTED])

Phoenix Digital Development
****************************************************************





Dunno if this helps, I found the source link on http://www.php4win.de

http://php4win32.sourceforge.net/releases/php-4.0.6-dev-20010504.exe

----- Original Message ----- 
From: "Cameron Just" <{HYPERLINK 
"mailto:[EMAIL PROTECTED]"}[EMAIL PROTECTED]> 
To: <{HYPERLINK "mailto:[EMAIL PROTECTED]"}[EMAIL PROTECTED]> 
Sent: Tuesday, May 15, 2001 3:00 PM 
Subject: [PHP-WIN] Any links to a new CVS of PHP 4.0.6 Win32? 

> Hi,
> 
> A client needs some work done this week and it needs a feature of the 
latest CVS of PHP.
> 
> Anyone have a link to a new Win32 version?
> or does anyone have any idea when the next version PHP 4.0.6 is coming 
out?
> 
> 
> 
> 
> 
> 
*********************************************************
*******
> Cameron Just ({HYPERLINK 
>"mailto:[EMAIL PROTECTED]"}[EMAIL PROTECTED])
> 
> Phoenix Digital Development
> 
*********************************************************
*******
> 
> 
> -- 
> PHP Windows Mailing List ({HYPERLINK "http://www.php.net/)"}http://www.php.net/)
> To unsubscribe, e-mail: {HYPERLINK 
>"mailto:[EMAIL PROTECTED]"}[EMAIL PROTECTED]
> For additional commands, e-mail: {HYPERLINK 
>"mailto:[EMAIL PROTECTED]"}[EMAIL PROTECTED]
> To contact the list administrators, e-mail: {HYPERLINK 
>"mailto:[EMAIL PROTECTED]"}[EMAIL PROTECTED]
> 
 




Hi Cameron,

http://php4win32.sourceforge.net/releases/php-4.0.6-dev-20010504.exe

Greetinx,
  Mike

Michael Rudel
- Web-Development, Systemadministration -
_______________________________________________________________

Suchtreffer AG
Bleicherstraße 20
D-78467 Konstanz
Germany
fon: +49-(0)7531-89207-17
fax: +49-(0)7531-89207-13
e-mail: mailto:[EMAIL PROTECTED]
internet: http://www.suchtreffer.de
_______________________________________________________________



> -----Original Message-----
> From: Cameron Just [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, May 15, 2001 7:00 AM
> To: [EMAIL PROTECTED]
> Subject: [PHP-WIN] Any links to a new CVS of PHP 4.0.6 Win32?
>
>
> Hi,
>
> A client needs some work done this week and it needs a
> feature of the latest CVS of PHP.
>
> Anyone have a link to a new Win32 version?
> or does anyone have any idea when the next version PHP 4.0.6
> is coming out?
>
>
>
>
>
> ****************************************************************
> Cameron Just ([EMAIL PROTECTED])
>
> Phoenix Digital Development
> ****************************************************************
>
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail:
> [EMAIL PROTECTED]
>





>[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'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.
>
> Alan
>
> >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 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-Johnston
> >> >Langues Modernes
> >> >poste 289
> >>
> >> --
> >> PHP Windows Mailing List (http://www.php.net/)
> >> To unsubscribe, e-mail: [EMAIL PROTECTED]
> >> For additional commands, e-mail: [EMAIL PROTECTED]
> >> To contact the list administrators, e-mail: [EMAIL PROTECTED]
> >
> >--
> >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: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]





php-windows£¬ÄúºÃ£¡



                    ÖÂ
Àñ£¡

            ganmeiu
            [EMAIL PROTECTED]





This is down to an issue in phpmyadmin (or should that be PhpMyAdmin?). If
you create the tables from the MySQL console (or put the create statements
in a file and then run this form the console) the case sensitivity will be
retained.

Tom

Paul Meagher wrote:

> I am creating tables in Mysql on Windows.
>
> I like to capitalize the first letter of my table names.
>
> When I use phpMyAdmin to create these tables, the capitalization of the
> first letter is lost (everything is lower case).
>
> I am using MySQL 3.23.28-gamma
>
> Does anyone else have this issue and is there any way to enforce case
> sensitivity in Table names?
>
> Regards,
> Paul Meagher
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]




according to the manual (on the web)...

"To configure Apache (with the PHP module installed) to PHP-process all the
HTML files in a given directory, add the following line to the file
".htaccess" inside the directory:

AddType application/x-httpd-php .html .htm

It's OK if ".htaccess" contains only this line (i.e. the file did not
previously exist.)"

I tried to add this file to my htdocs directory (assuming that that was the
given directory to writer was referring to) and windows will not let me name
a file .htaccess.

I probably missed this in a read me somewhere, but could someone explain to
me a work around, or is there something else a windows user must do in this
situation.

I know that in *NIX naming a file with a dot in front will simply hide it
from the ls command, but I am lost here in windows land...

Matt







Could someone help me, please?

I have to build a recursive function that print to video all the directories
(and sub-directories and so on...)  names presents in a specified
sub-directory on the server.

I can't handle that function, please, i'm in panic...

Thanks,

Alessio.




Reply via email to