Re: [PHP] Sometimes I wonder why I even started programming...

2008-03-04 Thread tedd
At 12:36 PM -0500 2/28/08, Eric Butera wrote: And I'd appreciate it if you kept all your posts about wearing dresses to yourself but it isn't going to happen. :) What ain't going to happen-- him posting or wearing dresses? tedd -- --- http://sperling.com http://ancientstones.com

Re: [PHP] Sometimes I wonder why I even started programming...

2008-03-04 Thread tedd
At 1:18 PM -0500 2/28/08, Daniel Brown wrote: There is a time and a place to presume at least a small piece of intelligence on behalf of the poster. And when does that happen? It never happens when I post things. :-) Cheers, tedd -- --- http://sperling.com http://ancientstones.com

Re: [PHP] Sometimes I wonder why I even started programming...

2008-02-29 Thread Zoltán Németh
2008. 02. 28, csütörtök keltezéssel 20.25-kor Nathan Rixham ezt írta: Robert Cummings wrote: On Thu, 2008-02-28 at 19:37 +, Stut wrote: On 28 Feb 2008, at 19:17, Wolf wrote: Jason Pruim wrote: My editor automatically replaces like 4 spaces with a tab... Is there a reason not to

Re: [PHP] Sometimes I wonder why I even started programming...

2008-02-29 Thread Zoltán Németh
2008. 02. 28, csütörtök keltezéssel 22.42-kor Robert Cummings ezt írta: On Thu, 2008-02-28 at 23:52 +, Nathan Rixham wrote: Robert Cummings wrote: On Thu, 2008-02-28 at 20:43 +, Nathan Rixham wrote: [snip] Eric Butera wrote: I can hit tab and shift/tab too and it puts in

Re: [PHP] Sometimes I wonder why I even started programming...

2008-02-28 Thread Philip Thompson
On Feb 27, 2008, at 4:51 PM, Jochem Maas wrote: Jason Pruim schreef: So I was supposed to go home a half hour ago but that didn't happen... I hate deadlines! :P in my home language Pruim means prune ... you sound like you've had to suck on one to many ;-) Can someone tell me why this

Re: [PHP] Sometimes I wonder why I even started programming...

2008-02-28 Thread Eric Butera
On Wed, Feb 27, 2008 at 5:12 PM, Daniel Brown [EMAIL PROTECTED] wrote: On Wed, Feb 27, 2008 at 4:55 PM, Jason Pruim [EMAIL PROTECTED] wrote: So I was supposed to go home a half hour ago but that didn't happen... I hate deadlines! :P You whine like a mule. [snip!]

Re: [PHP] Sometimes I wonder why I even started programming...

2008-02-28 Thread Jason Pruim
On Feb 28, 2008, at 11:11 AM, Philip Thompson wrote: On Feb 27, 2008, at 4:51 PM, Jochem Maas wrote: Jason Pruim schreef: So I was supposed to go home a half hour ago but that didn't happen... I hate deadlines! :P in my home language Pruim means prune ... you sound like you've had to

Re: [PHP] Sometimes I wonder why I even started programming...

2008-02-28 Thread Jason Pruim
On Feb 28, 2008, at 11:28 AM, Eric Butera wrote: On Wed, Feb 27, 2008 at 5:12 PM, Daniel Brown [EMAIL PROTECTED] wrote: On Wed, Feb 27, 2008 at 4:55 PM, Jason Pruim [EMAIL PROTECTED] wrote: So I was supposed to go home a half hour ago but that didn't happen... I hate deadlines! :P

Re: [PHP] Sometimes I wonder why I even started programming...

2008-02-28 Thread Daniel Brown
On Thu, Feb 28, 2008 at 11:28 AM, Eric Butera [EMAIL PROTECTED] wrote: Guess all your posts stating to sanitize data just really don't have an impact, huh? Perhaps you should stop posting code that doesn't validate/escape as it will be copied and pasted as I've told you before. I'm

Re: [PHP] Sometimes I wonder why I even started programming...

2008-02-28 Thread Eric Butera
On Thu, Feb 28, 2008 at 11:59 AM, Daniel Brown [EMAIL PROTECTED] wrote: On Thu, Feb 28, 2008 at 11:28 AM, Eric Butera [EMAIL PROTECTED] wrote: Guess all your posts stating to sanitize data just really don't have an impact, huh? Perhaps you should stop posting code that doesn't

Re: [PHP] Sometimes I wonder why I even started programming...

2008-02-28 Thread Daniel Brown
On Thu, Feb 28, 2008 at 12:36 PM, Eric Butera [EMAIL PROTECTED] wrote: And I'd appreciate it if you kept all your posts about wearing dresses to yourself but it isn't going to happen. :) Heh. It is a bad visual, isn't it? ;-P -- /Dan Daniel P. Brown Senior Unix Geek ? while(1) { $me =

Re: [PHP] Sometimes I wonder why I even started programming...

2008-02-28 Thread Eric Butera
On Thu, Feb 28, 2008 at 11:57 AM, Jason Pruim [EMAIL PROTECTED] wrote: On Feb 28, 2008, at 11:28 AM, Eric Butera wrote: On Wed, Feb 27, 2008 at 5:12 PM, Daniel Brown [EMAIL PROTECTED] wrote: On Wed, Feb 27, 2008 at 4:55 PM, Jason Pruim [EMAIL PROTECTED] wrote: So I was supposed

Re: [PHP] Sometimes I wonder why I even started programming...

2008-02-28 Thread Jason Pruim
On Feb 28, 2008, at 12:39 PM, Eric Butera wrote: On Thu, Feb 28, 2008 at 11:57 AM, Jason Pruim [EMAIL PROTECTED] wrote: On Feb 28, 2008, at 11:28 AM, Eric Butera wrote: On Wed, Feb 27, 2008 at 5:12 PM, Daniel Brown [EMAIL PROTECTED] wrote: On Wed, Feb 27, 2008 at 4:55 PM, Jason Pruim

Re: [PHP] Sometimes I wonder why I even started programming...

2008-02-28 Thread Eric Butera
On Thu, Feb 28, 2008 at 12:38 PM, Daniel Brown [EMAIL PROTECTED] wrote: On Thu, Feb 28, 2008 at 12:36 PM, Eric Butera [EMAIL PROTECTED] wrote: And I'd appreciate it if you kept all your posts about wearing dresses to yourself but it isn't going to happen. :) Heh. It is a bad visual,

Re: [PHP] Sometimes I wonder why I even started programming...

2008-02-28 Thread Daniel Brown
On Thu, Feb 28, 2008 at 12:57 PM, Eric Butera [EMAIL PROTECTED] wrote: All my point is that I've been on this list for a while. I've posted code and watched people just copy and paste it. I've watched other people copy and paste their examples. I used to say sanitize your data and watch

Re: [PHP] Sometimes I wonder why I even started programming...

2008-02-28 Thread Andrew Ballard
On Thu, Feb 28, 2008 at 12:56 PM, Jason Pruim [EMAIL PROTECTED] wrote: On Feb 28, 2008, at 12:39 PM, Eric Butera wrote: On Thu, Feb 28, 2008 at 11:57 AM, Jason Pruim [EMAIL PROTECTED] wrote: On Feb 28, 2008, at 11:28 AM, Eric Butera wrote: On Wed, Feb 27, 2008 at 5:12 PM,

Re: [PHP] Sometimes I wonder why I even started programming...

2008-02-28 Thread Nathan Rixham
Eric Butera wrote: On Thu, Feb 28, 2008 at 12:38 PM, Daniel Brown [EMAIL PROTECTED] wrote: On Thu, Feb 28, 2008 at 12:36 PM, Eric Butera [EMAIL PROTECTED] wrote: And I'd appreciate it if you kept all your posts about wearing dresses to yourself but it isn't going to happen. :) Heh. It

Re: [PHP] Sometimes I wonder why I even started programming...

2008-02-28 Thread Wolf
All my point is that I've been on this list for a while. I've posted code and watched people just copy and paste it. I've watched other people copy and paste their examples. I used to say sanitize your data and watch the same exact thing in their new function coming back at me without any

Re: [PHP] Sometimes I wonder why I even started programming...

2008-02-28 Thread Eric Butera
On Thu, Feb 28, 2008 at 1:39 PM, Nathan Rixham [EMAIL PROTECTED] wrote: Eric Butera wrote: On Thu, Feb 28, 2008 at 12:38 PM, Daniel Brown [EMAIL PROTECTED] wrote: On Thu, Feb 28, 2008 at 12:36 PM, Eric Butera [EMAIL PROTECTED] wrote: And I'd appreciate it if you kept all your posts

Re: [PHP] Sometimes I wonder why I even started programming...

2008-02-28 Thread Daniel Brown
On Thu, Feb 28, 2008 at 1:39 PM, Nathan Rixham [EMAIL PROTECTED] wrote: One thing I don't understand, why did you go all out and personal on Dan? I'm not even going to go into it, you were bang out of order order and you owe the man an apology; no need to explain what you meant, we all

RE: [PHP] Sometimes I wonder why I even started programming...

2008-02-28 Thread Jay Blanchard
[snip] Sorry I soured your day. This is a public mailing list and it is my position that people who commit code to it should really make sure that it is reasonably sound. These emails get archived forever and people can search them to find results, so what we put on here is long-lasting. [/snip]

Re: [PHP] Sometimes I wonder why I even started programming...

2008-02-28 Thread Wolf
Jason Pruim wrote: On Feb 28, 2008, at 11:11 AM, Philip Thompson wrote: On Feb 27, 2008, at 4:51 PM, Jochem Maas wrote: Jason Pruim schreef: !--Snip -- I think the real question is... why are you using tabs instead of spaces? =D ~Philip My editor automatically replaces like 4 spaces

Re: [PHP] Sometimes I wonder why I even started programming...

2008-02-28 Thread Per Jessen
Eric Butera wrote: HI Nathan, Sorry I soured your day. This is a public mailing list and it is my position that people who commit code to it should really make sure that it is reasonably sound. These emails get archived forever and people can search them to find results, so what we put

Re: [PHP] Sometimes I wonder why I even started programming...

2008-02-28 Thread Per Jessen
Jason Pruim wrote: My editor automatically replaces like 4 spaces with a tab... Is there a reason not to use tabs instead of spaces? :) Yes. The length of a space does not vary from one system to another. /Per Jessen, Zürich -- PHP General Mailing List (http://www.php.net/) To

Re: [PHP] Sometimes I wonder why I even started programming...

2008-02-28 Thread Daniel Brown
On Thu, Feb 28, 2008 at 2:22 PM, Per Jessen [EMAIL PROTECTED] wrote: Yes. The length of a space does not vary from one system to another. Though the width can. ;-P Think fixedsys on a terminal versus Trebuchet TTF with hinting and antialiasing. Just going geek a bit on that. --

Re: [PHP] Sometimes I wonder why I even started programming...

2008-02-28 Thread Jason Pruim
On Feb 28, 2008, at 2:17 PM, Wolf wrote: Jason Pruim wrote: On Feb 28, 2008, at 11:11 AM, Philip Thompson wrote: On Feb 27, 2008, at 4:51 PM, Jochem Maas wrote: Jason Pruim schreef: !--Snip -- I think the real question is... why are you using tabs instead of spaces? =D ~Philip My

Re: [PHP] Sometimes I wonder why I even started programming...

2008-02-28 Thread TG
And the kerning.. OH THE KERNING! - Original Message - From: Daniel Brown [EMAIL PROTECTED] To: Per Jessen [EMAIL PROTECTED] Cc: php-general@lists.php.net Date: Thu, 28 Feb 2008 14:26:29 -0500 Subject: Re: [PHP] Sometimes I wonder why I even started programming... On Thu, Feb 28

Re: [PHP] Sometimes I wonder why I even started programming...

2008-02-28 Thread Stut
On 28 Feb 2008, at 19:17, Wolf wrote: Jason Pruim wrote: My editor automatically replaces like 4 spaces with a tab... Is there a reason not to use tabs instead of spaces? :) I use spaces since when I indent with 4 spaces it is significantly easier to read the code then with 4 tabs...

Re: [PHP] Sometimes I wonder why I even started programming...

2008-02-28 Thread Stut
On 28 Feb 2008, at 19:19, Per Jessen wrote: Eric Butera wrote: HI Nathan, Sorry I soured your day. This is a public mailing list and it is my position that people who commit code to it should really make sure that it is reasonably sound. These emails get archived forever and people can

Re: [PHP] Sometimes I wonder why I even started programming...

2008-02-28 Thread Robert Cummings
On Thu, 2008-02-28 at 19:37 +, Stut wrote: On 28 Feb 2008, at 19:17, Wolf wrote: Jason Pruim wrote: My editor automatically replaces like 4 spaces with a tab... Is there a reason not to use tabs instead of spaces? :) I use spaces since when I indent with 4 spaces it is

Re: [PHP] Sometimes I wonder why I even started programming...

2008-02-28 Thread Per Jessen
Stut wrote: Ask random people in the IT world what they think about PHP. I bet you'll hear lots of FUD about it being insecure. Why is it insecure? 1) it's (mostly) interpreted 2) it's type-weak There is nothing inherently insecure contained within either of those features. Whatever

Re: [PHP] Sometimes I wonder why I even started programming...

2008-02-28 Thread Nathan Rixham
Eric Butera wrote: HI Nathan, Sorry I soured your day. This is a public mailing list and it is my Ahh it's okay - I think I may have read into it a little too much anyways; likewise apologies. position that people who commit code to it should really make sure that it is reasonably sound.

Re: [PHP] Sometimes I wonder why I even started programming...

2008-02-28 Thread Nathan Rixham
Robert Cummings wrote: On Thu, 2008-02-28 at 19:37 +, Stut wrote: On 28 Feb 2008, at 19:17, Wolf wrote: Jason Pruim wrote: My editor automatically replaces like 4 spaces with a tab... Is there a reason not to use tabs instead of spaces? :) I use spaces since when I indent with 4 spaces

Re: [PHP] Sometimes I wonder why I even started programming...

2008-02-28 Thread Shawn McKenzie
Nathan Rixham wrote: Robert Cummings wrote: On Thu, 2008-02-28 at 19:37 +, Stut wrote: On 28 Feb 2008, at 19:17, Wolf wrote: Jason Pruim wrote: My editor automatically replaces like 4 spaces with a tab... Is there a reason not to use tabs instead of spaces? :) I use spaces since when I

Re: [PHP] Sometimes I wonder why I even started programming...

2008-02-28 Thread Robert Cummings
On Thu, 2008-02-28 at 20:25 +, Nathan Rixham wrote: I use tab's in all my code, and replace them with spaces when posting/mailing for legibility. couldn't imagine ever hitting space 4/8/12/16+ times to write a line of code when i can just tab/shit+tab to indent. Uhhhm, I hit the tab

Re: [PHP] Sometimes I wonder why I even started programming...

2008-02-28 Thread Eric Butera
On Thu, Feb 28, 2008 at 3:25 PM, Nathan Rixham [EMAIL PROTECTED] wrote: Robert Cummings wrote: On Thu, 2008-02-28 at 19:37 +, Stut wrote: On 28 Feb 2008, at 19:17, Wolf wrote: Jason Pruim wrote: My editor automatically replaces like 4 spaces with a tab... Is there a reason not

Re: [PHP] Sometimes I wonder why I even started programming...

2008-02-28 Thread Nathan Rixham
[snip] Eric Butera wrote: I can hit tab and shift/tab too and it puts in spaces for me. [snip] Robert Cummings wrote: Uhhhm, I hit the tab button also and it does the right thing (namely inserts 4 spaces). Also, when I hit enter it auto tabs. [snip] *kicks zend studio* [and nano and textpad

Re: [PHP] Sometimes I wonder why I even started programming...

2008-02-28 Thread Shawn McKenzie
Nathan Rixham wrote: [snip] Eric Butera wrote: I can hit tab and shift/tab too and it puts in spaces for me. [snip] Robert Cummings wrote: Uhhhm, I hit the tab button also and it does the right thing (namely inserts 4 spaces). Also, when I hit enter it auto tabs. [snip] *kicks zend

Re: [PHP] Sometimes I wonder why I even started programming...

2008-02-28 Thread Ray Hauge
Nathan Rixham wrote: [snip] Eric Butera wrote: I can hit tab and shift/tab too and it puts in spaces for me. [snip] Robert Cummings wrote: Uhhhm, I hit the tab button also and it does the right thing (namely inserts 4 spaces). Also, when I hit enter it auto tabs. [snip] *kicks zend

Re: [PHP] Sometimes I wonder why I even started programming...

2008-02-28 Thread TG
: [PHP] Sometimes I wonder why I even started programming... I use tab's in all my code, and replace them with spaces when posting/mailing for legibility. couldn't imagine ever hitting space 4/8/12/16+ times to write a line of code when i can just tab/shit+tab to indent. -- PHP General

Re: [PHP] Sometimes I wonder why I even started programming...

2008-02-28 Thread TG
uses Consolas in Vista. -TG - Original Message - From: Eric Butera [EMAIL PROTECTED] To: [EMAIL PROTECTED] Cc: php-general@lists.php.net Date: Thu, 28 Feb 2008 15:39:21 -0500 Subject: Re: [PHP] Sometimes I wonder why I even started programming... I can hit tab and shift/tab too

Re: [PHP] Sometimes I wonder why I even started programming...

2008-02-28 Thread Eric Butera
On Thu, Feb 28, 2008 at 3:43 PM, Nathan Rixham [EMAIL PROTECTED] wrote: [snip] Eric Butera wrote: I can hit tab and shift/tab too and it puts in spaces for me. [snip] Robert Cummings wrote: Uhhhm, I hit the tab button also and it does the right thing (namely inserts 4 spaces).

Re: [PHP] Sometimes I wonder why I even started programming...

2008-02-28 Thread TG
Zend Studio does everything mentioned there. Tabs as spaces, tab/shift-tab, auto-indent. -TG - Original Message - From: Nathan Rixham [EMAIL PROTECTED] To: php-general@lists.php.net Date: Thu, 28 Feb 2008 20:43:07 + Subject: Re: [PHP] Sometimes I wonder why I even started

Re: [PHP] Sometimes I wonder why I even started programming...

2008-02-28 Thread Greg Donald
On 2/28/08, Nathan Rixham [EMAIL PROTECTED] wrote: what ide's editor's do you two use? zend's use of javaw is killing my win2k3 dev machine anyways. # dd if=/dev/tty of=/dev/hda1 And then sometimes I also use vim. -- Greg Donald http://destiney.com/ -- PHP General Mailing List

Re: [PHP] Sometimes I wonder why I even started programming...

2008-02-28 Thread Eric Butera
wonder why I even started programming... I can hit tab and shift/tab too and it puts in spaces for me. The reason I prefer spaces over tabs is because in my experience fonts on different platforms and sizes seem to render tabs slightly off. So on some font combinations my code lines

Re: [PHP] Sometimes I wonder why I even started programming...

2008-02-28 Thread Robert Cummings
On Thu, 2008-02-28 at 20:43 +, Nathan Rixham wrote: [snip] Eric Butera wrote: I can hit tab and shift/tab too and it puts in spaces for me. [snip] Robert Cummings wrote: Uhhhm, I hit the tab button also and it does the right thing (namely inserts 4 spaces). Also, when I hit enter

Re: [PHP] Sometimes I wonder why I even started programming...

2008-02-28 Thread TG
: Thu, 28 Feb 2008 15:58:49 -0500 Subject: Re: [PHP] Sometimes I wonder why I even started programming... The reason I prefer spaces over tabs is because in my experience fonts on different platforms and sizes seem to render tabs slightly off. So on some font combinations my code lines

Re: [PHP] Sometimes I wonder why I even started programming...

2008-02-28 Thread Wolf
Except that if I inherit your code and I find it easier if it's indented to 8 spaces you've taken that choice away from me. Tabs are configurable on nearly all editors that exist in the world. If yours doesn't let you change the tab width, get a new one. But if you don't care about people who

Re: [PHP] Sometimes I wonder why I even started programming...

2008-02-28 Thread Nathan Rixham
Robert Cummings wrote: On Thu, 2008-02-28 at 20:43 +, Nathan Rixham wrote: [snip] Eric Butera wrote: I can hit tab and shift/tab too and it puts in spaces for me. [snip] Robert Cummings wrote: Uhhhm, I hit the tab button also and it does the right thing (namely inserts 4 spaces).

Re: [PHP] Sometimes I wonder why I even started programming...

2008-02-28 Thread Robert Cummings
On Thu, 2008-02-28 at 23:52 +, Nathan Rixham wrote: Robert Cummings wrote: On Thu, 2008-02-28 at 20:43 +, Nathan Rixham wrote: [snip] Eric Butera wrote: I can hit tab and shift/tab too and it puts in spaces for me. [snip] Robert Cummings wrote: Uhhhm, I hit the tab button

[PHP] Sometimes I wonder why I even started programming...

2008-02-27 Thread Jason Pruim
So I was supposed to go home a half hour ago but that didn't happen... I hate deadlines! :P Can someone tell me why this code works for setting the table name: function authentication($user, $pass, $authenticated, $table){ // Keep in mind,

Re: [PHP] Sometimes I wonder why I even started programming...

2008-02-27 Thread Ray Hauge
Jason Pruim wrote: So I was supposed to go home a half hour ago but that didn't happen... I hate deadlines! :P Can someone tell me why this code works for setting the table name: function authentication($user, $pass, $authenticated, $table){ // Keep in mind, PASSWORD

Re: [PHP] Sometimes I wonder why I even started programming...

2008-02-27 Thread Daniel Brown
On Wed, Feb 27, 2008 at 4:55 PM, Jason Pruim [EMAIL PROTECTED] wrote: So I was supposed to go home a half hour ago but that didn't happen... I hate deadlines! :P You whine like a mule. [snip!] function authentication($user, $pass, $authenticated, $table){

Re: [PHP] Sometimes I wonder why I even started programming...

2008-02-27 Thread Andrew Ballard
On Wed, Feb 27, 2008 at 4:55 PM, Jason Pruim [EMAIL PROTECTED] wrote: So I was supposed to go home a half hour ago but that didn't happen... I hate deadlines! :P Can someone tell me why this code works for setting the table name: function authentication($user, $pass, $authenticated,

Re: [PHP] Sometimes I wonder why I even started programming...

2008-02-27 Thread Jason Pruim
On Feb 27, 2008, at 5:12 PM, Daniel Brown wrote: On Wed, Feb 27, 2008 at 4:55 PM, Jason Pruim [EMAIL PROTECTED] wrote: So I was supposed to go home a half hour ago but that didn't happen... I hate deadlines! :P You whine like a mule. I know... But I get good answers when I do :P

Re: [PHP] Sometimes I wonder why I even started programming...

2008-02-27 Thread Daniel Brown
On Wed, Feb 27, 2008 at 5:16 PM, Jason Pruim [EMAIL PROTECTED] wrote: I (Dan Brown) wrote this stuff: As soon as a function reaches a `return` statement, it returns that data and exits, so the second `return` is never processed. so the return $table; line doesn't ever get processed?

Re: [PHP] Sometimes I wonder why I even started programming...

2008-02-27 Thread Ray Hauge
Jason Pruim wrote: On Feb 27, 2008, at 5:12 PM, Daniel Brown wrote: On Wed, Feb 27, 2008 at 4:55 PM, Jason Pruim [EMAIL PROTECTED] wrote: So I was supposed to go home a half hour ago but that didn't happen... I hate deadlines! :P You whine like a mule. I know... But I get good answers

Re: [PHP] Sometimes I wonder why I even started programming...RESOLVED

2008-02-27 Thread Jason Pruim
After some comments from people, and some reading and looking... I got it to work... Once I took the return $table line out and set $table = $row1['tableName'] it worked like a charm! So thank you all who pipped up! You guys are the reason I keep fighting with learning to code! I think I'm

Re: [PHP] Sometimes I wonder why I even started programming...

2008-02-27 Thread Stut
On 27 Feb 2008, at 22:16, Jason Pruim wrote: On Feb 27, 2008, at 5:12 PM, Daniel Brown wrote: On Wed, Feb 27, 2008 at 4:55 PM, Jason Pruim [EMAIL PROTECTED] wrote: function authentication($user, $pass, $authenticated, $table){ // Keep in mind, PASSWORD has meaning

Re: [PHP] Sometimes I wonder why I even started programming...

2008-02-27 Thread Jochem Maas
Jason Pruim schreef: So I was supposed to go home a half hour ago but that didn't happen... I hate deadlines! :P in my home language Pruim means prune ... you sound like you've had to suck on one to many ;-) Can someone tell me why this code works for setting the table name: dunno. lets