php-windows Digest 23 Dec 2002 13:01:54 -0000 Issue 1500

Topics (messages 17520 through 17528):

Re: [PHP] Tutorials on OOP
        17520 by: Justin French
        17521 by: Davy Obdam
        17522 by: Wee Keat
        17523 by: Philip Olson

Re: where is php_gettext??
        17524 by: Kyle Bisignani

Re: general survey.... php.ini config gui
        17525 by: Kyle Bisignani

Re: iis5 php 4.2.3 multiple -c php.ini possible?
        17526 by: Petar
        17528 by: Stephen Edmonds

IIS5.1 isapi modules not loading.
        17527 by: Ross Horne

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]


----------------------------------------------------------------------
--- Begin Message ---
Both of those classes would already exist on a site like phpclasses.org...
do you have to BUILD them, or do you NEED them?

Justin


on 23/12/02 11:43 AM, Davy Obdam ([EMAIL PROTECTED]) wrote:

> Hi people,.
> 
> I have to build several classes for a project i am doing, but i am quite
> new to OOP programming. I need to make a database abstraction layer
> class and a user login class.. Does anyone know some good tutorials
> about these things and OOP in general. Thanks in advance..
> 
> Best regards,
> 
> Davy Obdam
> mailto:[EMAIL PROTECTED]
> 
> 

--- End Message ---
--- Begin Message --- Hi Justin,

Thanks for your quick reply.. Well in this case i needs to build em myself, because i am doing a course called Masterclass PHP and i have to learn OOP.. So i am looking for some good OOP tutorials/examples on the web.... I am very interested in creating a user login class using sessions....Do u know any good sites where i can find tutorials/examples about this.?

Best regards,

Davy Obdam
mailto:[EMAIL PROTECTED]

Justin French wrote:

Both of those classes would already exist on a site like phpclasses.org...
do you have to BUILD them, or do you NEED them?

Justin


on 23/12/02 11:43 AM, Davy Obdam ([EMAIL PROTECTED]) wrote:


Hi people,.

I have to build several classes for a project i am doing, but i am quite
new to OOP programming. I need to make a database abstraction layer
class and a user login class.. Does anyone know some good tutorials
about these things and OOP in general. Thanks in advance..

Best regards,

Davy Obdam
mailto:[EMAIL PROTECTED]







--- End Message ---
--- Begin Message ---
> Hi Justin,
>
> Thanks for your quick reply.. Well in this case i needs to build em
> myself, because i am doing a course called Masterclass PHP and i have to
> learn OOP.. So i am looking for some good OOP tutorials/examples on the
> web.... I am very interested in creating a user login class using
> sessions....Do u know any good sites where i can find tutorials/examples
> about this.?
>

If that's the case... u can try looking at these tutorials on Zend.com...

http://www.zend.com/zend/tut/tutorial-johnson.php
http://www.zend.com/zend/tut/tutorial-johnson2.php

As well as these ones on DevArticles.com

http://www.devarticles.com/art/1/241
http://www.devarticles.com/art/1/245
http://www.devarticles.com/art/1/262
http://www.devarticles.com/art/1/285

HTH!

Yours,
Wee Keat

------------------------------------------------------------
"Good timber does not grow with ease; the stronger the wind, the stronger
the trees."


--- End Message ---
--- Begin Message ---
This tutorial lists many oop tutorials:

  Know of any basic tutorials on PHP Classes and OOP?
  -------------------------------------------------------
  http://www.faqts.com/knowledge_base/view.phtml/aid/7569

Regards,
Philip Olson


On Mon, 23 Dec 2002, Wee Keat wrote:

> 
> > Hi Justin,
> >
> > Thanks for your quick reply.. Well in this case i needs to build em
> > myself, because i am doing a course called Masterclass PHP and i have to
> > learn OOP.. So i am looking for some good OOP tutorials/examples on the
> > web.... I am very interested in creating a user login class using
> > sessions....Do u know any good sites where i can find tutorials/examples
> > about this.?
> >
> 
> If that's the case... u can try looking at these tutorials on Zend.com...
> 
> http://www.zend.com/zend/tut/tutorial-johnson.php
> http://www.zend.com/zend/tut/tutorial-johnson2.php
> 
> As well as these ones on DevArticles.com
> 
> http://www.devarticles.com/art/1/241
> http://www.devarticles.com/art/1/245
> http://www.devarticles.com/art/1/262
> http://www.devarticles.com/art/1/285
> 
> HTH!
> 
> Yours,
> Wee Keat
> 
> ------------------------------------------------------------
> "Good timber does not grow with ease; the stronger the wind, the stronger
> the trees."
> 
> 
> 
> -- 
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 

--- End Message ---
--- Begin Message ---
The dll is there, but I think I'm going to take the less of a headache route
to Apache and PHP, use a program called Sokkit.  It's $20, but it will keep
me from wanting to gouge out my eyes trying to get PHP gettext to work.  I'm
doing some intial research on it (regarding it's stability before I buy it
and all).  I'll post what I find about it here.
Thanks!
~Kyle Bisignani

"Christoph Grottolo" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Kyle Bisignani wrote:
> > Okay, so I am new, I'll admit it.  But I have stumbled across
> > something that I don't think is right.  I am trying to use php on a
> > windows xp machine (yes, with SP1).  For the most part, everything
> > works.  Going into the C:\WINDOWS\php.ini file, I was uncommenting
> > some extensions, saving the file, and then restarting Apache.
> > Everything works except for php_gettext.dll.  For some reason, I
> > always get this error message:
> >
> > Warning
> > Unable to load dynamic library 'd:\php\extensions/php_gettext.dll' -
> > The specifies module could not be found.
> >
> > I have noticed that other extensions have similar problems, but not
> > all. Mcrypt is another one.  But some like imap and ldap work fine.
> > So what is wrong exactly?
> > Thank you for any help,
>
> Look in your php\extensions directory. Are the files there? If not - look
> for a new version or wait for 4.3.0 which will be released shortly and
> includes gettext and mcrypt. IF they are there, make shure you have copied
> the files from your dlls folder to %windir%\system32.
>
> HTH
> Christoph
>
>


--- End Message ---
--- Begin Message ---
I think it's a great idea, especially for newbies such as myself.  But I
must agree, modifying it in notepad isn't exactly the hardest thing to do.
~Kyle Bisignani

It's just my $.02


"A Weaver" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> im thinking of programming a gui app that will edit and make changes to
the
> php.ini file, in Visual basic
>
> just wondering if i did make the said app, whould ppl use it you think?
>
> (yes i see the irony in using a competitor's tech to config another...
heh)
>
>


--- End Message ---
--- Begin Message ---
OK, the "registry per directory" allows *some* of the php.ini entries to
be registered but does not work for all of them. Some that did not work
for me are (not an exhaustive list):

safe_mode, user_dir, doc_root, open_basedir, expose_php, file_uploads, smtp

what did work were:

sendmail_from, error_log

I presume all the choices are simply not being parsed when they are place in
the registry location. A look through the php-win and php-dev archives
doesn't show any further information about this issue.

As soon as I made a change to the registry on the server it was immediately reflect
in a refreshed phpinfo() but this system still requires that there is a single
php.ini file with the "master" values for these settings.

Does anyone know how to pass the "-c path/to/ini" parameter inside a script
mapping for IIS5 ? This would solve the problem completely because all my
php installs could be different versions/different options enabled and secure
from other virtual servers both from the php point of view and the ntfs point
of view in w2k.

Regards

Petar

----- Original Message ----- 
From: "Petar Nikolich" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, December 22, 2002 11:29 PM
Subject: [PHP-WIN] iis5 php 4.2.3 multiple -c php.ini possible?


> Hello Everyone!
> 
> Ok, this config this is driving me crazy. Php works just fine until I try to
> specify the path to the php.ini file in the IIS5 script mapping.
> 
> It would be good to have each virtual server running its own php.ini, temp
> area and php binaries (different versions) and all I need to work out is how
> to make the '-c path/to/inifile' actually have an effect within IIS.
> 
> I am aware of the -c command line option to specify an alternate location for
> the php.ini file or alternatively the path+filename but have been unable to
> make this work in IIS5.
> 
> Has anyone managed to pass extra parameters in the executable line for the .php
> mapping in IIS5?
> 
> This is the normal line which uses the php.ini in c:\winnt\php.ini
> 
> executable:    ->    c:\site1\php\php.exe
> extension:     ->    .php
> 
> Adding the extra parameter to the executable line *should* be all that is needed
> to make individual .ini files workable like the following...
> 
> exexcutable:    ->    c:\site1\php\php.exe -c c:\site1\php\php-site1.ini
> extension:      ->    .php
> 
> But no matter how I pass the line (quotes/no quotes) the additional parameter
> is ignored and the c\winnt\php.ini is used.
> 
> Actaully typing the line at a dos prompt does use the new .ini file so it
> seems IIS is doing suomething to remove/ingore the extra paramter when it is
> entered in IIS script mapping.
> 
> c:\site1\php>php -c c:\site1\php\php-site1.ini -i
> ...shows correct path to specified .ini file
> 
> 
> Has anyone made this work? I would really like to know the 'magic trick' :-(
> 
> ..Petar
> 
> 
> 
> -- 
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 
> 

--- End Message ---
--- Begin Message ---
http://www.php.net/manual/en/function.ini-set.php

Gives a list of all php.ini options, and where they can be set (Everywhere,
Per Folder, php.ini only etc etc)

Hope this proves helpful

Stephen

----- Original Message -----
From: "Petar" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, December 23, 2002 5:01 AM
Subject: Re: [PHP-WIN] iis5 php 4.2.3 multiple -c php.ini possible?


> OK, the "registry per directory" allows *some* of the php.ini entries to
> be registered but does not work for all of them. Some that did not work
> for me are (not an exhaustive list):
>
> safe_mode, user_dir, doc_root, open_basedir, expose_php, file_uploads,
smtp
>
> what did work were:
>
> sendmail_from, error_log
>
> I presume all the choices are simply not being parsed when they are place
in
> the registry location. A look through the php-win and php-dev archives
> doesn't show any further information about this issue.
>
> As soon as I made a change to the registry on the server it was
immediately reflect
> in a refreshed phpinfo() but this system still requires that there is a
single
> php.ini file with the "master" values for these settings.
>
> Does anyone know how to pass the "-c path/to/ini" parameter inside a
script
> mapping for IIS5 ? This would solve the problem completely because all my
> php installs could be different versions/different options enabled and
secure
> from other virtual servers both from the php point of view and the ntfs
point
> of view in w2k.
>
> Regards
>
> Petar
>
> ----- Original Message -----
> From: "Petar Nikolich" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Sunday, December 22, 2002 11:29 PM
> Subject: [PHP-WIN] iis5 php 4.2.3 multiple -c php.ini possible?
>
>
> > Hello Everyone!
> >
> > Ok, this config this is driving me crazy. Php works just fine until I
try to
> > specify the path to the php.ini file in the IIS5 script mapping.
> >
> > It would be good to have each virtual server running its own php.ini,
temp
> > area and php binaries (different versions) and all I need to work out is
how
> > to make the '-c path/to/inifile' actually have an effect within IIS.
> >
> > I am aware of the -c command line option to specify an alternate
location for
> > the php.ini file or alternatively the path+filename but have been unable
to
> > make this work in IIS5.
> >
> > Has anyone managed to pass extra parameters in the executable line for
the .php
> > mapping in IIS5?
> >
> > This is the normal line which uses the php.ini in c:\winnt\php.ini
> >
> > executable:    ->    c:\site1\php\php.exe
> > extension:     ->    .php
> >
> > Adding the extra parameter to the executable line *should* be all that
is needed
> > to make individual .ini files workable like the following...
> >
> > exexcutable:    ->    c:\site1\php\php.exe -c c:\site1\php\php-site1.ini
> > extension:      ->    .php
> >
> > But no matter how I pass the line (quotes/no quotes) the additional
parameter
> > is ignored and the c\winnt\php.ini is used.
> >
> > Actaully typing the line at a dos prompt does use the new .ini file so
it
> > seems IIS is doing suomething to remove/ingore the extra paramter when
it is
> > entered in IIS script mapping.
> >
> > c:\site1\php>php -c c:\site1\php\php-site1.ini -i
> > ...shows correct path to specified .ini file
> >
> >
> > Has anyone made this work? I would really like to know the 'magic trick'
:-(
> >
> > ..Petar
> >
> >
> >
> > --
> > PHP Windows Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
> >
> >
>
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>


--- End Message ---
--- Begin Message ---
Can anyone tell me why the ispai modules won't load for IIS5.1, i'm running
php 4.2.3 and have followed the install.txt file down to the T with regards
as to installing php as an isapi module, but to no avail. It works fine and
dandy as a cgi exec, but I need to run the GD libary as well.

When i try and run my scripts I get this error message "The specified module
could not be found."

Regards

Ross Horne


--- End Message ---

Reply via email to