On 12-04-04 01:14 AM, Donovan Brooke wrote:
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/man
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 I
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
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
http://www.php.n
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 issue
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 preferen
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 s
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
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 gang
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 desi
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
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 de
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 scr
*bad link in last post
http://luvit.io/
-Joseph Moniz
On Tue, Apr 3, 2012 at 12:16 PM, Joseph Moniz wrote:
> On Fri, Mar 30, 2012 at 5:56 PM, German Geek wrote:
>> Maybe stupid question, but is node.php really necessary? If you can program
>> PHP and it performs better than node.js, why wou
On Fri, Mar 30, 2012 at 5:56 PM, German Geek 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 PHP in the sam
On Mon, Apr 2, 2012 at 23:53, Tim Dunphy 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
> grounding in it. C
16 matches
Mail list logo