[PHP] modules in php?

2009-09-26 Thread Lars Nielsen
Hi, I am developing a cms and I want to make it able to use modules. Ex a statistics module. Can you give som examples or pointers to where i can start reading without getting lost in the details? regards Lars Nielsen -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: htt

[PHP] Hi

2009-09-26 Thread chidi ozoezi
Hi

Re: [PHP] nl2br() question

2009-09-26 Thread Ashley Sheridan
On Sat, 2009-09-26 at 11:22 -0400, tedd wrote: > Hi gang: > > The manual says: > > http://www.php.net/nl2br > > That I could use the function like so (Example #2): > > $new = nl2br($string, false); > > But when I do, I get: > > Warning: Wrong parameter count for nl2br() in /home..

[PHP] nl2br() question

2009-09-26 Thread tedd
Hi gang: The manual says: http://www.php.net/nl2br That I could use the function like so (Example #2): $new = nl2br($string, false); But when I do, I get: Warning: Wrong parameter count for nl2br() in /home... What's up with that? I am using PHP Version 5.2.10 Cheers, tedd -- -

[PHP] Re: nl2br() question

2009-09-26 Thread Carl Furst
That option was added in 5.3.0 So you have to upgrade for that to work. tedd wrote: Hi gang: The manual says: http://www.php.net/nl2br That I could use the function like so (Example #2): $new = nl2br($string, false); But when I do, I get: Warning: Wrong parameter count for nl2br()

RE: [PHP] nl2br() question

2009-09-26 Thread HallMarc Websites
arc Websites 610.446.3346 __ Information from ESET Smart Security, version of virus signature database 4459 (20090926) __ The message was checked by ESET Smart Security. http://www.eset.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] nl2br() question

2009-09-26 Thread Daniel Brown
On Sat, Sep 26, 2009 at 11:22, tedd wrote: > Hi gang: > > The manual says: > >   http://www.php.net/nl2br > > That I could use the function like so (Example #2): > >   $new = nl2br($string, false); > > But when I do, I get: > >   Warning: Wrong parameter count for nl2br() in /home... > > What's up

RE: [PHP] Web Site Directory Layout

2009-09-26 Thread Caner Bulut
Thanks for help. Caner. _ From: דניאל דנון [mailto:danondan...@gmail.com] Sent: Saturday, September 26, 2009 2:35 PM To: Caner Bulut Cc: php-general@lists.php.net Subject: Re: [PHP] Web Site Directory Layout There is no standard for that - Its your choice, I usually use somet

Re: [PHP] nl2br() question

2009-09-26 Thread tedd
At 11:27 AM -0400 9/26/09, Daniel Brown wrote: On Sat, Sep 26, 2009 at 11:22, tedd wrote: I am using PHP Version 5.2.10 whereas the `is_xhtml` parameter was added in 5.3.0. And 5.3.0 > 5.2.10. ;-P -- Ahhh, I didn't look far enough down the page. Thanks -- I figured out a so

Re: [PHP] Web Site Directory Layout

2009-09-26 Thread דניאל דנון
There is no standard for that - Its your choice, I usually use something like index.php configuration.php template/ template/NAME/template.html template/NAME/template.css template/NAME/images/ modules/ modules/connection/MySQL.php etc. On Sat, Sep 26, 2009 at 1:50 AM, Caner Bulut wrote:

Re: [PHP] Web Site Directory Layout

2009-09-26 Thread Ashley Sheridan
On Fri, 2009-09-25 at 22:26 -0400, Robert Cummings wrote: > Caner Bulut wrote: > > Hi All, > > > > Is there a stable or standart directory layout for PHP project (like web > > sites)?. > > > > Example; > > > > index.php > > img/ > > css/ > > js/ > > lib/ > > doc/ > > tools/ > > > > Thanks. >