php-general Digest 26 Sep 2009 15:22:57 -0000 Issue 6359

2009-09-26 Thread php-general-digest-help
php-general Digest 26 Sep 2009 15:22:57 - Issue 6359 Topics (messages 298360 through 298364): Re: How to take output from an include, and embed itinto a variable?] 298360 by: Carl Furst 298361 by: Robert Cummings Re: Web Site Directory Layout 298362 by: Ashley

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. There's no standard. My advice

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

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 t...@sperling.com 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 -- /Daniel P. Brown Ahhh, I didn't look far enough down the

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

Re: [PHP] nl2br() question

2009-09-26 Thread Daniel Brown
On Sat, Sep 26, 2009 at 11:22, tedd t...@sperling.com 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

RE: [PHP] nl2br() question

2009-09-26 Thread HallMarc Websites
test string like $new = nl2br(Hello/n World!, false); echo $new; or alternatively echo $string; and see what is being passed. Thank you, Marc Hall HallMarc Websites 610.446.3346 __ Information from ESET Smart Security, version of virus signature database 4459 (20090926

[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: div class=moz-text-flowed style=font-family: -moz-fixedHi 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

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... What's

[PHP] Hi

2009-09-26 Thread chidi ozoezi
Hi

[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: