php-general Digest 26 Feb 2011 13:07:52 -0000 Issue 7201

2011-02-26 Thread php-general-digest-help
php-general Digest 26 Feb 2011 13:07:52 - Issue 7201 Topics (messages 311582 through 311586): Quotes in Heredoc 311582 by: Ashim Kapoor 311584 by: Ashley Sheridan 311585 by: Ashim Kapoor Infosys FYI 311583 by: Peter Lind Log Rotation, leave it to OS or do

[PHP] Quotes in Heredoc

2011-02-26 Thread Ashim Kapoor
Dear All, I am learning PHP by reading a book. My query pertains to the following lines : - $form_str = EOFORMSTR TABLE CELLPADDING=0 CELLSPACING=0 BORDER=0 ALIGN=CENTER WIDTH=621 TR TD ROWSPAN=2IMG WIDTH=15 HEIGHT=1 SRC=../images/spacer.gif/TD . My query is that is it true that we don't

[PHP] Infosys FYI

2011-02-26 Thread Peter Lind
Det gik op for mig at i tilmeldingsstresset fik jeg taget 2010 databasen ned. Den er nu tilgængelig igen. Man bruger: - http://archive.fastaval.dk/2010/infosys/ for at set 2010 udgaven - http://infosys.fastaval.dk/ for at se 2011 udgaven Derudover er 2009 udgaven stadig tilgængelig på

Re: [PHP] Quotes in Heredoc

2011-02-26 Thread Ashley Sheridan
On Sat, 2011-02-26 at 14:41 +0530, Ashim Kapoor wrote: Dear All, I am learning PHP by reading a book. My query pertains to the following lines : - $form_str = EOFORMSTR TABLE CELLPADDING=0 CELLSPACING=0 BORDER=0 ALIGN=CENTER WIDTH=621 TR TD ROWSPAN=2IMG WIDTH=15 HEIGHT=1

Re: [PHP] Quotes in Heredoc

2011-02-26 Thread Ashim Kapoor
The quotes you mention are in the HTML, nothing to do with PHP. HTML will work without the quotes in most cases (unless there's a space in the value for the attribute) but the quotes are required in XHTML and will cause unexpected results. Can you elaborate on the XHTML part? Do you mean they are

[PHP] Log Rotation, leave it to OS or do it in PHP code?

2011-02-26 Thread AmirBehzad Eslami
Dear list, It seems that Python has already a Log Rotation mechanism, which solves the problem of log file growth. I'm wondering whether there is any PHP-based solution around? Now let me ask from a different view: Is it a good approach to implement the Rotation mechanism to PHP? (Code Level)

Re: [PHP] Quotes in Heredoc

2011-02-26 Thread Ashley Sheridan
On Sat, 2011-02-26 at 16:27 +0530, Ashim Kapoor wrote: The quotes you mention are in the HTML, nothing to do with PHP. HTML will work without the quotes in most cases (unless there's a space in the value for the attribute) but the quotes are required in XHTML and will cause unexpected

Re: [PHP] Log Rotation, leave it to OS or do it in PHP code?

2011-02-26 Thread Ashley Sheridan
On Sat, 2011-02-26 at 16:37 +0330, AmirBehzad Eslami wrote: Dear list, It seems that Python has already a Log Rotation mechanism, which solves the problem of log file growth. I'm wondering whether there is any PHP-based solution around? Now let me ask from a different view: Is it a

Re: [PHP] Quotes in Heredoc

2011-02-26 Thread Ashim Kapoor
Yes, in HTML the quotes are optional, but they are required in XHTML documents: http://www.w3.org/TR/xhtml1/diffs.html#h-4.4 Ok Thank you, Ashim