Re: [PHP] HTTP headers and include()

2009-07-09 Thread Michael A. Peters
James Colannino wrote: Hey everyone, I've been hard at work on a new web application, and discovered something that I would never have seen coming. I was noticing that when I called session_start() after a few lines of includes, I was getting complaints because the HTTP headers had already been

Re: [PHP] HTTP headers and include()

2009-07-09 Thread Eddie Drapkin
On Fri, Jul 10, 2009 at 1:21 AM, James Colannino wrote: > Hey everyone, > > I've been hard at work on a new web application, and discovered > something that I would never have seen coming.  I was noticing that when > I called session_start() after a few lines of includes, I was getting > complaints

[PHP] HTTP headers and include()

2009-07-09 Thread James Colannino
Hey everyone, I've been hard at work on a new web application, and discovered something that I would never have seen coming. I was noticing that when I called session_start() after a few lines of includes, I was getting complaints because the HTTP headers had already been sent out. Then, after p

[PHP] DOMDocument saveHTML() configurable?

2009-07-09 Thread Michael A. Peters
The $dom->saveHTML() function does a pretty good job of knowing what tags are not closed - IE it does , , , etc. correctly. Is there a way to add a tag without children to it's database? Specifically I'm talking about the new tag from HTML 5 that is being used to embed ogg/mp4 audio and video

Re: [PHP] Re: SESSION variables: How much is too much?

2009-07-09 Thread D.M.Jackson
Hi, OK, I did a count on the session.inc file and there appears to be 37 variables accessed through the $_SESSION object. By and large they all appear to be scalar variables that contain a counter or a path or a boolean. Nothing that looks like a big object. Mostly stuff like" MaxDisplayR

Re: [PHP] mysterious " f " character appearing. Why??

2009-07-09 Thread Michael A. Peters
HallMarc Websites wrote: problem was solved, it was just a simple typo and sometimes all it takes is a fresh pair of eyes. The confusing part comes in when it prints to the screen and your mind looks in that area of the code and finds nothing LOL - I wanted to display generated XML on scree

Re: [PHP] mysterious " f " character appearing. Why??

2009-07-09 Thread Govinda
problem was solved, it was just a simple typo and sometimes all it takes is a fresh pair of eyes. The confusing part comes in when it prints to the screen and your mind looks in that area of the code and finds nothing because it actually somewhere else and because it is outside of a tag the

RE: [PHP] mysterious " f " character appearing. Why??

2009-07-09 Thread HallMarc Websites
n module > injecting that artifact during code fix-up phase. Run FF in safe mode > and see if it's still there. > > -eric > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > > __ Info

Re: [PHP] mysterious " f " character appearing. Why??

2009-07-09 Thread Shawn McKenzie
Phpster wrote: > > > On Jul 9, 2009, at 5:50 PM, Govinda wrote: > >> The atmosphere is weird now so you all may think I am out there. . but >> this is a sincere question- >> (and not due to dumb oversight of my HTML code) >> >> I have a mysterious "f" character (Yes, just the letter " f " ) >>

Re: [PHP] mysterious " f " character appearing. Why??

2009-07-09 Thread Eric Wood
Govinda wrote: I have a mysterious "f" character (Yes, just the letter " f " ) appearing in my HTML between these two seemingly benign HTMl tags: On same computer, do a view source in other browsers too - IE, Chrome, Safari etc. F still there? There could be a FireFox addon module injec

Re: [PHP] Obeying the rules (was Simple login form with cookies)

2009-07-09 Thread PJ
Tony Marston wrote: > There are too many people in this newsgroup with the idea that you MUST > obey the rules, whatever they are, WITHOUT QUESTION. I do not subscribe to > this notion. I have been working in IT (or DP as it was originally called) > for over 30 years, and in that time I have wo

[PHP] Trying to complie a libphp5.so

2009-07-09 Thread The Doctor
Just tried to do so on php-5.2.8 and php-5.3.0 All I get is Build complete. Don't forget to run 'make test'. doctor.nl2k.ab.ca//usr/source/php-5.3.0$ make install Installing PHP SAPI module: apache2handler /var/www/build/instdso.sh SH_LIBTOOL='/var/www/build/libtool' libphp5.la /usr/contr

RE: [PHP] mysterious " f " character appearing. Why??

2009-07-09 Thread HallMarc Websites
?? > > > Govinda > govinda.webdnat...@gmail.com > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > > __ Information from ESET Smart Security, version of virus

RE: [PHP] Obeying the rules (was Simple login form with cookies)

2009-07-09 Thread HallMarc Websites
> -Original Message- > From: tedd [mailto:tedd.sperl...@gmail.com] > Sent: Thursday, July 09, 2009 4:55 PM > To: php-general@lists.php.net; a...@ashleysheridan.co.uk > Subject: Re: [PHP] Obeying the rules (was Simple login form with > cookies) > > At 9:03 PM +0100 7/9/09, Ashley Sheridan

Re: [PHP] Obeying the rules (was Simple login form with cookies)

2009-07-09 Thread Ashley Sheridan
On Thursday 09 July 2009 22:00:14 Daniel Brown wrote: > On Thu, Jul 9, 2009 at 16:47, Bastien Koert wrote: > >>        My sincerest apologies.  I have been a complete jackass this > >> entire time and every single one of you has been correct.  From this > >> point forward I vow to keep my God damne

Re: [PHP] mysterious " f " character appearing. Why??

2009-07-09 Thread Phpster
On Jul 9, 2009, at 5:50 PM, Govinda wrote: The atmosphere is weird now so you all may think I am out there. . but this is a sincere question- (and not due to dumb oversight of my HTML code) I have a mysterious "f" character (Yes, just the letter " f " ) appearing in my HTML between t

[PHP] mysterious " f " character appearing. Why??

2009-07-09 Thread Govinda
The atmosphere is weird now so you all may think I am out there. . but this is a sincere question- (and not due to dumb oversight of my HTML code) I have a mysterious "f" character (Yes, just the letter " f " ) appearing in my HTML between these two seemingly benign HTMl tags: My source fil

Re: [PHP] Obeying the rules (was Simple login form with cookies)

2009-07-09 Thread Tony Marston
"Still Learnin'" wrote in message news:4a565c73.8090...@gmail.com... > Tony Marston wrote: > >>> You've been told more than twice, it isn't an arbitrary rule. It isn't >>> a petty rule. It isn't about perfection. >> >> It is arbitrary. It is petty. It is about someone's idea of perfection. > > O

Re: [PHP] Obeying the rules (was Simple login form with cookies)

2009-07-09 Thread Tony Marston
This post did not come from me. The headers contain this: Received: from [74.54.247.2] ([74.54.247.2:59280] helo=mail.caracol-cream.com) Very funny. -- (the real) Tony Marston http://www.tonymarston.net http://www.radicore.org ""(the fake) Tony Marston"" wrote in message news:e1mp00d-0005iz

[PHP] GD to IMAGEMAGICK

2009-07-09 Thread TS
Hello. I have this code and the getFrame returns a GD truecolor image. However, I want to convert to imagemagick after I get that frame from ffmpeg. Here's my code: // GRAB A FRAME FROM THE VIDEO FOR A THUMB VIEW $video = new ffmpeg_movie($data_temp, false); $frame = $video->getFrame(90); //ret

Re: [PHP] Obeying the rules (was Simple login form with cookies)

2009-07-09 Thread Daniel Brown
On Thu, Jul 9, 2009 at 16:47, Bastien Koert wrote: >> >>        My sincerest apologies.  I have been a complete jackass this entire >> time and every single one of you has been correct.  From this point >> forward I vow to keep my God damned mouth shut unless spoken to. Heh. Methinks there be

Re: [PHP] Obeying the rules (was Simple login form with cookies)

2009-07-09 Thread Daniel Brown
On Thu, Jul 9, 2009 at 16:55, tedd wrote: > > Now, do I remember email? No not really. As I understand it, email came > about under ARPANET and converted to the Internet in the early 80's. So > unless he has been doing email and participating on something other than > what's known, I would have to

Re: [PHP] Obeying the rules (was Simple login form with cookies)

2009-07-09 Thread tedd
At 9:03 PM +0100 7/9/09, Ashley Sheridan wrote: Also, I'd hardly call anyone here a jumped-up pipsqueak just because we aren't too old to go by new rules. The only reason I'm bringing your age into this is because you keep mentioning your last "30 years" online on mailing lists. There are older m

Re: [PHP] Obeying the rules (was Simple login form with cookies)

2009-07-09 Thread Bastien Koert
On Thu, Jul 9, 2009 at 4:13 PM, Tony Marston wrote: > > >        My sincerest apologies.  I have been a complete jackass this entire > time and every single one of you has been correct.  From this point > forward I vow to keep my God damned mouth shut unless spoken to. > >        You see, I have be

Re: [PHP] Obeying the rules (was Simple login form with cookies)

2009-07-09 Thread Tony Marston
My sincerest apologies. I have been a complete jackass this entire time and every single one of you has been correct. From this point forward I vow to keep my God damned mouth shut unless spoken to. You see, I have been struggling with defining my sexual identity and trying to

Re: [PHP] Obeying the rules (was Simple login form with cookies)

2009-07-09 Thread Still Learnin'
Tony Marston wrote: You've been told more than twice, it isn't an arbitrary rule. It isn't a petty rule. It isn't about perfection. It is arbitrary. It is petty. It is about someone's idea of perfection. One of us clearly manifests a reality gap. How many people do you have siding with your

Re: [PHP] Obeying the rules (was Simple login form with cookies)

2009-07-09 Thread Tony Marston
"Still Learnin'" wrote in message news:4a5641d1.9040...@gmail.com... > Tony Marston wrote: > >> I have no respect for anyone who wastes time in trying to force others to >> obey their petty rules. > > ... >> The whole point about this particlar rule is that it has no purpose other >> than to f

Re: [PHP] Obeying the rules (was Simple login form with cookies)

2009-07-09 Thread Ashley Sheridan
On Thursday 09 July 2009 20:50:59 Tony Marston wrote: > ""Bob McConnell"" wrote in message > news:ff8482a96323694490c194babeac24a0049ad...@email.cbord.com... > From: HallMarc Websites > > >> Having just come in to the particular thread, I actually have work > > that > > >> keeps me away from here,

Re: [PHP] Obeying the rules (was Simple login form with cookies)

2009-07-09 Thread Tony Marston
"tedd" wrote in message news:p06240800c67be78e3...@[192.168.1.101]... > At 2:22 PM -0400 7/9/09, HallMarc Websites wrote: >> As far as anyone going against convention, >>seems to me that people who think outside the box, go against convention, >>break the rules, whatever are the ones who keep l

Re: [PHP] Obeying the rules (was Simple login form with cookies)

2009-07-09 Thread Tony Marston
""Bob McConnell"" wrote in message news:ff8482a96323694490c194babeac24a0049ad...@email.cbord.com... From: HallMarc Websites >> >> Having just come in to the particular thread, I actually have work that >> keeps me away from here, I'm wondering why this is worth the energy and time >> I have seen

Re: [PHP] Obeying the rules (was Simple login form with cookies)

2009-07-09 Thread Martin Scotta
Hi all I haven't read any post from here. I want to read PHP threads. is this going somewhere? I think not. On Thu, Jul 9, 2009 at 4:13 PM, tedd wrote: > At 2:38 PM -0400 7/9/09, Bob McConnell wrote: >> >> It will be even more interesting to see if anyone on this list pays any >> attention to h

RE: [PHP] Obeying the rules (was Simple login form with cookies)

2009-07-09 Thread tedd
At 2:38 PM -0400 7/9/09, Bob McConnell wrote: It will be even more interesting to see if anyone on this list pays any attention to him in the future. Bob McConnell Bob: You won't have to wonder about me. I've already set email filters to trash any incoming from him. A *few* on this list d

RE: [PHP] Obeying the rules (was Simple login form with cookies)

2009-07-09 Thread tedd
At 2:22 PM -0400 7/9/09, HallMarc Websites wrote: As far as anyone going against convention, seems to me that people who think outside the box, go against convention, break the rules, whatever are the ones who keep life interesting and occasionally help us find something new. I would hate to liv

RE: [PHP] Obeying the rules (was Simple login form with cookies)

2009-07-09 Thread Bob McConnell
From: HallMarc Websites > > Having just come in to the particular thread, I actually have work that > keeps me away from here, I'm wondering why this is worth the energy and time > I have seen wasted on this subject. Seems to me everyone needs to take a > deep breath and a step back. As far as an

Re: [PHP] Obeying the rules (was Simple login form with cookies)

2009-07-09 Thread Tony Marston
"Ashley Sheridan" wrote in message news:1247162816.3514.17.ca...@localhost.localdomain... > On Thu, 2009-07-09 at 16:57 +0100, Tony Marston wrote: >> It's stupid because there is no valid reason as to why top posting is >> *bad*. >> It has existed on the internet ever since there was an internet

RE: [PHP] Obeying the rules (was Simple login form with cookies)

2009-07-09 Thread HallMarc Websites
; People > often come here knowing little of PHP, and making their lives more > difficult by having threads that follow no logical convention is just > rude and inconsiderate. > > Thanks > Ash > www.ashleysheridan.co.uk > > > -- > PHP General Mailing List (http:/

Re: [PHP] Obeying the rules (was Simple login form with cookies)

2009-07-09 Thread Still Learnin'
Tony Marston wrote: I have no respect for anyone who wastes time in trying to force others to obey their petty rules. ... The whole point about this particlar rule is that it has no purpose other than to force everybody to conform to somebody's idea of perfection. You've been told more than

Re: [PHP] Obeying the rules (was Simple login form with cookies)

2009-07-09 Thread Ashley Sheridan
On Thu, 2009-07-09 at 16:57 +0100, Tony Marston wrote: > It's stupid because there is no valid reason as to why top posting is > *bad*. > It has existed on the internet ever since there was an internet, so > for > someone to stand up and say "I don't like this, so I'll make a rule > agains > it"

Re: [PHP] Obeying the rules (was Simple login form with cookies)

2009-07-09 Thread Daniel Brown
On Thu, Jul 9, 2009 at 11:57, Tony Marston wrote: > > Violating a license agreement is against the law, top posting is not. Laws are rules set forth by mortal man. I have the right by your own word to choose not to obey this particular one. Your arguments hold no water, your experience h

[PHP] Re: SESSION variables: How much is too much?

2009-07-09 Thread tedd
At 7:30 PM -0400 7/8/09, D.M.Jackson wrote: Thanks guys. I was just wondering if it was common practice to pass all those variables in the SESSION object or if I was following a bad example because it was the first time that I had seen so many variables passed this way. If this is the typical w

Re: [PHP] Obeying the rules (was Simple login form with cookies)

2009-07-09 Thread Tony Marston
"Daniel Brown" wrote in message news:ab5568160907090729j4c2cc67esff2823dcb493d...@mail.gmail.com... > On Thu, Jul 9, 2009 at 09:54, Tony Marston > wrote: >> >> I called him "intolerant" because he jumps on issues which other people >> just >> don't care about. > >Point #1: You're obviously

RE: [PHP] Obeying the rules (was Simple login form with cookies) WOT

2009-07-09 Thread Jay Blanchard
[snip] No, I don't like stupid rules, which is why I choose not to obey them. [/snip] Shall I point out the irony here? http://www.tonymarston.net/aboutme/experiences.html in which you post a truckload of rules. And this which is posted among your Thoughts & Words Nobody trips over mountains.

RE: [PHP] Obeying the rules (was Simple login form with cookies) WOT

2009-07-09 Thread Jay Blanchard
[snip] I've decided. It doesn't work for me. End of story. [/snip] This has become way off topic (call me a Nazi if you will :)) and has not, until now, been appropriately marked in the subject line. Mr. Marston has posted here for a long time and has always had a burr up his butt about rules. Se

Re: [PHP] Obeying the rules (was Simple login form with cookies)

2009-07-09 Thread tedd
At 9:39 AM +0100 7/9/09, Tony Marston wrote: -snip- (Nothing important) While you don't have any regard for "rules", we do. We simply ask that the rules be followed for reasons that are not without foundation and rules that are customary for list such as this. Your juvenile statement of: "N

Re: [PHP] Obeying the rules (was Simple login form with cookies)

2009-07-09 Thread Tony Marston
"Bastien Koert" wrote in message news:d7b6cab70907090705i1575fe0ft21a2cc82c992b...@mail.gmail.com... > On Thu, Jul 9, 2009 at 9:54 AM, Tony > Marston wrote: >> >> "Bastien Koert" wrote in message >> news:d7b6cab70907090623s6b37641dt90a564f1d80fe...@mail.gmail.com... >> On Thu, Jul 9, 2009 at 8:

RE: [PHP] Obeying the rules (was Simple login form with cookies)

2009-07-09 Thread Jason
>-Original Message- >From: Bob McConnell [mailto:r...@cbord.com] >Sent: 09 July 2009 15:38 >To: php-general@lists.php.net >Subject: RE: [PHP] Obeying the rules (was Simple login form with cookies) > [snip] > >Bob McConnell > >A: Maybe because some people are too annoyed by top-posting. >Q:

Re: [PHP] Obeying the rules (was Simple login form with cookies)

2009-07-09 Thread Tony Marston
"Eddie Drapkin" wrote in message news:68de37340907090705y5b095f8cy68ba0d416b045...@mail.gmail.com... >> I called him "intolerant" because he jumps on issues which other people >> just >> don't care about. >> >> I called him "small minded" because he concentrates on small issues which >> simply

RE: [PHP] Obeying the rules (was Simple login form with cookies)

2009-07-09 Thread Bob McConnell
A quick search on Google indicates this argument has been active in various forums for over ten years, so I don't expect it to be resolved here. While ego is the most apparent motivator in these discussions I suspect, but have no way to confirm, that the two camps are divided by how their [email|n

Re: [PHP] Obeying the rules (was Simple login form with cookies)

2009-07-09 Thread Daniel Brown
On Thu, Jul 9, 2009 at 09:54, Tony Marston wrote: > > I called him "intolerant" because he jumps on issues which other people just > don't care about. Point #1: You're obviously wrong, as this thread has already received more replies than most on-topic, PHP-centric threads. > I called him "sm

Re: [PHP] Obeying the rules (was Simple login form with cookies)

2009-07-09 Thread Govinda
my 2¢: Wherever/whenever the feeling level has been damaged, then/there communication stops. We can easily forget this in the dry environment of talking to computers.. but the important matter(s) will always come back to the *people* involved, sooner or later. Real power is measured in ter

Re: [PHP] Obeying the rules (was Simple login form with cookies)

2009-07-09 Thread Still Learnin'
Tony Marston wrote: I called [Daniel] "intolerant" because he jumps on issues which other people just don't care about. By "other people" you can only mean yourself, since the number of people disagreeing with you here on this list keeps increasing. I called him "small minded" because he conc

Re: [PHP] Obeying the rules (was Simple login form with cookies)

2009-07-09 Thread Bastien Koert
On Thu, Jul 9, 2009 at 9:54 AM, Tony Marston wrote: > > "Bastien Koert" wrote in message > news:d7b6cab70907090623s6b37641dt90a564f1d80fe...@mail.gmail.com... > On Thu, Jul 9, 2009 at 8:54 AM, Tony > Marston wrote: >> >> "Stuart" wrote in message >> news:a5f019de0907090340k47216f7fh4d83434ef98ce.

Re: [PHP] Obeying the rules (was Simple login form with cookies)

2009-07-09 Thread Eddie Drapkin
> I called him "intolerant" because he jumps on issues which other people just > don't care about. > > I called him "small minded" because he concentrates on small issues which > simply don't matter in the great scheme of things. That sounds like fair > comment to me It's just like those people who

Re: [PHP] Obeying the rules (was Simple login form with cookies)

2009-07-09 Thread Tony Marston
"Bastien Koert" wrote in message news:d7b6cab70907090623s6b37641dt90a564f1d80fe...@mail.gmail.com... On Thu, Jul 9, 2009 at 8:54 AM, Tony Marston wrote: > > "Stuart" wrote in message > news:a5f019de0907090340k47216f7fh4d83434ef98ce...@mail.gmail.com... >> 2009/7/9 Tony Marston : >> >> The firs

Re: [PHP] Obeying the rules (was Simple login form with cookies)

2009-07-09 Thread Eddie Drapkin
I honestly think this is a case of the subject being broached in a less-than-super-friendly-with-hugs-and-butterflies way and someone getting unduly offended about that. Why not chill out and look at this objectively? Mailing lists are historically, as I'm sure you know, a nearly invaluable resea

Re: [PHP] Obeying the rules (was Simple login form with cookies)

2009-07-09 Thread Bastien Koert
On Thu, Jul 9, 2009 at 8:54 AM, Tony Marston wrote: > > "Stuart" wrote in message > news:a5f019de0907090340k47216f7fh4d83434ef98ce...@mail.gmail.com... > 2009/7/9 Tony Marston : > >> I thought of a better analogy. You ever been on the London >> Underground? There's a rule that says you stand on t

Re: [PHP] Obeying the rules (was Simple login form with cookies)

2009-07-09 Thread Tony Marston
"Stuart" wrote in message news:a5f019de0907090340k47216f7fh4d83434ef98ce...@mail.gmail.com... 2009/7/9 Tony Marston : > I thought of a better analogy. You ever been on the London > Underground? There's a rule that says you stand on the right-hand side > of escalators. This has no benefit to you

Re: [PHP] php distributed file system

2009-07-09 Thread Shane Hill
On Thu, Jul 9, 2009 at 1:10 AM, Per Jessen wrote: > > Sounds a lot like glusterfs. http://www.gluster.org/ yep, it is similar, except I am not aiming to be all that comprehensive of a file system. I really want to create something extremely robust, that can be used in web apps and that will

Re: [PHP] Obeying the rules (was Simple login form with cookies)

2009-07-09 Thread Stuart
2009/7/9 Tony Marston : > Sometimes I use bottom posting, sometimes I use top posting, and sometimes I > use middle posting. It depends on the circumstances. If a post contains > several points that need separate responses, then I put my response under > each point,  and do not accumulate all at th

Re: [PHP] Obeying the rules (was Simple login form with cookies)

2009-07-09 Thread Lester Caine
Tony Marston wrote: Where I put my answers depends on the context, so saying that IT MUST ALWAYS BE AT THE BOTTOM doesn't wash with me. That is a sentiment I would agree with - but for one flaw! The number of people who seem to think that answering with a single line at the top and then includ

Re: [PHP] Obeying the rules (was Simple login form with cookies)

2009-07-09 Thread Tony Marston
Sometimes I use bottom posting, sometimes I use top posting, and sometimes I use middle posting. It depends on the circumstances. If a post contains several points that need separate responses, then I put my response under each point, and do not accumulate all at the bottom as this would make i

Re: [PHP] Obeying the rules (was Simple login form with cookies)

2009-07-09 Thread Stuart
2009/7/9 Tony Marston : > There are too many people in this newsgroup with the idea that you  MUST > obey the rules, whatever they are, WITHOUT QUESTION. I do not subscribe to > this notion. I have been working in IT (or DP as it was originally called) > for over 30 years, and in that time I have w

Re: [PHP] Obeying the rules (was Simple login form with cookies)

2009-07-09 Thread Ashley Sheridan
On Thursday 09 July 2009 09:39:11 Tony Marston wrote: > There are too many people in this newsgroup with the idea that you MUST > obey the rules, whatever they are, WITHOUT QUESTION. I do not subscribe to > this notion. I have been working in IT (or DP as it was originally called) > for over 30 ye

[PHP] Obeying the rules (was Simple login form with cookies)

2009-07-09 Thread Tony Marston
There are too many people in this newsgroup with the idea that you MUST obey the rules, whatever they are, WITHOUT QUESTION. I do not subscribe to this notion. I have been working in IT (or DP as it was originally called) for over 30 years, and in that time I have worked with many groups, and e

Re: [PHP] php distributed file system

2009-07-09 Thread Per Jessen
Shane Hill wrote: > hi folks, > > I am on a couple of php lists and on one of them we were having a > discussion about scalable enterprise class systems to store images for > things like user photo and file uploads, etc. and whether or not > something existed in php to facilitate this. well the