php-general Digest 3 Apr 2012 06:13:26 - Issue 7758
Topics (messages 317428 through 317435):
Re: Thinking out loud - a continuation...
317428 by: Jay Blanchard
317429 by: Matijn Woudt
317430 by: Robert Cummings
Re: Could apc_fetch return a pointer to data in shared
php-general Digest 3 Apr 2012 19:16:36 - Issue 7759
Topics (messages 317436 through 317437):
Re: learning resources for PHP
317436 by: Daniel Brown
Re: Node.PHP
317437 by: Joseph Moniz
Administrivia:
To subscribe to the digest, e-mail:
On 2 April 2012 22:25, Stuart Dallas stu...@3ft9.com wrote:
On 2 Apr 2012, at 15:37, Simon wrote:
On 2 April 2012 14:27, Stuart Dallas stu...@3ft9.com wrote:
On 2 Apr 2012, at 14:12, Simon wrote:
Thanks Maciek
On 2 April 2012 10:37, Maciek Sokolewicz maciek.sokolew...@gmail.com
On Mon, Apr 2, 2012 at 23:53, Tim Dunphy bluethu...@gmail.com wrote:
Hello list,
I am quite sure that you've heard this question at least a few times
before. :) But I have been dabbling a bit in PHP for years and I've
decided that its' high time that became serious about getting a solid
On Fri, Mar 30, 2012 at 5:56 PM, German Geek geek...@gmail.com wrote:
Maybe stupid question, but is node.php really necessary? If you can program
PHP and it performs better than node.js, why would you need to have another
wrapper around things. Why not just program normal PHP?
This is normal
*bad link in last post
http://luvit.io/
-Joseph Moniz
On Tue, Apr 3, 2012 at 12:16 PM, Joseph Moniz joseph.mo...@gmail.com wrote:
On Fri, Mar 30, 2012 at 5:56 PM, German Geek geek...@gmail.com wrote:
Maybe stupid question, but is node.php really necessary? If you can program
PHP and it
Hi gang:
Let me start a religious war -- should one end their scripts with ? or not?
After years of never having a problem with ending any of my scripts with ?,
I found that several students in my class had scripts that did not produce the
desired result even after they were given the scripts
On 3 Apr 2012, at 22:29, Tedd Sperling wrote:
Let me start a religious war -- should one end their scripts with ? or not?
After years of never having a problem with ending any of my scripts with
?, I found that several students in my class had scripts that did not
produce the desired
On Apr 3, 2012, at 2:29 PM, Tedd Sperling wrote:
Hi gang:
Let me start a religious war -- should one end their scripts with ? or not?
After years of never having a problem with ending any of my scripts with
?, I found that several students in my class had scripts that did not
produce
On 12-04-03 05:29 PM, Tedd Sperling wrote:
Hi gang:
Let me start a religious war -- should one end their scripts with ? or not?
After years of never having a problem with ending any of my scripts with ?, I
found that several students in my class had scripts that did not produce the desired
I leave them off of any non-view PHP file. It doesn't have any downsides, and
leaving them in can cause problems. Just like short tags!
Regards,
–Josh
Joshua Kehn | @joshkehn
http://joshuakehn.com
On Apr 3, 2012, at 5:29 PM, Tedd Sperling wrote:
Hi
On Tue, 3 Apr 2012 17:29:33 -0400, Tedd Sperling wrote:
[...]
Does anyone have more examples of where scripts will fail
IF they end with ? (note the additional space)?
+1 on everyone's call to omit on an included file due to the potential
for sending headers.
[... rearranged for ease of reply
Hello list,
I am quite sure that you've heard this question at least a few times
before. :) But I have been dabbling a bit in PHP for years and I've
decided that its' high time that became serious about getting a solid
grounding in it. Currently I work as a Sysadmin and have modest but
reliable
Stuart Dallas wrote:
[snip]
Usually when setting headers after such a script has been included when output
buffering is turned off. Personally I never put the closing ? in if it's at
the end of the file because it's unnecessary and can cause issues if it's present,
but it's personal
On 12-04-03 11:39 PM, Donovan Brooke wrote:
Stuart Dallas wrote:
[snip]
Usually when setting headers after such a script has been included when output
buffering is turned off. Personally I never put the closing ? in if it's at
the end of the file because it's unnecessary and can cause
Robert Cummings wrote:
[snip]
Could using ob_start and ob_end_flush eliminate the ambiguity of whether
or not to use '?'?
In the generally recommended case of don't use them at the end of your
file... where's the ambiguity?
http://www.php.net/manual/en/function.include.php
I keep my closing tag. Earlier I started removing closing tag. Then I
search for the standardness of this practice and found its not standard.
Some frameworks/cms intentionally do this. Besides a signle `\n` character
is allowed after the closing tag which does not cause Can not send Header
error.
Dealing RSS Version.
I am going to write an RSS parser. Its a very simple parser which just
grabs the latest items date and title. SimpleXML and DomDocument is my
friend here. The problem here is there are too many standards for RSS. RSS
2.0, 0.92 and 0.91. What do you think which version should
18 matches
Mail list logo