Re: [PHP] Re: Is there a simple way to enforce a private method in a subclass?
On 21 December 2010 19:12, Carlos Medina i...@simply-networks.de wrote: Am 21.12.2010 17:36, schrieb Richard Quadling: Hi. If I have an abstract class of Task and I want all subclasses of Task to have a private method _runTask, is there a way to enforce this? Currently an abstract private function in an abstract class isn't allowed. Fatal error: Abstract function Task::_runTask() cannot be declared private in D:\PHP\Includes\Task.php on line 91 Now I'm pretty sure there are valid reasons for this, but, for me, the key part here is the abstract modifier. This should be read first and foremost and simply say that somewhere in the subclasses, this method must defined. And if it must be defined as private, then so be it. Richard. Hi Richard, okay you want to use an abstract class (not instantiable) with a private abstract method. I think this doesnt make sense. And i think, PHP does not allow this because the inheritance constraint will be failed (you can use only in the class itself). Regards Carlos Thanks for that. Things were getting too complicated because I had 2 significantly different features in 1 class. Now I've got 2 interfaces (TaskInterface and TaskControllerInterface), things make more sense to me. Richard. -- Richard Quadling Twitter : EE : Zend @RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Re: Is there a simple way to enforce a private method in a subclass?
Am 21.12.2010 17:36, schrieb Richard Quadling: Hi. If I have an abstract class of Task and I want all subclasses of Task to have a private method _runTask, is there a way to enforce this? Currently an abstract private function in an abstract class isn't allowed. Fatal error: Abstract function Task::_runTask() cannot be declared private in D:\PHP\Includes\Task.php on line 91 Now I'm pretty sure there are valid reasons for this, but, for me, the key part here is the abstract modifier. This should be read first and foremost and simply say that somewhere in the subclasses, this method must defined. And if it must be defined as private, then so be it. Richard. Hi Richard, okay you want to use an abstract class (not instantiable) with a private abstract method. I think this doesnt make sense. And i think, PHP does not allow this because the inheritance constraint will be failed (you can use only in the class itself). Regards Carlos -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Re: Hi list --- justa simple question
On 2/7/2010 10:22 AM, ebhakt wrote: I am developing a website here wherein i need to post a lot of content. I am trying to develop a script to post data automatically to the site the site is designed in drupal any idea/comment or suggestion on how should i begin with because i am new to php language I'd recommend posting your question on the Drupal forum and investigating http://drupal.org/handbooks -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Re: Hi list --- justa simple question
thanks for the suggestion but i need a out of the box solution , be it based on dotnet or php on how to post content to a website or blog by reading an xml file or like a feed rss for example i need something to function like the feed aggregator module in drupal but not for drupal , for any website On Sun, Feb 7, 2010 at 8:35 AM, Al n...@ridersite.org wrote: On 2/7/2010 10:22 AM, ebhakt wrote: I am developing a website here wherein i need to post a lot of content. I am trying to develop a script to post data automatically to the site the site is designed in drupal any idea/comment or suggestion on how should i begin with because i am new to php language I'd recommend posting your question on the Drupal forum and investigating http://drupal.org/handbooks -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- Bhaskar Tiwari GTSE Generalist Directory Services Microsoft \ All we have to decide is what to do with the time that has been given to us bhaskartiw...@officeliveusers.com http://www.ebhakt.com/ http://fytclub.net/ http://bhaskartiwari.web.officelive.com/ http://ebhakt.spaces.live.com/
Re: [PHP] Re: Hi list --- justa simple question
On Sun, Feb 7, 2010 at 10:55 PM, ebhakt i...@ebhakt.com wrote: thanks for the suggestion but i need a out of the box solution , be it based on dotnet or php on how to post content to a website or blog by reading an xml file or like a feed rss for example i need something to function like the feed aggregator module in drupal but not for drupal , for any website There may be an out of box solution. You can google for it. If you dont find any you have to write it in plain php. -- Shiplu Mokaddim My talks, http://talk.cmyweb.net Follow me, http://twitter.com/shiplu SUST Programmers, http://groups.google.com/group/p2psust Innovation distinguishes bet ... ... (ask Steve Jobs the rest) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Re: why is this SIMPLE elseif not firing?
nevermind.. sorry for the noise. It was my if clause that was firing too much, and never even reaching that elseif. -G -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] Obeying the rules (was Simple login form with cookies)
I'm sure those who've been on this list a while muttered here we go again... when this thread started. Personally I think if there was a poll about this the bell curve would have some on the left demanding we all top post, many on the right of the curve demanding we all bottom post, and a solid bulge in the middle representing the great unwashed couldn't give a damn folks (and probably couldn't give a damn to enter the debate). On the very few occasions I've had anything to contribute I've generally bottom posted, mostly because I've seen this debate before and partly because I think it's easier for some people, but I'd place myself in the middle of the bell curve. I think most people on this list are more than smart enough to quickly figure out the thread in a post regardless whether the previous person top posted or not. Most of the regular responders bottom post which makes up the bulk, but I think if you look at the variety of people who post it's about 50/50, and most times it doesn't cause any problem at all. I agree that rules are important, but some are more important than others, and I think the top-posting rule is pretty low in the list of priorities, more a useful guide than a rule. Things like personal attacks and attempted mail spoofing are more important - both happened during the course of this thread but hardly raised an eyebrow. I also agree that context plays a big part, because once a thread starts getting complicated with many responses then bottom posting definitely makes it easier to follow, but most threads don't get to that stage. Just my 2c. Cheers Arno -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] Obeying the rules (was Simple login form with cookies)
To: php-general@lists.php.net From: t...@marston-home.demon.co.uk Date: Thu, 9 Jul 2009 22:37:44 +0100 Subject: Re: [PHP] Obeying the rules (was Simple login form with cookies) Still Learnin' ssski...@gmail.com 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. One of us clearly manifests a reality gap. How many people do you have siding with your position, on this list? It's about clarity. So that the threaded archives are intelligible instead of jumbled. So that the post-by-post emails properly read from top to bottom. That's why other newsgroups allow top posting because the response in each post is at the top, where the newsreader starts, so you don't have to scroll over the text of the previous post to get to the important stuff. This is not a newsgroup. It is an email list that archives emails on the php.net web site, and has a newsgroup subscribed. It *is* a newsgroup because I can access it through my newsreader. I can recieve copies of posts in my email client, but I can only post using my newsreader. If a thread contained 30 posts would you really want the text of all 30 contained in the same message? How difficult would it be to separate one message from another? What broken program (or script) puts the text of 30 posts into the same post? You seem to be grasping at straws. When you hit reply in your newsreader what happens? It creates a new post with the original message quoted in its entirety. Some newsreadrs then posiition the cursor at the top ready for your reply, while others position it at the bottom. If this happens 30 times then the last post contains copies of the all the previous 29 messages. It's also about courtesy, not dropping dingleberries dozens or scores of lines long (and some of you others could stand to snip the extraneous even though you do properly bottom-post). So what are the rules about snipping then? You're the 30-year professional, figure them out. I'm Still Learnin' Why should I have to figure it out? Surely some little Hitler has created a rule so that the rest of us sheep don't have to think for ourselves? -- Tony Marston http://www.tonymarston.net http://www.radicore.org Someone has got to pay for this!!! How dare you interrupt my 30years vampiric sleep over such trivial issue as top posting?. Now Tony you've been a good lad but this has got to end now! What's all the fuss about you not been able to abide by the rules here? If you can't abide, then simply leave (methinks the person that sent the mail in your name was actually trying to do you a favour). On the other hand, Daniel, what happened to that button with which you can ban any defauters on the list? is it broken? Moreover, there seem to be one point that everybody's been missing all the while. since this argument started (or specifically somewhere along the line), Marston actually started following the rules. He has stopped top-posting without him even knowing it. Check his last few replies and you'll see. The sun is up now so I got to return to my coven. No more arguments guys. Alugo Abdulazeez http://www.frangeovic.com _ Drag n’ drop—Get easy photo sharing with Windows Live™ Photos. http://www.microsoft.com/windows/windowslive/products/photos.aspx
[PHP] Obeying the rules (was Simple login form with cookies)
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 each group has had its own version the rules (aka guidelines or standards). When moving to a new group the new rules will always be different, and will sometimes contradict what you had before. Why is this? Why do some groups say do A instead of B while others say do B instead of A? Does it make a difference? The problem partially lies in the way in which the rules are created. It starts with some wise ass saying (1) Without rules there will be anarchy, so we must have rules. (2) There are no such things as bad rules. (3) Do not allow any choices. If there is a choice between A and B then choose one as the standard. It doesn't matter which one. (4) Everybody must be the same, nobody is allowed to be different. (5) The rules must be obeyed without question. (6) If a rule causes a problem then you must work around it, you cannot change the rule. Item (5) usually exists because the author of the rule cannot justify its existence. He just flipped a coin and it came down tails instead of heads, so that's it. Any moron can make rules like this. Some people just cannot understand that sometimes a rule was created for a certain set of circumstances, but if the circumstances change then the rule needs changing in order to keep up with the times. Because they do not understand why the rule was created in the first place, they do not see that it needs changing. They also do not have the intelligence to see how the rule might be changed to suit the new circumstances. I have fought against arbitrary and stupid rules for decades, and I will keep fighting till the day I die. If you have a problem with that, then so be it. -- Tony Marston http://www.tonymarston.net http://www.radicore.org Andrew Ballard aball...@gmail.com wrote in message news:b6023aa40907081232k35fa7b1em4ba543ffbb65e...@mail.gmail.com... On Wed, Jul 8, 2009 at 3:06 PM, Tony Marstont...@marston-home.demon.co.uk wrote: [snip] I don't like this rule, so I choose to disobey it. Now that's some scary ideology. Andrew -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Obeying the rules (was Simple login form with cookies)
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 years, and in that time I have worked with many groups, and each group has had its own version the rules (aka guidelines or standards). When moving to a new group the new rules will always be different, and will sometimes contradict what you had before. Why is this? Why do some groups say do A instead of B while others say do B instead of A? Does it make a difference? The problem partially lies in the way in which the rules are created. It starts with some wise ass saying (1) Without rules there will be anarchy, so we must have rules. (2) There are no such things as bad rules. (3) Do not allow any choices. If there is a choice between A and B then choose one as the standard. It doesn't matter which one. (4) Everybody must be the same, nobody is allowed to be different. (5) The rules must be obeyed without question. (6) If a rule causes a problem then you must work around it, you cannot change the rule. Item (5) usually exists because the author of the rule cannot justify its existence. He just flipped a coin and it came down tails instead of heads, so that's it. Any moron can make rules like this. Some people just cannot understand that sometimes a rule was created for a certain set of circumstances, but if the circumstances change then the rule needs changing in order to keep up with the times. Because they do not understand why the rule was created in the first place, they do not see that it needs changing. They also do not have the intelligence to see how the rule might be changed to suit the new circumstances. I have fought against arbitrary and stupid rules for decades, and I will keep fighting till the day I die. If you have a problem with that, then so be it. -- Tony Marston http://www.tonymarston.net http://www.radicore.org Andrew Ballard aball...@gmail.com wrote in message news:b6023aa40907081232k35fa7b1em4ba543ffbb65e...@mail.gmail.com... On Wed, Jul 8, 2009 at 3:06 PM, Tony Marstont...@marston-home.demon.co.uk wrote: [snip] I don't like this rule, so I choose to disobey it. Now that's some scary ideology. Andrew Tony, No offense, but Daniel gave the reason why this rule existed, and it does seem like a fairly good reason to be fair. The emails are archived on several web-based lists. If a thread is made up of a mixture of top and bottom posting, then it won't be easy to read a all online. It might be fine for reading in a message-by-message basis in an email client if you've been following the thread since its inception, but a lot of people will come into a thread part way, or choose the digest method for email delivery rather than one email per message. Thanks, Ash http://www.ashleysheridan.co.uk -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Obeying the rules (was Simple login form with cookies)
2009/7/9 Tony Marston t...@marston-home.demon.co.uk: 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 each group has had its own version the rules (aka guidelines or standards). When moving to a new group the new rules will always be different, and will sometimes contradict what you had before. Why is this? Why do some groups say do A instead of B while others say do B instead of A? Does it make a difference? 1) This is somebody elses property that you're walking all over and they've asked you to remove your shoes. Yes it's arbitrary, no it doesn't really matter in the grand scheme of things but it's polite to do what they've asked. 2) Correct summary and ordering of the key points in a discussion is not arbitrary, it helps to create messages that you can dip in and out of which needing to read an entire thread (backwards if it's all been left after someone's contribution) to get the context. Plus it creates an archive that has the same benefit. 3) Feel free to do your own thing because it's a free world, but the minimal respect I had for you after our previous discussions on this list has just been destroyed (and no I don't care that you don't care). -Stuart -- http://stut.net/ Andrew Ballard aball...@gmail.com wrote in message news:b6023aa40907081232k35fa7b1em4ba543ffbb65e...@mail.gmail.com... On Wed, Jul 8, 2009 at 3:06 PM, Tony Marstont...@marston-home.demon.co.uk wrote: [snip] I don't like this rule, so I choose to disobey it. Now that's some scary ideology. Andrew -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Obeying the rules (was Simple login form with cookies)
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 it difficult to associate an answer with a question. The fact that some people do not view a thread until nearly the end is irrelevant. If a thread has 30 posts it would make the last post unreadable if it contained everything from the start. Have you seen a post with 30 levels of indenting for each different post? That is why most newsreaders and email clients group messages by conversation/thread so that you can step through each post individually. Each post contains just the response so that you don't have to scroll through huge volumes of text in order to pick out the new message. Sometimes the only part of the previous post you leave in is the part for which you are supplying an answer so as to avoid confusion. Where I put my answers depends on the context, so saying that IT MUST ALWAYS BE AT THE BOTTOM doesn't wash with me. -- Tony Marston http://www.tonymarston.net http://www.radicore.org Ashley Sheridan a...@ashleysheridan.co.uk wrote in message news:200907091022.12752@ashleysheridan.co.uk... 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 years, and in that time I have worked with many groups, and each group has had its own version the rules (aka guidelines or standards). When moving to a new group the new rules will always be different, and will sometimes contradict what you had before. Why is this? Why do some groups say do A instead of B while others say do B instead of A? Does it make a difference? The problem partially lies in the way in which the rules are created. It starts with some wise ass saying (1) Without rules there will be anarchy, so we must have rules. (2) There are no such things as bad rules. (3) Do not allow any choices. If there is a choice between A and B then choose one as the standard. It doesn't matter which one. (4) Everybody must be the same, nobody is allowed to be different. (5) The rules must be obeyed without question. (6) If a rule causes a problem then you must work around it, you cannot change the rule. Item (5) usually exists because the author of the rule cannot justify its existence. He just flipped a coin and it came down tails instead of heads, so that's it. Any moron can make rules like this. Some people just cannot understand that sometimes a rule was created for a certain set of circumstances, but if the circumstances change then the rule needs changing in order to keep up with the times. Because they do not understand why the rule was created in the first place, they do not see that it needs changing. They also do not have the intelligence to see how the rule might be changed to suit the new circumstances. I have fought against arbitrary and stupid rules for decades, and I will keep fighting till the day I die. If you have a problem with that, then so be it. -- Tony Marston http://www.tonymarston.net http://www.radicore.org Andrew Ballard aball...@gmail.com wrote in message news:b6023aa40907081232k35fa7b1em4ba543ffbb65e...@mail.gmail.com... On Wed, Jul 8, 2009 at 3:06 PM, Tony Marstont...@marston-home.demon.co.uk wrote: [snip] I don't like this rule, so I choose to disobey it. Now that's some scary ideology. Andrew Tony, No offense, but Daniel gave the reason why this rule existed, and it does seem like a fairly good reason to be fair. The emails are archived on several web-based lists. If a thread is made up of a mixture of top and bottom posting, then it won't be easy to read a all online. It might be fine for reading in a message-by-message basis in an email client if you've been following the thread since its inception, but a lot of people will come into a thread part way, or choose the digest method for email delivery rather than one email per message. Thanks, Ash http://www.ashleysheridan.co.uk -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Obeying the rules (was Simple login form with cookies)
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 including all the advertising and dross that the previous top posted failed to trim as well Top posting has a bad press simply because people are too lazy to think, and in many cases, INCLUDING the original message is a waste of everybody's time ... the one liner is adaquate! The rule should be - if you top post then CHECK that the the rest of the message NEEDS to be included - please . -- Lester Caine - G8HFL - Contact - http://lsces.co.uk/wiki/?page=contact L.S.Caine Electronic Services - http://lsces.co.uk EnquirySolve - http://enquirysolve.com/ Model Engineers Digital Workshop - http://medw.co.uk// Firebird - http://www.firebirdsql.org/index.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Obeying the rules (was Simple login form with cookies)
2009/7/9 Tony Marston t...@marston-home.demon.co.uk: 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 it difficult to associate an answer with a question. The fact that some people do not view a thread until nearly the end is irrelevant. If a thread has 30 posts it would make the last post unreadable if it contained everything from the start. Have you seen a post with 30 levels of indenting for each different post? That is why most newsreaders and email clients group messages by conversation/thread so that you can step through each post individually. Each post contains just the response so that you don't have to scroll through huge volumes of text in order to pick out the new message. Sometimes the only part of the previous post you leave in is the part for which you are supplying an answer so as to avoid confusion. Where I put my answers depends on the context, so saying that IT MUST ALWAYS BE AT THE BOTTOM doesn't wash with me. Quoting http://php.net/reST/php-src/README.MAILINGLIST_RULES... 3. Do not top post. Place your answer underneath anyone you wish to quote and remove any previous comment that is not relevant to your post. That does not say IT MUST ALWAYS BE AT THE BOTTOM. It says, quite usefully IMHO, that you should quote relevant parts of previous posts and place your response below them. That leaves scope for multiple responses in a single message, each with the relevant part of the previous post quoted. 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, the one who stands there while the elevator does all the work, but it means those of us who want to walk up the escalator can do so without having to ask everyone to move out of the way. The benefit of this rule is to other people not you, but does that make it a bad rule? I reckon it's the same with the way you arrange your messages to this list. Top-posting is a lazy and selfish way to contribute to the list, especially when you know what the rule/convention is. It's worth noting that bottom-posting without efficient quoting is just as bad IMHO as top-posting. Anyway, it's clear that you're not willing to do the polite thing on this issue, so I don't see any point in continuing to discuss it. -Stuart -- http://stut.net/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Obeying the rules (was Simple login form with cookies)
Stuart stut...@gmail.com wrote in message news:a5f019de0907090340k47216f7fh4d83434ef98ce...@mail.gmail.com... 2009/7/9 Tony Marston t...@marston-home.demon.co.uk: snip 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, the one who stands there while the elevator does all the work, but it means those of us who want to walk up the escalator can do so without having to ask everyone to move out of the way. The benefit of this rule is to other people not you, but does that make it a bad rule? Your analogy is urealistic as my choice of top posting has absolutely no effect on any other message is the newsgroup. It has no absolutely no effect on the reader unless the reader chooses to take offence. The first newsgroups I visited after getting my first PC not only allowed top posting, they actively encouraged it, yet no-one complained if someone put their post on the bottom. They were tolerant, you see, because it didn't really matter. Your intolerant attitude on this issue shows just what a small-minded person you are. I reckon it's the same with the way you arrange your messages to this list. Top-posting is a lazy and selfish way to contribute to the list, That is opinion, not fact. Other newsgroups allow top posting, so why not this newsgroup? Just because someone says so? That's simply not good enough. especially when you know what the rule/convention is. It's worth noting that bottom-posting without efficient quoting is just as bad IMHO as top-posting. There you go with your personal opinions again. Anyway, it's clear that you're not willing to do the polite thing on this issue, so I don't see any point in continuing to discuss it. -Stuart Good. So stop discussing it. -- Tony Marston http://www.tonymarston.net http://www.radicore.org -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Obeying the rules (was Simple login form with cookies)
On Thu, Jul 9, 2009 at 8:54 AM, Tony Marstont...@marston-home.demon.co.uk wrote: Stuart stut...@gmail.com wrote in message news:a5f019de0907090340k47216f7fh4d83434ef98ce...@mail.gmail.com... 2009/7/9 Tony Marston t...@marston-home.demon.co.uk: snip 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, the one who stands there while the elevator does all the work, but it means those of us who want to walk up the escalator can do so without having to ask everyone to move out of the way. The benefit of this rule is to other people not you, but does that make it a bad rule? Your analogy is urealistic as my choice of top posting has absolutely no effect on any other message is the newsgroup. It has no absolutely no effect on the reader unless the reader chooses to take offence. The first newsgroups I visited after getting my first PC not only allowed top posting, they actively encouraged it, yet no-one complained if someone put their post on the bottom. They were tolerant, you see, because it didn't really matter. Your intolerant attitude on this issue shows just what a small-minded person you are. I reckon it's the same with the way you arrange your messages to this list. Top-posting is a lazy and selfish way to contribute to the list, That is opinion, not fact. Other newsgroups allow top posting, so why not this newsgroup? Just because someone says so? That's simply not good enough. especially when you know what the rule/convention is. It's worth noting that bottom-posting without efficient quoting is just as bad IMHO as top-posting. There you go with your personal opinions again. Anyway, it's clear that you're not willing to do the polite thing on this issue, so I don't see any point in continuing to discuss it. -Stuart Good. So stop discussing it. -- Tony Marston http://www.tonymarston.net http://www.radicore.org -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php Tony, The only thing I don't agree with here is the name calling. Daniel is a pretty darn bright guy here, and I feel that slighting him because of an established convention is not the best approach to dealing with this. We are all voluntary participants on this list and we all make valuable contributions to the PHP community. Conventions were implemented to make things easier for participants to view a standard thread in the list. We don't have to like it, but that is no reason to digress into a pissing match over how the rules are not sensible to any specific point of view. I have found that moving to the gmail client makes the rules more sensible as that is how gmail displays the emails. Both hotmail and outlook make this tougher as they don't logically display the thread. Might I suggest that you try using gmail (some one posted that your client was outlook which is why I suggest this)? Its a pain, if you have a history with the list that you store on your machine, but it might be worthwhile exploring. -- Bastien Cat, the other other white meat -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Obeying the rules (was Simple login form with cookies)
Bastien Koert phps...@gmail.com wrote in message news:d7b6cab70907090623s6b37641dt90a564f1d80fe...@mail.gmail.com... On Thu, Jul 9, 2009 at 8:54 AM, Tony Marstont...@marston-home.demon.co.uk wrote: Stuart stut...@gmail.com wrote in message news:a5f019de0907090340k47216f7fh4d83434ef98ce...@mail.gmail.com... 2009/7/9 Tony Marston t...@marston-home.demon.co.uk: snip The first newsgroups I visited after getting my first PC not only allowed top posting, they actively encouraged it, yet no-one complained if someone put their post on the bottom. They were tolerant, you see, because it didn't really matter. Your intolerant attitude on this issue shows just what a small-minded person you are. I reckon it's the same with the way you arrange your messages to this list. Top-posting is a lazy and selfish way to contribute to the list, That is opinion, not fact. Other newsgroups allow top posting, so why not this newsgroup? Just because someone says so? That's simply not good enough. Tony, The only thing I don't agree with here is the name calling. 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 have endless arguments about when to use uppercase and when to use lower case. It simply doesn't matter, so stop wasting your time in arguing about it. Daniel is a pretty darn bright guy here, and I feel that slighting him because of an established convention is not the best approach to dealing with this. We are all voluntary participants on this list and we all make valuable contributions to the PHP community. Irrelevant. It does not matter how much good work anybody does if they go and ruin it by trying to enforce some inconsequential petty rule. Conventions were implemented to make things easier for participants to view a standard thread in the list. The conventions in other newsgroups are different, and I can't be bothered to change my habits for different newsgroups just becase some internet Nazi says so. We don't have to like it, but that is no reason to digress into a pissing match over how the rules are not sensible to any specific point of view. No, I don't like stupid rules, which is why I choose not to obey them. I have found that moving to the gmail client makes the rules more sensible as that is how gmail displays the emails. Both hotmail and outlook make this tougher as they don't logically display the thread. Might I suggest that you try using gmail (some one posted that your client was outlook which is why I suggest this)? Its a pain, if you have a history with the list that you store on your machine, but it might be worthwhile exploring. So not only are you dictating how I post, you are also dictating which newsreader I should use? How arrogant! -- Tony Marston http://www.tonymarston.net http://www.radicore.org -- Bastien Cat, the other other white meat -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Obeying the rules (was Simple login form with cookies)
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 have endless arguments about when to use uppercase and when to use lower case. It simply doesn't matter, so stop wasting your time in arguing about it. And it's not just as small minded (I'm not agreeing with you, by the way) to assume that your point is the only valid point in the discussion? Nor is it just as small minded to systematically attack someone, and the community they take part in, because they have the audacity to disagree with you? Irrelevant. It does not matter how much good work anybody does if they go and ruin it by trying to enforce some inconsequential petty rule. It's obviously not inconsequential, as you're making such a fuss about it. If it's so inconsequential, why not bottom post and be done with it? The conventions in other newsgroups are different, and I can't be bothered to change my habits for different newsgroups just becase some internet Nazi says so. Congratulations, rule-abiding denizens of php-general, we're now all Nazis! Way to invoke Godwin, by the way, it clearly always wins these internet argu-debates and doesn't make you look like a loon at all. I'm going to take this opportunity to jump on the no more respect bandwagon. So not only are you dictating how I post, you are also dictating which newsreader I should use? How arrogant! I don't like your rules, rules that existed before I got here and will exist after I leave and are agreed on by the community, so I'll not follow them! is one of the most arrogant things I've ever seen on this list. He was making a suggestion, ffs, and you just want to be an ass and take everything personally. You're making an entire mountain range out of the proverbial molehill. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Obeying the rules (was Simple login form with cookies)
On Thu, Jul 9, 2009 at 9:54 AM, Tony Marstont...@marston-home.demon.co.uk wrote: Bastien Koert phps...@gmail.com wrote in message news:d7b6cab70907090623s6b37641dt90a564f1d80fe...@mail.gmail.com... On Thu, Jul 9, 2009 at 8:54 AM, Tony Marstont...@marston-home.demon.co.uk wrote: Stuart stut...@gmail.com wrote in message news:a5f019de0907090340k47216f7fh4d83434ef98ce...@mail.gmail.com... 2009/7/9 Tony Marston t...@marston-home.demon.co.uk: snip The first newsgroups I visited after getting my first PC not only allowed top posting, they actively encouraged it, yet no-one complained if someone put their post on the bottom. They were tolerant, you see, because it didn't really matter. Your intolerant attitude on this issue shows just what a small-minded person you are. I reckon it's the same with the way you arrange your messages to this list. Top-posting is a lazy and selfish way to contribute to the list, That is opinion, not fact. Other newsgroups allow top posting, so why not this newsgroup? Just because someone says so? That's simply not good enough. Tony, The only thing I don't agree with here is the name calling. 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 have endless arguments about when to use uppercase and when to use lower case. It simply doesn't matter, so stop wasting your time in arguing about it. Daniel is a pretty darn bright guy here, and I feel that slighting him because of an established convention is not the best approach to dealing with this. We are all voluntary participants on this list and we all make valuable contributions to the PHP community. Irrelevant. It does not matter how much good work anybody does if they go and ruin it by trying to enforce some inconsequential petty rule. Conventions were implemented to make things easier for participants to view a standard thread in the list. The conventions in other newsgroups are different, and I can't be bothered to change my habits for different newsgroups just becase some internet Nazi says so. We don't have to like it, but that is no reason to digress into a pissing match over how the rules are not sensible to any specific point of view. No, I don't like stupid rules, which is why I choose not to obey them. I have found that moving to the gmail client makes the rules more sensible as that is how gmail displays the emails. Both hotmail and outlook make this tougher as they don't logically display the thread. Might I suggest that you try using gmail (some one posted that your client was outlook which is why I suggest this)? Its a pain, if you have a history with the list that you store on your machine, but it might be worthwhile exploring. So not only are you dictating how I post, you are also dictating which newsreader I should use? How arrogant! No, Tony, not dictating at all. Merely sharing my experience. It may or may not work for you, but that is for you to decide. -- Tony Marston http://www.tonymarston.net http://www.radicore.org -- Bastien Cat, the other other white meat -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- Bastien Cat, the other other white meat -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Obeying the rules (was Simple login form with cookies)
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 research for someone with a problem and a search engine. I would bet that there are few people who subscribe to this list have never found a solution to a problem on a mailing list, somewhere and somewhen. I know I personally subscribed to this list because quite a few questions I had when I was just starting out with PHP came from here and I wasn't subscribing with a news reader at the time. I think you (the OP) is being unnecessarily short-sighted in assuming that 1, everyone has a news reader and uses it to read this list and 2, the threads are only relevant for the duration of their life. The posts here are archived here forever and ever and a rule that suggests posting on either the top or the bottom of the list keeps it consisten for future readers. Breaking that convention because you don't like it is just being grumpy and stickly for no other reason than you can, and potentially harming future developers who could find the information from this list a valuable resource. I like the escalator analogy, because either side of the escalator would do to allow people who want to stand and people who want to walk up to co-exist in harmony, yet there's a standard. Luckily for us, this isn't the New York subway where you get cursed at for standing on the wrong side (I learned that lesson the wrong way when I moved here!). In other words, it's not that top posting is empirically and inherently a worse method than bottom posting, it's that it's a generally accepted standard that helps ensure the longevity of posts on this list. If it was top posting, I'm sure replying would be a lot easier to most of us, but like a dozen people said in the first thread, it takes two seconds to move the cursor each time. Why choose to be overly ornery about a point so trivial? It seems like you're trying to turn this into a Fight the Power battle, when the only power you're fighting are your peers. --Eddie -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Obeying the rules (was Simple login form with cookies)
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 concentrates on small issues which simply don't matter in the great scheme of things. You've been told four times at least, top posting interferes with threading for this list and it's been brought up a couple of times at least, top-posting encourages leaving all the trailing dross. Like dingleberries that you are too lazy or ignorant to clean away. You also said to Stuart, but may as well have meant for all who've posted in favor bottom-posting on this list: Your intolerant attitude on this issue shows just what a small-minded person you are. With multiple valid reasons and increasing numbers supporting the status quo for this list, you've thus-far persisted in calling it an arbitrary rule that need not be followed. That seems pretty small-minded indeed, for the 30-year professional you claim to be. SL -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Obeying the rules (was Simple login form with cookies)
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 terms of nourishing ability... in nourishing the subtle feeling of those around us. -Govinda -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Obeying the rules (was Simple login form with cookies)
On Thu, Jul 9, 2009 at 09:54, Tony Marstont...@marston-home.demon.co.uk 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 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 have endless arguments about when to use uppercase and when to use lower case. It simply doesn't matter, so stop wasting your time in arguing about it. Point #2: When attempting to prove your case, do your best to keep your facts and players straight --- you did not call me either of these things; you placed your unnecessary opinion of such on Stuart. And while that really doesn't sit well with me, it's just becoming more and more evident that you, like many others in the past, will simply wind up being ignored by the majority of the list, save for folks who don't know or don't care about your lack of respect for them. Irrelevant. It does not matter how much good work anybody does if they go and ruin it by trying to enforce some inconsequential petty rule. Had I been a hippie as well, I might just be inclined to agree with you. So if we're throwing opinions around, let mine ring loud and clear: thank God I'm not. Besides, I couldn't have pulled off the bellbottom look, and in all my years, I still can't grow a half-decent beard (which means that joining al-Qaeda may be out of my future as well darn). The conventions in other newsgroups are different, and I can't be bothered to change my habits for different newsgroups just becase some internet Nazi says so. You change the topic for each newsgroup, don't you? And you do it out of respect for the context of that particular group. You wouldn't (well, maybe *you* would) ask a question about a carburetor on a mailing list for expectant mothers, which makes sense. Following a simple rule by not top-posting makes sense as well, which has been outlined already. Your greatest failure in this argument, Tony, is not being able to articulate your proof as to *why* it's a stupid rule. All I've been able to ascertain to date is that you (ALWAYS) have an opinion as to why the Establishment is a Bad Thing[tm], and how The Man will never be able to keep you down. Fight the power, Marston. Spread the word of the Revolution. Manifest Destiny! (What was the argument again?) No, I don't like stupid rules, which is why I choose not to obey them. This is like a five-year-old saying, I don't like your stupid face, so I'm not gonna' look at it. Reading your sentence, I envisage the voice of a spoiled toddler. So not only are you dictating how I post, you are also dictating which newsreader I should use? How arrogant! Your arrogance toward the community and ignorance of fundamental, purposeful guidelines is proof of how sanctimonious you truly are. Besides, since you are still using PHP 4.4.9 on your server, it's obvious that you don't like - and/or are afraid of - change, so no one is trying to tell you what software to use. Anyway, since we're on the subject, while I have no interest in ever using RADICORE, I may be able to convince someone else to use it for free. Wait, I would have to pay for a commercial? That's a stupid rule, I'm just going to take it for free anyway, and damn what you say about it. -- /Daniel P. Brown daniel.br...@parasane.net || danbr...@php.net http://www.parasane.net/ || http://www.pilotpig.net/ Check out our great hosting and dedicated server deals at http://twitter.com/pilotpig -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] Obeying the rules (was Simple login form with cookies)
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|news] client posts by default. GroupWise was the first significant email client I am aware of that top posted replies. Since that was the competitive target Outlook was created to eliminate, Outlook also top posted by default. But prior to the Office 2003 release it could still be configured to both bottom post and automatically insert the line prefixes for attribution. At the office I have to use Outlook. I hate it. Not only do I have to hand edit every message to construct the replay, there are many other problems that make it totally unsuitable for intelligent users. Unfortunately, that description fits far too few of the actual users. Bob McConnell A: Maybe because some people are too annoyed by top-posting. Q: Why do I not get an answer to my question(s)? A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing on Usenet? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Obeying the rules (was Simple login form with cookies)
Eddie Drapkin oorza...@gmail.com 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 don't matter in the great scheme of things. That sounds like fair comment to me It's just like those people who have endless arguments about when to use uppercase and when to use lower case. It simply doesn't matter, so stop wasting your time in arguing about it. And it's not just as small minded (I'm not agreeing with you, by the way) to assume that your point is the only valid point in the discussion? I never said that my point is the *only* valid point, just that it is a valid point. I don't complain about other people and their bottom posting (which I consider to be a bit anal, if you get the pun!) so stop trying to force me to conform to your petty rules. Nor is it just as small minded to systematically attack someone, and the community they take part in, because they have the audacity to disagree with you? I am not attacking, I am defending. There is a slight difference. Irrelevant. It does not matter how much good work anybody does if they go and ruin it by trying to enforce some inconsequential petty rule. It's obviously not inconsequential, as you're making such a fuss about it. If it's so inconsequential, why not bottom post and be done with it? If it's so inconsequential then stop complaining about it. The conventions in other newsgroups are different, and I can't be bothered to change my habits for different newsgroups just becase some internet Nazi says so. Congratulations, rule-abiding denizens of php-general, we're now all Nazis! I'm not saying that every person who reads this newsgroup is a Nazi, only those who take great delight in dictating how people should use *their* newsgroup. Way to invoke Godwin, by the way, it clearly always wins these internet argu-debates and doesn't make you look like a loon at all. I'm going to take this opportunity to jump on the no more respect bandwagon. So not only are you dictating how I post, you are also dictating which newsreader I should use? How arrogant! I don't like your rules, rules that existed before I got here and will exist after I leave and are agreed on by the community, so I'll not follow them! is one of the most arrogant things I've ever seen on this list. He was making a suggestion, ffs, and you just want to be an ass and take everything personally. You're making an entire mountain range out of the proverbial molehill. It is *you* who are making a mountain out of the no-top-posting molehill. -- Tony Marston http://www.tonymarston.net http://www.radicore.org -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] Obeying the rules (was Simple login form with cookies)
-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: Why do I not get an answer to my question(s)? A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing on Usenet? I've been reading this agog - really, how old are we here? But I have to say that Bob's signature was absolutely spot on. It even caught me out until I realised its purpose. Case in point. I have to wonder how this conversation will look in the various archives when a future PHP coder goes looking for a nice, friendly place to seek knowledge and guidance. PS: I also have to wonder how the attitude of I don't like that rule, so I didn't follow it (not an exact quote) will go over when presented to a police officer? J -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Obeying the rules (was Simple login form with cookies)
Bastien Koert phps...@gmail.com wrote in message news:d7b6cab70907090705i1575fe0ft21a2cc82c992b...@mail.gmail.com... On Thu, Jul 9, 2009 at 9:54 AM, Tony Marstont...@marston-home.demon.co.uk wrote: Bastien Koert phps...@gmail.com wrote in message news:d7b6cab70907090623s6b37641dt90a564f1d80fe...@mail.gmail.com... On Thu, Jul 9, 2009 at 8:54 AM, Tony Marstont...@marston-home.demon.co.uk wrote: Stuart stut...@gmail.com wrote in message news:a5f019de0907090340k47216f7fh4d83434ef98ce...@mail.gmail.com... 2009/7/9 Tony Marston t...@marston-home.demon.co.uk: snip The first newsgroups I visited after getting my first PC not only allowed top posting, they actively encouraged it, yet no-one complained if someone put their post on the bottom. They were tolerant, you see, because it didn't really matter. Your intolerant attitude on this issue shows just what a small-minded person you are. I reckon it's the same with the way you arrange your messages to this list. Top-posting is a lazy and selfish way to contribute to the list, That is opinion, not fact. Other newsgroups allow top posting, so why not this newsgroup? Just because someone says so? That's simply not good enough. Tony, The only thing I don't agree with here is the name calling. 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 have endless arguments about when to use uppercase and when to use lower case. It simply doesn't matter, so stop wasting your time in arguing about it. Daniel is a pretty darn bright guy here, and I feel that slighting him because of an established convention is not the best approach to dealing with this. We are all voluntary participants on this list and we all make valuable contributions to the PHP community. Irrelevant. It does not matter how much good work anybody does if they go and ruin it by trying to enforce some inconsequential petty rule. Conventions were implemented to make things easier for participants to view a standard thread in the list. The conventions in other newsgroups are different, and I can't be bothered to change my habits for different newsgroups just becase some internet Nazi says so. We don't have to like it, but that is no reason to digress into a pissing match over how the rules are not sensible to any specific point of view. No, I don't like stupid rules, which is why I choose not to obey them. I have found that moving to the gmail client makes the rules more sensible as that is how gmail displays the emails. Both hotmail and outlook make this tougher as they don't logically display the thread. Might I suggest that you try using gmail (some one posted that your client was outlook which is why I suggest this)? Its a pain, if you have a history with the list that you store on your machine, but it might be worthwhile exploring. So not only are you dictating how I post, you are also dictating which newsreader I should use? How arrogant! No, Tony, not dictating at all. Merely sharing my experience. It may or may not work for you, but that is for you to decide. I've decided. It doesn't work for me. End of story. -- Tony Marston http://www.tonymarston.net http://www.radicore.org -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Obeying the rules (was Simple login form with cookies)
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: No, I don't like stupid rules, which is why I choose not to obey them. Convinces me that you are either a child or a troll. It certainly does not support your claim that you are a 30 year professional. In any case, you are a waste of time -- welcome to my kill file. tedd -- --- http://sperling.com http://ancientstones.com http://earthstones.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] Obeying the rules (was Simple login form with cookies) WOT
[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. Several folks over the years have been given grief about top-posting, snipping, off-topic posts, ad infinitum. Tony, if it doesn't work for you that is fine, your responses may end up in /dev/null/ of several of those here reducing your odds for getting worthwhile responses. There is an accepted method for usenet style lists that have been in place (and POSTED in numerous locations for all to see) since the dawn of said lists. It is precisely why web forums bottom post for you, we all read from top to bottom more easily. Additionally there is a well respected and humorous web site dedicated to asking smart questions that most everyone here has read or been directed to at one time or another. If those rules are inconsequential to you I think you will find your responses to be more and more inconsequential to others. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] Obeying the rules (was Simple login form with cookies) WOT
[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. It is the small pebble that causes you to stumble. Pass all the pebbles in your path and you will find that you have crossed the mountain. -- Traditional proverb As well as Rules are written for those who lack the ability to truly reason, But for those who can, rules become nothing more than guidelines, And live their lives governed not by rules but by reason. -- James McGuigan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Obeying the rules (was Simple login form with cookies)
Daniel Brown danbr...@php.net wrote in message news:ab5568160907090729j4c2cc67esff2823dcb493d...@mail.gmail.com... On Thu, Jul 9, 2009 at 09:54, Tony Marstont...@marston-home.demon.co.uk 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 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 have endless arguments about when to use uppercase and when to use lower case. It simply doesn't matter, so stop wasting your time in arguing about it. Point #2: When attempting to prove your case, do your best to keep your facts and players straight --- you did not call me either of these things; you placed your unnecessary opinion of such on Stuart. And while that really doesn't sit well with me, it's just becoming more and more evident that you, like many others in the past, will simply wind up being ignored by the majority of the list, save for folks who don't know or don't care about your lack of respect for them. I have no respect for anyone who wastes time in trying to force others to obey their petty rules. Irrelevant. It does not matter how much good work anybody does if they go and ruin it by trying to enforce some inconsequential petty rule. Had I been a hippie as well, I might just be inclined to agree with you. So if we're throwing opinions around, let mine ring loud and clear: thank God I'm not. Besides, I couldn't have pulled off the bellbottom look, and in all my years, I still can't grow a half-decent beard (which means that joining al-Qaeda may be out of my future as well darn). The conventions in other newsgroups are different, and I can't be bothered to change my habits for different newsgroups just becase some internet Nazi says so. You change the topic for each newsgroup, don't you? And you do it out of respect for the context of that particular group. You wouldn't (well, maybe *you* would) ask a question about a carburetor on a mailing list for expectant mothers, which makes sense. Now you're being silly. Following a simple rule by not top-posting makes sense as well, which has been outlined already. 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. Who gave this person the right to make such rules?. Top posting has existed for ages, and a lot of people don't care about it one way or the other. Your greatest failure in this argument, Tony, is not being able to articulate your proof as to *why* it's a stupid rule. 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 it just arrogance on their part. I'm not saying that everyone should top post, or bottom post, or middle post, or even sideways post. It simply doesn't matter. All I've been able to ascertain to date is that you (ALWAYS) have an opinion as to why the Establishment is a Bad Thing[tm], and how The Man will never be able to keep you down. Fight the power, Marston. Spread the word of the Revolution. Manifest Destiny! (What was the argument again?) It is my God-given right to question anything and everything, especially any rule made by mortal man. If you don't like it when I have the audacity to question No, I don't like stupid rules, which is why I choose not to obey them. This is like a five-year-old saying, I don't like your stupid face, so I'm not gonna' look at it. Reading your sentence, I envisage the voice of a spoiled toddler. So not only are you dictating how I post, you are also dictating which newsreader I should use? How arrogant! Your arrogance toward the community and ignorance of fundamental, purposeful guidelines I'm not trying to impose my will on the community, I'm just refusing to bow to *your* will. If they are truly guidelines and not rules then stop trying to force them down my throat. I don't tell you to stop with your anal bottom posting, so stop telling me to stop with my traditional top posting. is proof of how sanctimonious you truly are. Now who's name calling? Besides, since you are still using PHP 4.4.9 on your server, it's obvious that you don't like - and/or are afraid of - change, so no one is trying to tell you what software to use. Both of my servers use PHP 5.2.9, and I modified my code to run under PHP as soon as it was available. My code still runs under both PHP 4 and 5. Anyway, since we're on the subject, while I have no interest in ever using RADICORE, I shan't lose any sleep over that.
Re: [PHP] Obeying the rules (was Simple login form with cookies)
On Thu, Jul 9, 2009 at 11:57, Tony Marstont...@marston-home.demon.co.uk 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 has taught you nothing, and your abilities to perform under pressure when facts are pointed out against you have failed you. From this point forward, you don't even have the same respect from me as I would give to a rabid animal, and while you may not care - nor am I inclined to think or be concerned that you might or might not - I am satisfied in knowing that I'm not the only one who thinks you, sir, are not worth the time spent to think upon. Best of luck in anything you may hope to have success, including learning to persuasively debate a point. -- /Daniel P. Brown daniel.br...@parasane.net || danbr...@php.net http://www.parasane.net/ || http://www.pilotpig.net/ Check out our great hosting and dedicated server deals at http://twitter.com/pilotpig -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Obeying the rules (was Simple login form with cookies)
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 it just arrogance on their part. Tony, I believe I (among others) mentioned a perfectly valid reason for *not* top-posting. In-case you forgot, I'll go through it again: This mailing list is ingested (afaik) in three main ways by people: 1. One email per message made to the list 2. Daily email digests 3. Web-based list archives Now, it might not make too much difference where the posts are if you are reading the list by the first means. Yeah, it's annoying seeing emails that are a mix of top and bottom-posting, but it can be dealt with. The second way of reading through the list groups together bunches of the messages, which is difficult to read if the posting is a mix of top and bottom. The web-based content is even more difficult to follow if the posting types mix. This list has always used bottom-posting as a convention, because if everyone sticks to it, the whole thing is made easier to read by both members and guests reading the list in their browsers. Someone earlier in the thread mentioned escalators. The convention in the UK is to stand on the right, and walk on the left. It's different in the US. Would you try and have an argument with someone on an escalator because s/he thought you were on the wrong side because you're used to using a particular side and can't be bothered to go by their conventions? More and more as you post I find this is actually a likely scenario, but I'm willing to accept you might not. The thing is, both these things are general conventions, put in place to benefit others, which hardly put you out of your way (as I mentioned yesterday, it can be done in 1-2 seconds) Please can you not just keep to the convention used on this list? The list is not here solely for your benefit, but that of others too. 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://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Obeying the rules (was Simple login form with cookies)
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 twice, it isn't an arbitrary rule. It isn't a petty rule. It isn't about perfection. It's about clarity. So that the threaded archives are intelligible instead of jumbled. So that the post-by-post emails properly read from top to bottom. It's also about courtesy, not dropping dingleberries dozens or scores of lines long (and some of you others could stand to snip the extraneous even though you do properly bottom-post). Like has been said: if you don't play by the playground rules, don't be surprised if the other kids don't want to play with you. SL -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] Obeying the rules (was Simple login form with cookies)
-Original Message- From: Ashley Sheridan [mailto:a...@ashleysheridan.co.uk] Sent: Thursday, July 09, 2009 2:07 PM To: Tony Marston Cc: php-general@lists.php.net Subject: Re: [PHP] Obeying the rules (was Simple login form with cookies) 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 it just arrogance on their part. Tony, I believe I (among others) mentioned a perfectly valid reason for *not* top-posting. In-case you forgot, I'll go through it again: This mailing list is ingested (afaik) in three main ways by people: 1. One email per message made to the list 2. Daily email digests 3. Web-based list archives Now, it might not make too much difference where the posts are if you are reading the list by the first means. Yeah, it's annoying seeing emails that are a mix of top and bottom-posting, but it can be dealt with. The second way of reading through the list groups together bunches of the messages, which is difficult to read if the posting is a mix of top and bottom. The web-based content is even more difficult to follow if the posting types mix. This list has always used bottom-posting as a convention, because if everyone sticks to it, the whole thing is made easier to read by both members and guests reading the list in their browsers. Someone earlier in the thread mentioned escalators. The convention in the UK is to stand on the right, and walk on the left. It's different in the US. Would you try and have an argument with someone on an escalator because s/he thought you were on the wrong side because you're used to using a particular side and can't be bothered to go by their conventions? More and more as you post I find this is actually a likely scenario, but I'm willing to accept you might not. The thing is, both these things are general conventions, put in place to benefit others, which hardly put you out of your way (as I mentioned yesterday, it can be done in 1-2 seconds) Please can you not just keep to the convention used on this list? The list is not here solely for your benefit, but that of others too. 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://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php __ Information from ESET Smart Security, version of virus signature database 4229 (20090709) __ The message was checked by ESET Smart Security. http://www.eset.com 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 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 live in a real life Stepford Wives existence. [Marc Hall - HallMarc Websites - http://www.hallmarcwebsites.com 610.446.3346] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Obeying the rules (was Simple login form with cookies)
Ashley Sheridan a...@ashleysheridan.co.uk 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, so for someone to stand up and say I don't like this, so I'll make a rule agains it it just arrogance on their part. Tony, I believe I (among others) mentioned a perfectly valid reason for *not* top-posting. In-case you forgot, I'll go through it again: This mailing list is ingested (afaik) in three main ways by people: 1. One email per message made to the list 2. Daily email digests 3. Web-based list archives You may think they are valid reasons, but I do not. When I first started to post in newsgroups top posting was not only allowed, it was encouraged, and no-one complained. This went on for years, then all of a sudden someone decided that top posting was bad, and made a rule against it. Why should I change the habits of years just because you say so? Whether I post at the top or the bottom DOESN'T REALLY MATTER. It is just another religious war. I think bottom posting is bad because I have to scroll all the way to the bottom of the post in order to read the response, whereas if its at the top I can read it without scrolling. Now, it might not make too much difference where the posts are if you are reading the list by the first means. Yeah, it's annoying seeing emails that are a mix of top and bottom-posting, but it can be dealt with. The second way of reading through the list groups together bunches of the messages, which is difficult to read if the posting is a mix of top and bottom. The web-based content is even more difficult to follow if the posting types mix. The fact that there are many different ways of reading newsroups which favour either top or bottom posting just adds to the chaos. My newsreader favours top posting, so that's what I'll stick to. This list has always used bottom-posting as a convention, because if everyone sticks to it, the whole thing is made easier to read by both members and guests reading the list in their browsers. Different newsgroups have different conventions, and I just can't be bothered to switch from one to the other just to satisfy a petty whim. Someone earlier in the thread mentioned escalators. And I have already pointed out that this was a false analogy. If I stand on the wrong side of the escalator I will block other people, but if I top post I block nobody. Some people may notice I've posted at the top, some may not. Some may think it's bad, some may not. But wherever I post it does not stop them from reading what I wrote. The convention in the UK is to stand on the right, and walk on the left. It's different in the US. Would you try and have an argument with someone on an escalator because s/he thought you were on the wrong side because you're used to using a particular side and can't be bothered to go by their conventions? More and more as you post I find this is actually a likely scenario, but I'm willing to accept you might not. The thing is, both these things are general conventions, put in place to benefit others, which hardly put you out of your way (as I mentioned yesterday, it can be done in 1-2 seconds) Please can you not just keep to the convention used on this list? The list is not here solely for your benefit, but that of others too. 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. Top posting does not make life more difficult, it does not make the post unreadable. It is a minor detail of no great consequence, so stop trying to make a federal case out of it. -- Tony Marston http://www.tonymarston.net http://www.radicore.org -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] Obeying the rules (was Simple login form with cookies)
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 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 live in a real life Stepford Wives existence. Actually, I found it quite amusing to watch Tony paint himself into a corner and try to defend his indefensible position. He reminds me of a number of individuals, and not a few institutions, whose attitude is I've already made up my mind, don't try to confuse me with facts. Plus, it has been a timely and welcome diversion from other more pressing issues. Who needs the Comedy channel when we have this? It will be even more interesting to see if anyone on this list pays any attention to him in the future. Bob McConnell -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] Obeying the rules (was Simple login form with cookies)
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 live in a real life Stepford Wives existence. [Marc Hall - HallMarc Websites - http://www.hallmarcwebsites.com 610.446.3346] Marc: True, one of the things that makes life interesting are those who think outside the box, but for some of us the box is a bit less obvious and requires more thought. When someone wants to argue a point, the point should be worth arguing. This argument is akin to saying I don't like calling today 'Thursday' -- I think that's stupid! So, I'll call it 'MyDay' instead. While that would certainly be thinking outside the box, it would also not be worth debating. I wish my life was so simple that I could raise issue with things like this, but my life requires more cerebral windmills to tilt. One of the things I've learned in my over 60 years, is to pick the battles that are worth fighting and let other contentions pass. In the wise, beyond their years, words of the Beatles Let it be. Cheers, tedd -- --- http://sperling.com http://ancientstones.com http://earthstones.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] Obeying the rules (was Simple login form with cookies)
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 don't appreciate is that there are many of us who donate our time freely in an attempt to help others. We do this without any compensation nor profitable credit. We all come from various skill levels, diverse backgrounds, and each usually provide an unique solution and perspective to the problem presented. In short, what we have to say matters. What I offer is pretty basic as compared to the truly great ones on this list (i.e., Daniel, Stuart, Rob, et all). I feel privileged that my humble offerings are even permitted, but I think my contribution is to answer the more obvious questions thereby freeing the more knowledgeable to answer the more difficult ones. However, when I see a debate over such minor points, I can't help but note the waste of time and talent and thus the reason for my post. I just hope that the other contributors on this list fully understand the value of their contribution and spend their time and talents where they are appreciated and not waste them on such nonsense. Cheers, tedd -- --- http://sperling.com http://ancientstones.com http://earthstones.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Obeying the rules (was Simple login form with cookies)
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, teddtedd.sperl...@gmail.com 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 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 don't appreciate is that there are many of us who donate our time freely in an attempt to help others. We do this without any compensation nor profitable credit. We all come from various skill levels, diverse backgrounds, and each usually provide an unique solution and perspective to the problem presented. In short, what we have to say matters. What I offer is pretty basic as compared to the truly great ones on this list (i.e., Daniel, Stuart, Rob, et all). I feel privileged that my humble offerings are even permitted, but I think my contribution is to answer the more obvious questions thereby freeing the more knowledgeable to answer the more difficult ones. However, when I see a debate over such minor points, I can't help but note the waste of time and talent and thus the reason for my post. I just hope that the other contributors on this list fully understand the value of their contribution and spend their time and talents where they are appreciated and not waste them on such nonsense. Cheers, tedd -- --- http://sperling.com http://ancientstones.com http://earthstones.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- Martin Scotta -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Obeying the rules (was Simple login form with cookies)
Bob McConnell r...@cbord.com 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 wasted on this subject. Seems to me everyone needs to take a deep breath and a step back. 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 live in a real life Stepford Wives existence. Actually, I found it quite amusing to watch Tony paint himself into a corner and try to defend his indefensible position. Top posting is not indefensible as it has been used in other newsgroups without problems for over a decade. It wasn't wrong then, so why is it wrong now? He reminds me of a number of individuals, and not a few institutions, whose attitude is I've already made up my mind, don't try to confuse me with facts. The fact is that some people care about top posting while others do not. Some people are passionately against it while others couldn't give a toss. I personally don't give a toss, but I do see red when some jumped up pipsqueak tries to force me to conform to his vision of what is right and wrong. -- Tony Marston http://www.tonymarston.net http://www.radicore.org Plus, it has been a timely and welcome diversion from other more pressing issues. Who needs the Comedy channel when we have this? It will be even more interesting to see if anyone on this list pays any attention to him in the future. Bob McConnell -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Obeying the rules (was Simple login form with cookies)
tedd tedd.sperl...@gmail.com 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 life interesting and occasionally help us find something new. I would hate to live in a real life Stepford Wives existence. [Marc Hall - HallMarc Websites - http://www.hallmarcwebsites.com 610.446.3346] Marc: True, one of the things that makes life interesting are those who think outside the box, but for some of us the box is a bit less obvious and requires more thought. When someone wants to argue a point, the point should be worth arguing. This argument is akin to saying I don't like calling today 'Thursday' -- I think that's stupid! So, I'll call it 'MyDay' instead. While that would certainly be thinking outside the box, it would also not be worth debating. Yet another fatuous argument. Thursday has never been called Myday, so I would never propose such a thing. Top posting is different for the simple reason that it existed in other newsgroups long before this group started, and I object to being forced to change my posting methods on nothing more than a whim. -- Tony Marston http://www.tonymarston.net http://www.radicore.org I wish my life was so simple that I could raise issue with things like this, but my life requires more cerebral windmills to tilt. One of the things I've learned in my over 60 years, is to pick the battles that are worth fighting and let other contentions pass. In the wise, beyond their years, words of the Beatles Let it be. Cheers, tedd -- --- http://sperling.com http://ancientstones.com http://earthstones.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Obeying the rules (was Simple login form with cookies)
On Thursday 09 July 2009 20:50:59 Tony Marston wrote: Bob McConnell r...@cbord.com 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 wasted on this subject. Seems to me everyone needs to take a deep breath and a step back. 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 live in a real life Stepford Wives existence. Actually, I found it quite amusing to watch Tony paint himself into a corner and try to defend his indefensible position. Top posting is not indefensible as it has been used in other newsgroups without problems for over a decade. It wasn't wrong then, so why is it wrong now? He reminds me of a number of individuals, and not a few institutions, whose attitude is I've already made up my mind, don't try to confuse me with facts. The fact is that some people care about top posting while others do not. Some people are passionately against it while others couldn't give a toss. I personally don't give a toss, but I do see red when some jumped up pipsqueak tries to force me to conform to his vision of what is right and wrong. -- Tony Marston http://www.tonymarston.net http://www.radicore.org Plus, it has been a timely and welcome diversion from other more pressing issues. Who needs the Comedy channel when we have this? It will be even more interesting to see if anyone on this list pays any attention to him in the future. Bob McConnell It's not a matter of it was OK then, why not now, but a matter of it was OK *there* but not *here* very different I think you'll find. It's just standard social protocol on the Internet to go with the rules of the area you're in. If the rules of the list say no top-posting, why do you have to go against them. They are there for a reason, but you seem to blatantly ignore anyone who mentions the reasons, and latch on to things you feel you can argue against. 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 members than you on the list, and yet they find no problem following the rules that make this list easy for everyone to use. -- Thanks, Ash http://www.ashleysheridan.co.uk -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Obeying the rules (was Simple login form with cookies)
Still Learnin' ssski...@gmail.com 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 force everybody to conform to somebody's idea of perfection. 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. It's about clarity. So that the threaded archives are intelligible instead of jumbled. So that the post-by-post emails properly read from top to bottom. That's why other newsgroups allow top posting because the response in each post is at the top, where the newsreader starts, so you don't have to scroll over the text of the previous post to get to the important stuff. If a thread contained 30 posts would you really want the text of all 30 contained in the same message? How difficult would it be to separate one message from another? It's also about courtesy, not dropping dingleberries dozens or scores of lines long (and some of you others could stand to snip the extraneous even though you do properly bottom-post). So what are the rules about snipping then? -- Tony Marston http://www.tonymarston.net http://www.radicore.org Like has been said: if you don't play by the playground rules, don't be surprised if the other kids don't want to play with you. SL -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Obeying the rules (was Simple login form with cookies)
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 position, on this list? It's about clarity. So that the threaded archives are intelligible instead of jumbled. So that the post-by-post emails properly read from top to bottom. That's why other newsgroups allow top posting because the response in each post is at the top, where the newsreader starts, so you don't have to scroll over the text of the previous post to get to the important stuff. This is not a newsgroup. It is an email list that archives emails on the php.net web site, and has a newsgroup subscribed. If a thread contained 30 posts would you really want the text of all 30 contained in the same message? How difficult would it be to separate one message from another? What broken program (or script) puts the text of 30 posts into the same post? You seem to be grasping at straws. It's also about courtesy, not dropping dingleberries dozens or scores of lines long (and some of you others could stand to snip the extraneous even though you do properly bottom-post). So what are the rules about snipping then? You're the 30-year professional, figure them out. I'm Still Learnin' ps- bye. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Obeying the rules (was Simple login form with cookies)
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 come to terms with my preference toward glittery and sparkly shoes. Unfortunately my choice of stockings does not bode well for this preference. But I will be damned if the rules of fashion will dictate what does and does not go well together. So I am off to fight a different and winnable battle. I love you all so very much. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Obeying the rules (was Simple login form with cookies)
On Thu, Jul 9, 2009 at 4:13 PM, Tony Marstont...@marston-home.demon.co.uk 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 been struggling with defining my sexual identity and trying to come to terms with my preference toward glittery and sparkly shoes. Unfortunately my choice of stockings does not bode Fishnet?? well for this preference. But I will be damned if the rules of fashion will dictate what does and does not go well together. So I am off to fight a different and winnable battle. I love you all so very much. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- Bastien Cat, the other other white meat -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Obeying the rules (was Simple login form with cookies)
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 members than you on the list, and yet they find no problem following the rules that make this list easy for everyone to use. -- Thanks, Ash So someone played the age card and that woke me up... Let's see -- the last 30 years on mailing lists? Okay I remember the last 30 years, I had here just a second ago. Ahhh, there they are -- 30 years would have taken it back to 1979, right? Subtract the nine, carry the one, three from ten -- yep 1979. In 1979, I was attending MSU working on my Masters when Magic Johnson lead the MSU team to the AACP championship, or something of that nature. Forgive me, I don't follow baseball. I had a classmate ask me about Magic Johnson and I said that I never saw him preform -- I thought he was a David Copperfield type. In any event, I was using an Apple ][ computer to write my thesis and that was unheard of at that time. In fact, the staff in the thesis office actually came out and marvelled at my thesis submission in original manuscript that did not contain any photocopies or even white-outs. Mine was the first original manuscript thesis ever submitted at MSU (or so they told me). So, that was before the common word processor. 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 say it's a bunch of bull. But what do I know -- I'm just an old fart who tries to follow the rules. Now back to sleep z. Cheers, tedd -- --- http://sperling.com http://ancientstones.com http://earthstones.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Obeying the rules (was Simple login form with cookies)
On Thu, Jul 9, 2009 at 16:55, teddtedd.sperl...@gmail.com 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 say it's a bunch of bull. Actually, in Tony's defense, I don't think he ever said anything about being on mailing lists or using email for thirty years, only that he's been involved in computers and programming for that length of time. Which, much like yourself, is believable. -- /Daniel P. Brown daniel.br...@parasane.net || danbr...@php.net http://www.parasane.net/ || http://www.pilotpig.net/ Check out our great hosting and dedicated server deals at http://twitter.com/pilotpig -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Obeying the rules (was Simple login form with cookies)
On Thu, Jul 9, 2009 at 16:47, Bastien Koertphps...@gmail.com 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 trickery afoot, and it's best to ignore this rather than encourage it. Better to keep a nice, clean, above-the-belt fight. Pipsqueak out. -- /Daniel P. Brown daniel.br...@parasane.net || danbr...@php.net http://www.parasane.net/ || http://www.pilotpig.net/ Check out our great hosting and dedicated server deals at http://twitter.com/pilotpig -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Obeying the rules (was Simple login form with cookies)
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 t...@marston-home.demon.co.uk wrote in message news:e1mp00d-0005iz...@mail.caracol-cream.com... 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 come to terms with my preference toward glittery and sparkly shoes. Unfortunately my choice of stockings does not bode well for this preference. But I will be damned if the rules of fashion will dictate what does and does not go well together. So I am off to fight a different and winnable battle. I love you all so very much. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Obeying the rules (was Simple login form with cookies)
Still Learnin' ssski...@gmail.com 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. One of us clearly manifests a reality gap. How many people do you have siding with your position, on this list? It's about clarity. So that the threaded archives are intelligible instead of jumbled. So that the post-by-post emails properly read from top to bottom. That's why other newsgroups allow top posting because the response in each post is at the top, where the newsreader starts, so you don't have to scroll over the text of the previous post to get to the important stuff. This is not a newsgroup. It is an email list that archives emails on the php.net web site, and has a newsgroup subscribed. It *is* a newsgroup because I can access it through my newsreader. I can recieve copies of posts in my email client, but I can only post using my newsreader. If a thread contained 30 posts would you really want the text of all 30 contained in the same message? How difficult would it be to separate one message from another? What broken program (or script) puts the text of 30 posts into the same post? You seem to be grasping at straws. When you hit reply in your newsreader what happens? It creates a new post with the original message quoted in its entirety. Some newsreadrs then posiition the cursor at the top ready for your reply, while others position it at the bottom. If this happens 30 times then the last post contains copies of the all the previous 29 messages. It's also about courtesy, not dropping dingleberries dozens or scores of lines long (and some of you others could stand to snip the extraneous even though you do properly bottom-post). So what are the rules about snipping then? You're the 30-year professional, figure them out. I'm Still Learnin' Why should I have to figure it out? Surely some little Hitler has created a rule so that the rest of us sheep don't have to think for ourselves? -- Tony Marston http://www.tonymarston.net http://www.radicore.org -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Obeying the rules (was Simple login form with cookies)
On Thursday 09 July 2009 22:00:14 Daniel Brown wrote: On Thu, Jul 9, 2009 at 16:47, Bastien Koertphps...@gmail.com 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 trickery afoot, and it's best to ignore this rather than encourage it. Better to keep a nice, clean, above-the-belt fight. Pipsqueak out. -- /Daniel P. Brown daniel.br...@parasane.net || danbr...@php.net http://www.parasane.net/ || http://www.pilotpig.net/ Check out our great hosting and dedicated server deals at http://twitter.com/pilotpig Yeah, I thought so too. The headers don't match with his other emails, but really it was the apology which gave it away! -- Thanks, Ash http://www.ashleysheridan.co.uk -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] Obeying the rules (was Simple login form with cookies)
-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 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 members than you on the list, and yet they find no problem following the rules that make this list easy for everyone to use. -- Thanks, Ash So someone played the age card and that woke me up... Let's see -- the last 30 years on mailing lists? Okay I remember the last 30 years, I had here just a second ago. Ahhh, there they are -- 30 years would have taken it back to 1979, right? Subtract the nine, carry the one, three from ten -- yep 1979. In 1979, I was attending MSU working on my Masters when Magic Johnson lead the MSU team to the AACP championship, or something of that nature. Forgive me, I don't follow baseball. I had a classmate ask me about Magic Johnson and I said that I never saw him preform -- I thought he was a David Copperfield type. In any event, I was using an Apple ][ computer to write my thesis and that was unheard of at that time. In fact, the staff in the thesis office actually came out and marvelled at my thesis submission in original manuscript that did not contain any photocopies or even white-outs. Mine was the first original manuscript thesis ever submitted at MSU (or so they told me). So, that was before the common word processor. 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 say it's a bunch of bull. But what do I know -- I'm just an old fart who tries to follow the rules. Now back to sleep z. Cheers, tedd -- --- http://sperling.com http://ancientstones.com http://earthstones.com I was whistling and wondering when someone would catch that obvious load of BS. And I'm running out of popcorn! [Marc Hall - HallMarc Websites - http://www.hallmarcwebsites.com 610.446.3346] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Obeying the rules (was Simple login form with cookies)
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 worked with many groups, and each group has had its own version the rules (aka guidelines or standards). When moving to a new group the new rules will always be different, and will sometimes contradict what you had before. Why is this? Why do some groups say do A instead of B while others say do B instead of A? Does it make a difference? The problem partially lies in the way in which the rules are created. It starts with some wise ass saying (1) Without rules there will be anarchy, so we must have rules. (2) There are no such things as bad rules. (3) Do not allow any choices. If there is a choice between A and B then choose one as the standard. It doesn't matter which one. (4) Everybody must be the same, nobody is allowed to be different. (5) The rules must be obeyed without question. (6) If a rule causes a problem then you must work around it, you cannot change the rule. Item (5) usually exists because the author of the rule cannot justify its existence. He just flipped a coin and it came down tails instead of heads, so that's it. Any moron can make rules like this. Some people just cannot understand that sometimes a rule was created for a certain set of circumstances, but if the circumstances change then the rule needs changing in order to keep up with the times. Because they do not understand why the rule was created in the first place, they do not see that it needs changing. They also do not have the intelligence to see how the rule might be changed to suit the new circumstances. I have fought against arbitrary and stupid rules for decades, and I will keep fighting till the day I die. If you have a problem with that, then so be it. Yea Tony... I'm with you all the way. but... I think we're fighting a losing battle... I recall some confrontations with parking rule enforcers - why can't you park in an area that normally is forbidden but when you park there in a situation where obviously and with common sense you will not be obstructing anyone or anything? You can't win that and then we have gone so far boyond such needless intolerance and stupidity that I can no longer detect our little planet throught all the muddied rules regulations one manifestation of utterly stupid and useless law, rule or whatever is the use of those little stickers on fruits and vegetables... you may know where the little thing comes from but the ways of contamination are so multitudinous that tracing the contamination is virtually impossible... did anyone ever find the person that laced those Tylenol pills so many years ago? ;-) -- Hervé Kempf: Pour sauver la planète, sortez du capitalisme. - Phil Jourdan --- p...@ptahhotep.com http://www.ptahhotep.com http://www.chiccantine.com/andypantry.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Suggestions of some good, simple file upload 'in progress' code?
At 1:46 PM -0600 4/22/09, scubak1w1 wrote: I am thinking that is where I am at... as you said, the user just needs to know that there computer is busy, hang on a second already! grin I like those icons - if I may be so bold though, and excuse the broadness of the question, are you / can you use some Javascript to display this as the file uploads? I am already using AJAX on the page/form so I guess I could add an icon to the page before I run the PHO to upload the file, yes? BUT I do appreciate all of the other suggestions, very muich - some weekend reading experimenting I am thinking... :-) There's really no need for javascript. Just direct the user to a page that provides the upload and have that page show the loading gif. Look, make it easy on yourself. I could have saved a week, or more, of my life by taking that approach when I first thought of the question What do I show the user while the file is uploading? But no, I went the complete route of setting up communication between the client and server to track the upload -- that's not easy because php has no client-side functionality and javascript is prohibited from accessing the file information you need on the users machine (security concerns). So, it can't be done easily. But in the end, users are like clients, there's no need to explain in detail what you are doing -- just make whatever it is work AND look good and everything will be okey-dokey by them. To prove my point, the next time you see a good looking web site, try running it through the W3C validator. (http://validator.w3.org). If clients were concerned about things being done right, there would be a lot more web sites validating. Cheers, tedd -- --- http://sperling.com http://ancientstones.com http://earthstones.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Suggestions of some good, simple file upload 'in progress' code?
At 9:28 PM -0600 4/21/09, scubak1w1 wrote: Hello, Can someone pass on some suggestions of some good, simple file upload 'in progress' code? After all is said, you can pick anything you want from here: http://webbytedd.com/bb/wait/ This is as simple as it gets for there is no simple solution. If you want a real-time upload progress bar, then you may find it too much effort for the small return it provides. Yoyu might want to take the easy way out like I did. Besides, what does a user expect anyway? They just want to know that something is happening and an animated gif works as well as anything else. Is it really important (or do they care) for them to know when 50% is uploaded? Cheers, tedd -- --- http://sperling.com http://ancientstones.com http://earthstones.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Suggestions of some good, simple file upload 'in progress' code?
tedd tedd.sperl...@gmail.com wrote in message news:p0624080ac614d6bf9...@[192.168.1.101]... At 9:28 PM -0600 4/21/09, scubak1w1 wrote: Hello, Can someone pass on some suggestions of some good, simple file upload 'in progress' code? After all is said, you can pick anything you want from here: http://webbytedd.com/bb/wait/ This is as simple as it gets for there is no simple solution. If you want a real-time upload progress bar, then you may find it too much effort for the small return it provides. Yoyu might want to take the easy way out like I did. Besides, what does a user expect anyway? They just want to know that something is happening and an animated gif works as well as anything else. Is it really important (or do they care) for them to know when 50% is uploaded? Thanks Tedd, I am thinking that is where I am at... as you said, the user just needs to know that there computer is busy, hang on a second already! grin I like those icons - if I may be so bold though, and excuse the broadness of the question, are you / can you use some Javascript to display this as the file uploads? I am already using AJAX on the page/form so I guess I could add an icon to the page before I run the PHO to upload the file, yes? BUT I do appreciate all of the other suggestions, very muich - some weekend reading experimenting I am thinking... :-) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Suggestions of some good, simple file upload 'in progress' code?
scubak1w1 sk...@spamcop.net wrote in message news:44.c6.33545.6747f...@pb1.pair.com... tedd tedd.sperl...@gmail.com wrote in message news:p0624080ac614d6bf9...@[192.168.1.101]... At 9:28 PM -0600 4/21/09, scubak1w1 wrote: Hello, Can someone pass on some suggestions of some good, simple file upload 'in progress' code? After all is said, you can pick anything you want from here: http://webbytedd.com/bb/wait/ This is as simple as it gets for there is no simple solution. [snip] How dumb am I? As you stated, 'we' just wanted the user to know the computer is up to something... So I just changed the cursor icon with some JS: document.body.style.cursor = 'wait'; and then when the file had uploaded document.body.style.cursor = 'auto'; rolls eyes at self -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Suggestions of some good, simple file upload 'in progress' code?
Hello, on 04/22/2009 04:46 PM scubak1w1 said the following: I am thinking that is where I am at... as you said, the user just needs to know that there computer is busy, hang on a second already! grin I like those icons - if I may be so bold though, and excuse the broadness of the question, are you / can you use some Javascript to display this as the file uploads? I am already using AJAX on the page/form so I guess I could add an icon to the page before I run the PHO to upload the file, yes? You may want to take a look at this forms class that comes with an upload progress plug-in. http://www.phpclasses.org/formsgeneration That plug-in sends an AJAX/COMET request when the form upload starts and the files are long enough, it shows a progress bar with some statistics like upload speed, transferred data, remaining time, etc.. Here you can see it working live: http://www.meta-language.net/forms-examples.html?example=test_upload_progress You may also want to watch this tutorial video: http://www.phpclasses.org/browse/video/1/package/1/section/plugin-upload-meter.html -- Regards, Manuel Lemos Find and post PHP jobs http://www.phpclasses.org/jobs/ PHP Classes - Free ready to use OOP components written in PHP http://www.phpclasses.org/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Suggestions of some good, simple file upload 'in progress' code?
Hello, Can someone pass on some suggestions of some good, simple file upload 'in progress' code? Maybe as simple as changing the cursor icon for the duration? I have am HTML form that gathers some data and allows for a file upload of up to 80Mb (on a secure site, and limited to *.zip files) - all works well, pretty simple stuff... smile ... input type=file name=new_module_zip_file id=file size=50/ ... {uses array_key_exists, various checks to make sure a file is selected, has a ZIP extension, etc) ... //store the $_FILES 'final' file name in a variable for later use... $_SESSION['final_uploaded_zip_file_name'] = $_FILES['new_module_zip_file']['name']; //DRAFT @ 04/06/09 -- change cursor icon whilst the file is uploading and/or use a progress bar //save the temp file that $_FILES creates to it's upload home, ready for the site manager to process move_uploaded_file($_FILES['new_module_zip_file']['tmp_name'],$default_upload_directory.$_SESSION['final_uploaded_zip_file_name']); ... The user can look in the the lower left, say, to see they upload progress (sic) that is part of the browser. BUT it would be nice to have some page specific visual prompt for the user, depending on their connection 80Mbs might take a while! grin As mentioned, even something as simple as changing the cursor to an hourglass for the duration might help... I have found a few examples of upload meters, but was looking for something simpler - and, to be frank, something more within the grasp of my current PHP coding abilities (or lack thereof!) *Thanks in advance*: GREG... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Re: =.='' what wrong ? just simple code, however error.
It works as expected on my PHP 5.2.4 LKSunny napsal(a): ? $credithold = 100; for($i=1;$i=1000;$i++){ $credithold -= 0.1; echo $creditholdbr /; } //i don't know why, when run this code, on 91.3 after expect is 91.2, however..91.2001 //who can help me ? and tell me why ? //Thank You. ? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Re: MCrypt not decrypting simple text
Ok, looks like I'm not getting much intrest here, can anyone recomend which newsgroup I should post this under? Is there a crypto group or anything of the like?: - Dan Dan [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I'm using MCrypt and I have two very simple functions. All I'm doing is giving the function some text and a password, it encrypts the text and saves it as a text file on the server. Then I at some later time run another php file which decrypts using the decrypt function given the text and the SAME password as the first time and all I get is garbage. What am I doing wrong? What do I need to change so that I can get this to work the way I described? function aes_128_encrypt($text,$password) { $size = mcrypt_get_iv_size(MCRYPT_RIJNDAEL_128, MCRYPT_MODE_CBC); $iv = mcrypt_create_iv($size, MCRYPT_DEV_RANDOM); $text .= chr(3).chr(3).chr(3); return bin2hex(mcrypt_encrypt(MCRYPT_RIJNDAEL_128, $password, $text, MCRYPT_MODE_ECB, $iv)); } // End of function and function aes_128_decrypt($encrypted_text,$password) { $size = mcrypt_get_iv_size(MCRYPT_RIJNDAEL_128, MCRYPT_MODE_CBC); $iv = mcrypt_create_iv($size, MCRYPT_DEV_RANDOM); return mcrypt_decrypt(MCRYPT_RIJNDAEL_128, $password, pack(H*, $encrypted_text), MCRYPT_MODE_ECB, $iv); } // End of function - Dan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Re: Please Help with simple Noob problem (Problem Solved)
Scott Bounds wrote: Hello all. I seem to be having a terrible tim ewith something that is so simple it makes me sick. I have a server running FC2. it has Apache 2.x.x on it and it came installed with php-4.x.x. Sorry I don't have the exact versions but fatigue and frustration has taken over. I can get them if you really need them. Here's the major problem. When I try and view a simple php page in the browser, it doesn't display anything that has to do with the php tags. By that I mean it won't recognize the php directives (I guess). I made a simple page (the infamous phpinfo () page) right out of the books. Saved it as test.php just like it said. Made sure that apache is running and browsed to the page. Nothing, no errors, no nothing. I have made up some other pages (mostly from some php books - real simple ones) to view and they all display the same action. Now when these machines (I actually have a couple of these servers and they all act the same) were installed, it was from FC2 CD's with the webserver full package. There were all kinds of php files installed, etc. In my httpd.conf file it calls the php.ini file, etc. So it seems to be all there. Can anyone out there help me figure out how to make this work? I would be truly indebted to you, put you on my Christmas card list, etc. Thanks in advance to all of you kind and wonderful people. Scott Thanks everyone for your help. I got a reply from Janet who informed me that I couldn't access the page from File/Open/test.php. I actually had to do the http://localhost/test.php for the browser to present the php. it presented correctly then. I am sorry, but I am a noob here. Thanks for all of your wonderful help. I apologize for not being more experienced. I should have known this. But there is a bright spot: I won't ever forget this point! Thanks again! Scott -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] looking for a short/simple kind of app...
hi... i'm looking for a short/simple kind of app to allow me to play around with some different tbls.. basically.. i have a couple of tbls where i have a top level tbls, and a few subordinate child tbls parent child child i'd like to be able to add/modify/delete items from the various tbls.. i'd also like to be able to display a kind of breadcrumb across the top of the page allowing me to get back to the selected item/tbl... i'm willing to bet that there are numerous examples of this kind of app. i'm simply hoping that someone can point me to one that i can play around with... thanks -bruce -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Re: Simple blog software... Simple but clean code... suggestions?
Micky Hulse schrieb: Hi, I am looking for a very simple blog software... I would prefer something that functions well with CSS and is standards compliant. I am getting tired of setting-up the bigger full-featured blogging packages for small/quick/simple sites. It would be nice to know what others people prefer. TIA. :) Cheers, Micky Well if you have that often this case, i would prefer you code one for yourself. Imho the best way :) Barry -- Smileys rule (cX.x)C --o(^_^o) Dance for me! ^(^_^)o (o^_^)o o(^_^)^ o(^_^o) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Re: Simple blog software... Simple but clean code... suggestions?
Barry wrote: Well if you have that often this case, i would prefer you code one for yourself. Oh, for sure. I completely agree... For the longest time (i.e. the college years) I was against using other peoples blog software or scripts... I would have never learned anything about PHP if it was not for my choice to take the long route(s) and program what I could myself. Hehe, does that make sense? Lol. Now-a-days (i.e. the starving freelance multimedia designer years), when I am pressed for time, I have no other choice than to bite the bullet and install something like (for example) Expression Engine. Not sure where I am going with this. Lol, thanks for the response though, I really appreciate the motivation. Cheers, Micky -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Re: Simple blog software... Simple but clean code... suggestions?
On Thu, June 15, 2006 2:17 pm, Micky Hulse wrote: Barry wrote: Well if you have that often this case, i would prefer you code one for yourself. Oh, for sure. I completely agree... For the longest time (i.e. the college years) I was against using other peoples blog software or scripts... I would have never learned anything about PHP if it was not for my choice to take the long route(s) and program what I could myself. Hehe, does that make sense? Lol. Now-a-days (i.e. the starving freelance multimedia designer years), when I am pressed for time, I have no other choice than to bite the bullet and install something like (for example) Expression Engine. Not sure where I am going with this. Lol, thanks for the response though, I really appreciate the motivation. Anybody who writes a decent blog system that everybody can use is then flooded with a zillion Feature Requests and, ultimately, you end up with Bloated Blog. I do not forsee this problem going away. Ditto for forums and shopping carts. -- Like Music? http://l-i-e.com/artists.htm -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Can't even make a simple test RSS feed
On Fri, June 24, 2005 12:23 pm, Brian Dunning said: What am I doing wrong? This doesn't work. The browser does not even load the page, no error or anything: ?php echo '?xml version=1.0?rss version=2.0channel'; echo 'item'; echo 'titlehdfghdf/title'; echo 'descriptiondfghdfh/description'; echo 'linkhttp://somelink/link'; echo '/item'; echo '/channel/rss'; ? Now that you've got the browsers fooled with a .rss extension, go back and rip out all those silly echo statemnts :-) More seriously, unless this was just a test to make sure PHP was working you really don't even need PHP for 90% of what you typed... :-) I'm assuing you'll actually put more complex PHP code in there now, but I couldn't resist. More seriously, you probably should have some embedded newlines in there, even for the silly example that it is. As it stands now, your XML is one giant long line. Maybe XML parsers don't care, but the people who have to read your script output *DO* care. Take care that your PHP output is readable, as well as your PHP source. Your PHP output *IS* source, or it will be to somebody, somewhere, someday, if your site gets any traffic at all. -- Like Music? http://l-i-e.com/artists.htm -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Can't even make a simple test RSS feed
What am I doing wrong? This doesn't work. The browser does not even load the page, no error or anything: ?php echo '?xml version=1.0?rss version=2.0channel'; echo 'item'; echo 'titlehdfghdf/title'; echo 'descriptiondfghdfh/description'; echo 'linkhttp://somelink/link'; echo '/item'; echo '/channel/rss'; ? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Can't even make a simple test RSS feed
go view-source in your browser. Some browsers will not show the xml all though it is in the source On 6/24/05, Brian Dunning [EMAIL PROTECTED] wrote: What am I doing wrong? This doesn't work. The browser does not even load the page, no error or anything: ?php echo '?xml version=1.0?rss version=2.0channel'; echo 'item'; echo 'titlehdfghdf/title'; echo 'descriptiondfghdfh/description'; echo 'linkhttp://somelink/link'; echo '/item'; echo '/channel/rss'; ? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Can't even make a simple test RSS feed
I'm ahead of you there - that's not the problem. IE6 just acts like I didn't request a page. Safari returns a “unknown error” (NSURLErrorDomain:-1). -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Can't even make a simple test RSS feed
On 6/24/05, Brian Dunning [EMAIL PROTECTED] wrote: What am I doing wrong? This doesn't work. The browser does not even load the page, no error or anything: The script looks fine and executed as expected on my machine. Try executing it from the command-line. Often if nothing loads in the browser, it is an error causing PHP to not send anything to the web server, even its normal errors. If you are using IIS it might also be the ISAPI module which has been notorious for stability. Restarting the Web Publishing Service sometimes helps. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Can't even make a simple test RSS feed
Well, I don't know if I have the solution, but when the page has the ..php file extension it doesn't work. But when it has the .rss file extension, it works. It's the workaround I found. Safari doesn't return an error now. I've tested the script under MacOSX 10.4.1 with Apache 2.0.54 and PHP 5.04. Hope this will help you. On 6/24/05, Brian Dunning [EMAIL PROTECTED] wrote: I'm ahead of you there - that's not the problem. IE6 just acts like I didn't request a page. Safari returns a unknown error (NSURLErrorDomain:-1). -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Arrays not recognized in Simple XML Objects (using print_r)
hi! i'm trying to use the simple_xml functions to get an arrray of data from a sample xml file. here's my sample_data.xml ?xml version=1.0 encoding=ISO-8859-1? sample_data first_names first_nameamit/first_name first_nameamar/first_name /first_names /sample_data the php file ?php $sample_data = simplexml_load_file(sample_data.xml); print_r($sample_data); print_r($sample_data-first_names); print_r($sample_data-first_names-first_name); ? output of $ php test_xml_1.php SimpleXMLElement Object ( [first_names] = SimpleXMLElement Object ( [first_name] = Array ( [0] = amit [1] = amar ) ) ) SimpleXMLElement Object ( [first_name] = Array ( [0] = amit [1] = amar ) ) SimpleXMLElement Object ( [0] = amit ) The above output shows $sample_data-first_names-first_name as an ARRAY in the first 2 print_r 's however when a print_r is run on itself it shows it as a SimpleXMLElementObject. Question is why the last print_r gives different information compared to the other 2. I also tried running $key = array_rand($sample_data-first_names-first_name) and it gives a warning message Warning: array_rand(): First argument has to be an array in /home/yvb/work/practice/php/XML/foo.php on line 16 any clue how do i use the $sample_data-first_names-first_name as an array ? thx. yashesh. -- go pre http://www2.localaccess.com/rlalonde/pre.htm -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Re: [Fwd: [PHP-DEV] Simple idea for ERP - please help]
Jochem Maas wrote: anyone fancy spoonfeeding this guy your lifes work? No not really. Then again PHP isn't my life's work :) talk about a snowballs chance in hell of getting help! Morty, if you read this: bugging internals with this kind of request will most probably earn your mail a place at /dev/null. Besides which your first 'stage' Agreed... he chose a poor, poor way to go about getting help. Morty if you're now reading *this* message be sure to check out the first link in my signature as it is clear that you are a newbie. consists of a complete groupware,mail,document-management system, people on mailing lists are not here to design, build and implement complete systems for you! And why bother asking the developers of php if they think php is a bad choice to build an 'intranet' app with - I can just hear Zeev/Andi/Rasmus/Wez/A.N.Other harking PHP totally sucks for web development, I recommend writing it in C#/.NET ?? Also agreed... although he probably didn't intend it to come out that way, it was quite a rude question to ask. All of this being said: believe it or not there actually *are* some open source ERP apps out there. I even know of one that is written in PHP. While it looks quite promising it is nowhere near completion. Perhaps if Morty is truly interested in an open source ERP app he might decide to help out that project? Details to possibly follow... -- Teach a man to fish... NEW? | http://www.catb.org/~esr/faqs/smart-questions.html STFA | http://marc.theaimsgroup.com/?l=php-generalw=2 STFM | http://php.net/manual/en/index.php STFW | http://www.google.com/search?q=php LAZY | http://mycroft.mozdev.org/download.html?name=PHPsubmitform=Find+search+plugins signature.asc Description: OpenPGP digital signature
[PHP] RE: [SOLVED][PHP] Re: simple mail() question
Hi Manuel, That was *exactly* the issue. I can't express my gratitude for the assistance enough -Adam Original Message Follows From: Manuel Lemos [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: [PHP] Re: simple mail() question Date: Sat, 13 Nov 2004 19:21:18 -0200 Hello, On 11/13/2004 04:28 PM, Adam Fleming wrote: Hello All, I have a simple mail() question, and I hope a hero can shed some light. I can't understand why my messages are being encoded, and extra headers are being added, *before* the message is sent through sendmail. It seems that you have mbstring.func_overload set to an odd number making mail be overloaded by mb_send_mail. Actually the way those messages go they will be blocked by most modern spam filters. So, I would say mb_send_mail is buggy, meaning do not use it. -- Regards, Manuel Lemos PHP Classes - Free ready to use OOP components written in PHP http://www.phpclasses.org/ PHP Reviews - Reviews of PHP books and other products http://www.phpclasses.org/reviews/ Metastorage - Data object relational mapping layer generator http://www.meta-language.net/metastorage.html -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] PHP, over javascript code simple \n
Im having problems. Because my javascript is inside a PHP code. Now below are 1 line code of a print function that display this on the html header. i must put \n after the Firstname. But PHP actually reads \n so when i view it on a browser the js code moves down. Which is wrong, because it wont work anymore.. what i want is js should use the \n instead. is there any alternative for \n? so it can display properly on php? ?php print( if (document.rpcjs_louie.ColCustName.value == \\) { walangfield += \Missing: Firstname\n\; } ); ? -- Louie Miranda http://www.axishift.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] PHP, over javascript code simple \n
* Thus wrote Louie Miranda: Im having problems. Because my javascript is inside a PHP code. Now below are 1 line code of a print function that display this on the html header. i must put \n after the Firstname. But PHP actually reads \n so when i view it on a browser the js code moves down. Which is wrong, because it wont work anymore.. what i want is js should use the \n instead. is there any alternative for \n? so it can display properly on php? ?php print( if (document.rpcjs_louie.ColCustName.value == \\) { walangfield += \Missing: Firstname\n\; } ); ? I'd only print() javascript only if absolutely necessary. otherwise simply break out of php: ?php // php code ? if (document.rpcjs_louie.ColCustName.value == ) { walangfield += Missing: Firstname\n; } ?php ? Curt -- First, let me assure you that this is not one of those shady pyramid schemes you've been hearing about. No, sir. Our model is the trapezoid! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] PHP Basic's Problem with a simple script.
Hi ! I am an unexperienced PHP newbie, and a have a Problem: The following script is a sample from a PHP tutorial, but it does not work on my machine. I use PHP Ver. 4.1.2 with apache 1.3.26 on a debian box. In php.ini, safe_mode is off, and register_globals is on. The script from the mentioned tutorial (http://www.galileocomputing.de/openbook/php4/kapd.htm) should be a sample for a php-file which invokes itself; This does not work on my machine; I can enter names and submit them as often I like, but the statement from the if-block is never executed, i.e. the output You have entered the following name: ... is never displayed. Here is the excerpt from this script: -- html head ?php if ($dispatched) { echo You have entered the following; echo Name: $vn $nnp; } ? /head body Please enter a Name and send the form: form action = ud12.php method = post input name = nn 2nd Namep input name = vn 1st Namep input type = submit name = dispatched input type = reset /form /body /html I assume the reason is in global or general settings, but I don't know them. Does anybody know what to do ? best regards chrm
RE: [PHP] PHP Basic's Problem with a simple script.
[snip] html head ?php if ($dispatched) { echo You have entered the following; echo Name: $vn $nnp; } ? /head body Please enter a Name and send the form: form action = ud12.php method = post input name = nn 2nd Namep input name = vn 1st Namep input type = submit name = dispatched input type = reset /form /body /html [/snip] put post in all caps POST. try changing $vn to $_POST['vn'] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] PHP Basic's Problem with a simple script.
From: php-general [EMAIL PROTECTED] I use PHP Ver. 4.1.2 with apache 1.3.26 on a debian box. In php.ini, safe_mode is off, and register_globals is on. I can enter names and submit them as often I like, but the statement from the if-block is never executed, i.e. the output You have entered the following name: ... is never displayed. ?php if ($dispatched) { echo You have entered the following; echo Name: $vn $nnp; } ? [snip] input type = submit name = dispatched Are you clicking on the submit button to submit the form or pressing enter? If clicking on the button and this still isn't working, then register globals is OFF. Whoever told you it was ON is a damn liar and should be whipped and thrown in the brig for a couple weeks to teach them a lesson!!! If php.ini says it's ON, then you're looking at the wrong php.ini or PHP is reading another one (or using defaults). Look at the first block of a phpinfo() page: ?php phpinfo(); ? to see where PHP is reading it's php.ini from or where it's expecting it. ---John Holmes... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] PHP Basic's Problem with a simple script.
This works perfectly fine for me, as is. fyi -- It doesn't matter what case post or get are in the code, the global _GET and _POST will be populated properly. - Original Message - From: php-general [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, June 01, 2004 11:24 AM Subject: [PHP] PHP Basic's Problem with a simple script. Hi ! I am an unexperienced PHP newbie, and a have a Problem: The following script is a sample from a PHP tutorial, but it does not work on my machine. I use PHP Ver. 4.1.2 with apache 1.3.26 on a debian box. In php.ini, safe_mode is off, and register_globals is on. The script from the mentioned tutorial (http://www.galileocomputing.de/openbook/php4/kapd.htm) should be a sample for a php-file which invokes itself; This does not work on my machine; I can enter names and submit them as often I like, but the statement from the if-block is never executed, i.e. the output You have entered the following name: ... is never displayed. Here is the excerpt from this script: -- html head ?php if ($dispatched) { echo You have entered the following; echo Name: $vn $nnp; } ? /head body Please enter a Name and send the form: form action = ud12.php method = post input name = nn 2nd Namep input name = vn 1st Namep input type = submit name = dispatched input type = reset /form /body /html I assume the reason is in global or general settings, but I don't know them. Does anybody know what to do ? best regards chrm -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] PHP Basic's Problem with a simple script.
--- php-general [EMAIL PROTECTED] wrote: In php.ini, safe_mode is off, and register_globals is on. [snip] You have entered the following name: ... is never displayed. [snip] echo You have entered the following; echo Name: $vn $nnp; I guess you found a php.ini somewhere and saw that register_globals was on? I seriously doubt your findings (unless I overlooked a typo regarding a variable name or something), but please add this code to be sure: echo 'register_globals [' . ini_get('register_globals') . ']'; Hope that helps. Chris = Chris Shiflett - http://shiflett.org/ PHP Security - O'Reilly Coming Fall 2004 HTTP Developer's Handbook - Sams http://httphandbook.org/ PHP Community Site http://phpcommunity.org/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] General Function usage question (simple)
On Sat, 2004-02-14 at 02:31, Dave Carrera wrote: My question is what do or where do or why are the $var1 and or $var2 included inside the brackets of a function. What do they do ? Why are they in there ? And how are they used within an application ? A good place to start reading about functions is in the php manual[1]. In short, functions are blocks of code that achieve a particular purpose, or function. Arguments[2] are used with functions to pass information, or variables, to these blocks of code. Generally the arguments are used or manipulated by the function. Functions may pass back, or return[3], information as well. Here are some sample functions, function calls, and output for context. Steps are separated as much as possible for clarity: // No arguments function echoHelloWorld() { echo Hello World\n; } echoHelloWorld(); // Output: Hello World // Has arguments, uses data. function printPlusOne($number) { $number = $number + 1; echo $number . \n; } printPlusOne(2); // Output: 3 // Has arguments, manipulates and returns data. function doubleNumber($number) { $number = $number * 2; return $number; } $value = doubleNumber(10); echo $value . \n; // Output: 20 Good Luck, Adam [1] http://www.php.net/functions [2] http://www.php.net/functions.arguments [3] http://us2.php.net/functions.returning-values -- Adam Bregenzer [EMAIL PROTECTED] http://adam.bregenzer.net/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] General Function usage question (simple)
Hi List, Here is an easy one for you :-) --- Example1 Function --- Function MyTestFunction(){ // do something here } --- Example2 Function --- Function MyTestFunction($var1,$var2){ // do something here } My question is what do or where do or why are the $var1 and or $var2 included inside the brackets of a function. What do they do ? Why are they in there ? And how are they used within an application ? I am very sorry for the basic question but I am new to the world of functions. Thank you in advance for any explanations, help or explanatory urls that you may impart. Dave C --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.585 / Virus Database: 370 - Release Date: 11/02/2004 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] General Function usage question (simple)
On Saturday 14 February 2004 15:31, Dave Carrera wrote: Here is an easy one for you :-) Indeed. --- Example1 Function --- Function MyTestFunction(){ // do something here } --- Example2 Function --- Function MyTestFunction($var1,$var2){ // do something here } My question is what do or where do or why are the $var1 and or $var2 included inside the brackets of a function. What do they do ? Why are they in there ? And how are they used within an application ? I am very sorry for the basic question but I am new to the world of functions. I think you should study thoroughly the Language Reference section of the manual and in particular the chapter Functions. -- Jason Wong - Gremlins Associates - www.gremlins.biz Open Source Software Systems Integrators * Web Design Hosting * Internet Intranet Applications Development * -- Search the list archives before you post http://marc.theaimsgroup.com/?l=php-general -- /* He hath eaten me out of house and home. -- William Shakespeare, Henry IV */ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] no response from a simple php/mysql code
Hi, all, I'm a total newbie to php and just couldn't make the following php file(grabbed at awtrey.com, basic php/mysql code) running at http://weiwang.freeshell.org/guest.php I've read some php tutorials but I think I must've missed a very fundamental point that led to the failure of this code. I'd highly appreciate it if anyone could drop me a line with any advice. Many thanks, Wei Wang ? /* PHP Guestbook 1.1 Written by Tony Awtrey Anthony Awtrey Consulting See http://www.awtrey.com/support/dbeweb/ for more information 1.1 - Oct. 20, 1999 - changed the SQL statement that reads data back out of the database to reverse the order putting the newest entries at the top and limiting the total displayed by default to 20. Added the ability to get the complete list by appending the URL with '?complete=1'. Added the code and additional query to count and list the total number of entries and included a link to the complete list. 1.0 - Initial release This is the SQL statement to create the database required for this application. CREATE TABLE guests ( guest_id int(4) unsigned zerofill DEFAULT '' NOT NULL auto_increment, guest_name varchar(50), guest_email varchar(50), guest_time timestamp(14), guest_message text, PRIMARY KEY (guest_id) ); */ // This checks to see if we need to add another guestbook entry. if (($REQUEST_METHOD=='POST')) { // This loop removed dangerous characters from the posted data // and puts backslashes in front of characters that might cause // problems in the database. for(reset($HTTP_POST_VARS); $key=key($HTTP_POST_VARS); next($HTTP_POST_VARS)) { $this = addslashes($HTTP_POST_VARS[$key]); $this = strtr($this, , ); $this = strtr($this, , ); $this = strtr($this, |, ); $$key = $this; } // This will catch if someone is trying to submit a blank // or incomplete form. if ($name $email $message ) { // This is the meat of the query that updates the guests table $query = INSERT INTO guests ; $query .= (guest_id, guest_name, ; $query .= guest_email, guest_time, guest_message) ; $query .= values(,'$name','$email',NULL,'$message'); mysql_pconnect(ol.freeshell.org,weiwang,password) or die(Unable to connect to SQL server); mysql_select_db(weiwang) or die(Unable to select database); mysql_query($query) or die(Insert Failed!); echo pHello World/p; //die(after query); } else { // If they didn't include all the required fields set a variable // and keep going. $notall = 1; } } ? !-- Start Page -- HTML HEAD TITLEAdd A Message/TITLE /HEAD BODY BGCOLOR=white H1Add a Message/H1 !-- Let them know that they have to fill in all the blanks -- ? if ($notall == 1) { ? PFONT COLOR=redPlease answer all fields/FONT/P ? } ? !-- The bits of PHP in the form allow the data that was already input to be placed back in the form if it is filled out incompletely -- FORM METHOD=post ACTION=guest.php PRE Your Name: INPUT TYPE=text NAME=name SIZE=20 MAXLENGTH=50 VALUE=? echo $name; ? Your Email: INPUT TYPE=text NAME=email SIZE=20 MAXLENGTH=50 VALUE=? echo $email; ? Enter Message: TEXTAREA NAME=message COLS=40 ROWS=8 WRAP=Virtual ? echo $message; ? /TEXTAREA INPUT TYPE=submit VALUE=Add /PRE /FORM HR ? // This is where we connect to the database for reading. mysql_pconnect(ol.freeshell.org,weiwang,password) or die(Unable to connect to SQL server); mysql_select_db(weiwang) or die(Unable to select database); // This is where we count the number of entries. $query = SELECT COUNT(*) FROM guests; $numguests = mysql_query($query) or die(Select Failed!); $numguest = mysql_fetch_array($numguests); ? !-- This is where we report the total messages. -- P A HREF=guest.php?complete=1? echo $numguest[0]; ? people/A have left me a message. /P ? // This is where we decide to get all the entries or just the last 20. // This variable is set by just adding a '?complete=1' after the URL. if ($complete == 1) { $query = SELECT * FROM guests ORDER BY guest_time DESC; } else { $query = SELECT * FROM guests ORDER BY guest_time DESC LIMIT 20; } $guests =
[PHP] John-Re: [PHP] Re: Simple Array question (conclusion)
Hey John, I guess you are right, I do rely on this list quite a bit but am not the only one. Am learning by my mistakes though and finding solutions...they may not be the best solutions but they still work, everyone has to learn. Thanks for replying to the question though. And i didnt know about the array_values thingsee? the more you reply to me the more i learn :-D Cheers, -Ryan Ryan A wrote: I GOT IT this is where the data was coming from: input name=id[sh123] type=hidden id=id[sh123] value=32 input name=id[sh1sd] type=hidden id=id[sh1sd] value=563 and this is where i take the values and dump it into an array/variables that i can call when and where i please: ?php $nn=0; foreach($id as $nname = $pppno) {$asdf[$nn]=$pppno; $nn++; } ? brbr?php echo $asdf[0]; ?br ?php echo $asdf[1]; ? I just took out some of the breaks so it will take less space but you get the idea. Thank you to everyone who tried to help, but maybe i didnt explain the problem well enough that you didnt get the answer or just didnt want to :-D Seriously? You could just replace the above with: $asdf = array_values($_POST['id']); I think you need to be cut off from the list for a while. Trial by fire, I say!! -- ---John Holmes... Amazon Wishlist: www.amazon.com/o/registry/3BEXC84AB3A5E/ PHP|Architect: A magazine for PHP Professionals www.phparch.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Re: Problems with a simple While-If condition
try using the extract command instead of the array reference ie: ? while ($row = mysql_fetch_array($res)) { extract($row); echotrtdID Profissional/td; echotd$id/td/tr; ? instead of : while ($row = mysql_fetch_array($res)) { ? ? echotrtdID Profissional/td; echotd.$row['id']./td/tr; Jason Rodrigo De Oliveira [EMAIL PROTECTED] wrote in message 002501c295a6$3e048ab0$6ed4a5c8@soho">news:002501c295a6$3e048ab0$6ed4a5c8@soho... This is the fact: I'm building a homepage that can access a mysql database, and display the records within a certain condition. Following this it is verified if the sql result was empty then it should write a certain frase, if not it should write the records. I've got the worst part ok, the while that display the results, but the if isn't being verified, it writes the frase anyway. Please help, the code is right under the file name: indicador.php ? include db_dados.php; ? ? $sql = SELECT * FROM tb_tao WHERE area='$area'and status=1; $res = @mysql_query($sql,$id) ? ? echo table width='100%' height='100%' border='0' align='center' ? ? echo trtddiv align='center'Nenhum profissional cadastrado./div/td/tr; ? ? while ($row = mysql_fetch_array($res)) { ? ? echotrtdID Profissional/td; echotd.$row['id']./td/tr; echotrtdNome/td; echotd.$row['nome']./td/tr; echotrtdProfissão/td; echotd.$row['area']./td/tr; echotrtdBairro/td; echotd.$row['bairro']./td/tr; echotrtdTelefone/td; echotd.$row['telefone']./td/tr; echotrtdE-mail/td; echotd.$row['email']./td/tr; echotrtdTelefone Celular/td; echotd.$row['celular']./td/tr; echotrtdRegistro Profissional/td; echotd.$row['regprof']./td/tr; echotrtdEndereço/td; echotd.$row['endereco']./td/tr; echotrtdnbsp;/td; echotdnbsp;/td/tr; ? ? } ? ? echo/table; ? db_dados.php ? $id = mysql_connect(localhost,rodrigo,g3mston3)or die ('I cannot connect to the database.'); $con = mysql_select_db(db_tao); ? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] RE: Problems with a simple While-If condition With the statement
? include db_dados.php; ? ? $sql = SELECT * FROM tb_tao WHERE area='$area'and status=1; $res = @mysql_query($sql,$id) ? ? echo table width='100%' height='100%' border='0' align='center' ? ? $rodrigo=mysql_fetch_array($res); if($rodrigo=false){ echo trtddiv align='center'Nenhum profissional cadastrado./div/td/tr; } ? ? while ($row = mysql_fetch_array($res)) { ? ? echotrtdID Profissional/td; echotd.$row['id']./td/tr; echotrtdNome/td; echotd.$row['nome']./td/tr; echotrtdProfissão/td; echotd.$row['area']./td/tr; echotrtdBairro/td; echotd.$row['bairro']./td/tr; echotrtdTelefone/td; echotd.$row['telefone']./td/tr; echotrtdE-mail/td; echotd.$row['email']./td/tr; echotrtdTelefone Celular/td; echotd.$row['celular']./td/tr; echotrtdRegistro Profissional/td; echotd.$row['regprof']./td/tr; echotrtdEndereço/td; echotd.$row['endereco']./td/tr; echotrtdnbsp;/td; echotdnbsp;/td/tr; ? ? } ? ? echo/table; ?
[PHP] Error in code - Seems simple enough
I'm having trouble with the following code dispalying an error, which I don't understand because the code actually works (other than the error). Any ideas? ? if(!isset($HTTP_SESSION_VARS['svUserAccess'])){ echo td class='mainmenu' align='center' width='12.5%' style='cursor:hand' onMouseover='this.style.backgroundColor='#C0E0FF'' onMouseout='this.style.backgroundColor=''' onClick='window.location.href='login.php''a href='login.php'Login/a/td; } else { echo td class='mainmenu' align='center' width='12.5%' style='cursor:hand' onMouseover='this.style.backgroundColor='#C0E0FF'' onMouseout='this.style.backgroundColor=''' onClick='window.location.href='logout.php''a href='login.php'Logout/a/td; } ? Thanks -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] Error in code - Seems simple enough
And the error is?? -Original Message- From: vernon [mailto:vernon;comp-wiz.com] Sent: Sunday, November 03, 2002 9:28 PM To: [EMAIL PROTECTED] Subject: [PHP] Error in code - Seems simple enough I'm having trouble with the following code dispalying an error, which I don't understand because the code actually works (other than the error). Any ideas? ? if(!isset($HTTP_SESSION_VARS['svUserAccess'])){ echo td class='mainmenu' align='center' width='12.5%' style='cursor:hand' onMouseover='this.style.backgroundColor='#C0E0FF'' onMouseout='this.style.backgroundColor=''' onClick='window.location.href='login.php''a href='login.php'Login/a/td; } else { echo td class='mainmenu' align='center' width='12.5%' style='cursor:hand' onMouseover='this.style.backgroundColor='#C0E0FF'' onMouseout='this.style.backgroundColor=''' onClick='window.location.href='logout.php''a href='login.php'Logout/a/td; } ? Thanks -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Error in code - Seems simple enough
That's the thing, everything works but the error message keeps coming up? Runtime Error: Syntax Error -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Error in code - Seems simple enough
This is rather problem about javascript than PHP - But I think that you need to use double quotes (escaped) to distinguish query and variables in your javascript query: Try out this, It work fine for me: if(!isset($HTTP_SESSION_VARS['svUserAccess'])){ echo td class='mainmenu' align='center' width='12.5%' style='cursor:hand' onMouseover=\this.style.backgroundColor='#C0E0FF'\ onMouseout=\this.style.backgroundColor=''\ onClick=\window.location.href='login.php'\a href='login.php'Login/a/td; } else { echo td class='mainmenu' align='center' width='12.5%' style='cursor:hand' onMouseover=\this.style.backgroundColor='#C0E0FF'\ onMouseout=\this.style.backgroundColor=''\ onClick=\window.location.href='logout.php'\a href='login.php'Logout/a/td; wrote in message news:20021104022815.4043.qmail;pb1.pair.com... I'm having trouble with the following code dispalying an error, which I don't understand because the code actually works (other than the error). Any ideas? ? if(!isset($HTTP_SESSION_VARS['svUserAccess'])){ echo td class='mainmenu' align='center' width='12.5%' style='cursor:hand' onMouseover='this.style.backgroundColor='#C0E0FF'' onMouseout='this.style.backgroundColor=''' onClick='window.location.href='login.php''a href='login.php'Login/a/td; } else { echo td class='mainmenu' align='center' width='12.5%' style='cursor:hand' onMouseover='this.style.backgroundColor='#C0E0FF'' onMouseout='this.style.backgroundColor=''' onClick='window.location.href='logout.php''a href='login.php'Logout/a/td; } ? Thanks -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] can you recommned a simple banner rotator in PHP
Hi, I've got a customer who needs a banner rotation system. I don't want to recreate any wheels and I'm tryin to avoid a lot of research. I'd like one that doesn't use globals, it uses PEAR classes and preferably uses the Smarty template system or another template system, or you've used it and it works like a charm :) I would like something that has some statistics, works with MySQL, but they'd prefer a freebie or low cost. They don't need a super duper package at this time. Thanks, Peter http://www.coremodules.com/ Web Development and Support at Affordable Prices 901-757-8322[EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] can you recommned a simple banner rotator in PHP
-Original Message- From: Peter J. Schoenster [mailto:[EMAIL PROTECTED]] Hi, I've got a customer who needs a banner rotation system. I don't want to recreate any wheels and I'm tryin to avoid a lot of research. Have a look at phpAdsNew http://sourceforge.net/projects/phpadsnew/ Seán -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] can you recommned a simple banner rotator in PHP
I'll second that - It's a truly professional solution. [even has a full user manual] Here are a couple articles you might want to checkk out: http://www.devarticles.com/content.php?articleId=126page=1 http://www.devshed.com/Server_Side/PHP/CommercialBreak/page1.html olinux --- Seán_Dillon [EMAIL PROTECTED] wrote: -Original Message- From: Peter J. Schoenster [mailto:[EMAIL PROTECTED]] Hi, I've got a customer who needs a banner rotation system. I don't want to recreate any wheels and I'm tryin to avoid a lot of research. Have a look at phpAdsNew http://sourceforge.net/projects/phpadsnew/ Seán -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php __ Do you Yahoo!? Yahoo! News - Today's headlines http://news.yahoo.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] MySQL and Array's REALLY simple question but I'm not GETTING it.. Ugh..
Can anyone tell me what's wrong with my code? All I get output from this is the LAST row of data from my Database. There are 2 rows, how do I make it pull data from all of the rows? It's not going through the loop like it should I need to be able to tell the mysql_fetch_array which row I want in each it iteration of the for loop. The For loop increments counter, but there is no syntax to add $counter to the result_type. The same goes with fetch_row... What am I forgetting!!?? I know it's something simple *** $sql2 = mysql_connect(localhost, eweb, dbfun) or die(Could not connect BR); mysql_select_db(actionregs, $sql2); $top_level = mysql_query(SELECT * FROM williams, $sql2) or die(Could not do query BR); $sql2_results = mysql_fetch_array($top_level); $query_sql2_rows = mysql_num_rows($top_level); echo $query_sql2_rows; // echo's 2 rows print table style=\font-family:Verdana; font-size:10pt\ border=0 cellpadding=4 width=90%; print tr bgcolor=\#c0c0c0\th width=50Action ID/thth width=100Owner/thth width=250Technology/ththSummary/th/tr; for ($counter=0; $counter $query_sql2_rows; $counter++) { $tabledata = mysql_fetch_array($top_level); echo td$tabledata[0]/td; echo td$tabledata[6]/td; echo td$tabledata[2]/td; echo td$tabledata[3]/td; echo /tr; } print /table; Thanks. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] MySQL and Array's REALLY simple question but I'm notGETTING it .. Ugh..
Well, when you run the command: $sql2_results = mysql_fetch_array($top_level); The first time, it automatically increments the result... so you fetch the data bu do nothing with it... so when you get to your loop, you are already at the second entry in your database.. So, remove the first instance of that and see how it works.. HTH -Brad Steve Gaas wrote: Can anyone tell me what's wrong with my code? All I get output from this is the LAST row of data from my Database. There are 2 rows, how do I make it pull data from all of the rows? It's not going through the loop like it should I need to be able to tell the mysql_fetch_array which row I want in each it iteration of the for loop. The For loop increments counter, but there is no syntax to add $counter to the result_type. The same goes with fetch_row... What am I forgetting!!?? I know it's something simple *** $sql2 = mysql_connect(localhost, eweb, dbfun) or die(Could not connect BR); mysql_select_db(actionregs, $sql2); $top_level = mysql_query(SELECT * FROM williams, $sql2) or die(Could not do query BR); $sql2_results = mysql_fetch_array($top_level); $query_sql2_rows = mysql_num_rows($top_level); echo $query_sql2_rows; // echo's 2 rows print table style=\font-family:Verdana; font-size:10pt\ border=0 cellpadding=4 width=90%; print tr bgcolor=\#c0c0c0\th width=50Action ID/thth width=100Owner/thth width=250Technology/ththSummary/th/tr; for ($counter=0; $counter $query_sql2_rows; $counter++) { $tabledata = mysql_fetch_array($top_level); echo td$tabledata[0]/td; echo td$tabledata[6]/td; echo td$tabledata[2]/td; echo td$tabledata[3]/td; echo /tr; } print /table; Thanks. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php