Re: [PHP] quick question about using capital letters coding w/ PHP

2005-07-27 Thread Jochem Maas

Dotan Cohen wrote:

On 7/26/05, Jochem Maas [EMAIL PROTECTED] wrote:


...somebody beat me with a virtual stick if I am wrong!


Why? I'd rather just throw the php.net/manual at you!


harddrive or memory stick?


just /home/dotan/myfiles/docs/php-manual/



but seriously did I err?


Not that I see. But don't forget that to err is human. To really fuck
things up we invented computers.


no sh*t :-) I recieved you last email (to me) 4 times! :-/



Dotan
http://lyricslist.com/lyrics/artist_albums/27/alice_in_chains.php
Alice In Chains Song Lyrics


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] quick question about using capital letters coding w/ PHP

2005-07-27 Thread Dotan Cohen
On 7/27/05, Jochem Maas [EMAIL PROTECTED] wrote:
 Dotan Cohen wrote:
  On 7/26/05, Jochem Maas [EMAIL PROTECTED] wrote:
 
 ...somebody beat me with a virtual stick if I am wrong!
 
 Why? I'd rather just throw the php.net/manual at you!
 
 harddrive or memory stick?
 
  just /home/dotan/myfiles/docs/php-manual/
 
 
 but seriously did I err?
 
  Not that I see. But don't forget that to err is human. To really fuck
  things up we invented computers.
 
 no sh*t :-) I recieved you last email (to me) 4 times! :-/
 

As if we needed proof!
I got a letter from mail admin that the original message couldn't be
delivered because of profanity. I wasn't sure if it was from the php
server or one of the subscribers, so I changed a naughty little word
to a nicer one: two messages. Times two for you, pal, you're in the CC
field! (not anymore)

Dotan
http://lyricslist.com/lyrics/artist_albums/159/dido.php
Dido Song Lyrics

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] quick question about using capital letters coding w/ PHP

2005-07-26 Thread Dotan Cohen
On 7/25/05, Jochem Maas [EMAIL PROTECTED] wrote:
 ...somebody beat me with a virtual stick if I am wrong!

Why? I'd rather just throw the php.net/manual at you!

Dotan
http://lyricslist.com/lyrics/artist_albums/23/aguilera_christina.php
Aguilera, Christina Song Lyrics

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] quick question about using capital letters coding w/ PHP

2005-07-26 Thread Jochem Maas

Dotan Cohen wrote:

On 7/25/05, Jochem Maas [EMAIL PROTECTED] wrote:


...somebody beat me with a virtual stick if I am wrong!



Why? I'd rather just throw the php.net/manual at you!


harddrive or memory stick?
but seriously did I err?



Dotan
http://lyricslist.com/lyrics/artist_albums/23/aguilera_christina.php
Aguilera, Christina Song Lyrics



--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] quick question about using capital letters coding w/ PHP

2005-07-26 Thread Dotan Cohen
On 7/26/05, Jochem Maas [EMAIL PROTECTED] wrote:
 ...somebody beat me with a virtual stick if I am wrong!
  Why? I'd rather just throw the php.net/manual at you!
 
 harddrive or memory stick?
just /home/dotan/myfiles/docs/php-manual/

 but seriously did I err?
Not that I see. But don't forget that to err is human. To really fuck
things up we invented computers.

Dotan
http://lyricslist.com/lyrics/artist_albums/27/alice_in_chains.php
Alice In Chains Song Lyrics

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] quick question about using capital letters coding w/ PHP

2005-07-26 Thread Dotan Cohen
On 7/26/05, Jochem Maas [EMAIL PROTECTED] wrote:
 ...somebody beat me with a virtual stick if I am wrong!
  Why? I'd rather just throw the php.net/manual at you!

 harddrive or memory stick?
just /home/dotan/myfiles/docs/php-manual/

 but seriously did I err?
Not that I see. But don't forget that to err is human. To really mess
things up we invented computers.

Dotan
http://lyricslist.com/lyrics/artist_albums/27/alice_in_chains.php
Alice In Chains Song Lyrics

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] quick question about using capital letters coding w/ PHP

2005-07-25 Thread Jochem Maas

Richard Lynch wrote:

On Sun, July 24, 2005 11:39 am, Dotan Cohen said:


On 7/24/05, Bruce Gilbert [EMAIL PROTECTED] wrote:


I am well versed in coding with xhtml which requires all lower case
and am pretty much a newbie at PHP so that is why I am asking this
question.

is this acceptible

if ($_post [sender_email] == ) or does at have to be if ($_POST
[sender_email] == )

in short, do uppercase and lowercase always have the same meaning.

thx,



PHP is case-sensitive. UppERCase is NOT the same as uppercase. HTML is
not case sensitive only because browsers are forgiving.



PHP variables are case-sensitive.

PHP FUNCTIONS are not.

You're on your own figuring out if class names/methods are/aren't
case-sensitive this week. :-v


1. classname are case-insensitive (at least in all the builds I have running)
but since 5.0.1 (IIRC) the engine honors your case when using get_class(),
in the past the class name was always returned lowercase. so:

php -r 'class Test {} $t = new Test; if ($t instanceof test) { echo yeah!\n; } echo 
get_class($t),\n;'

will echo:

yeah!
Test

2. methodnames are the same as functionname with regard to case-sensitivity

3. constants (and class constants) are case sensitive.

...somebody beat me with a virtual stick if I am wrong!





--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] quick question about using capital letters coding w/ PHP

2005-07-24 Thread Bruce Gilbert
Hello,

I am well versed in coding with xhtml which requires all lower case
and am pretty much a newbie at PHP so that is why I am asking this
question.

is this acceptible 

if ($_post [sender_email] == ) or does at have to be if ($_POST
[sender_email] == )

in short, do uppercase and lowercase always have the same meaning.

thx,

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] quick question about using capital letters coding w/ PHP

2005-07-24 Thread Dotan Cohen
On 7/24/05, Bruce Gilbert [EMAIL PROTECTED] wrote:
 Hello,
 
 I am well versed in coding with xhtml which requires all lower case
 and am pretty much a newbie at PHP so that is why I am asking this
 question.
 
 is this acceptible
 
 if ($_post [sender_email] == ) or does at have to be if ($_POST
 [sender_email] == )
 
 in short, do uppercase and lowercase always have the same meaning.
 
 thx,
 

PHP is case-sensitive. UppERCase is NOT the same as uppercase. HTML is
not case sensitive only because browsers are forgiving.

Dotan
http://lyricslist.com/lyrics/artist_albums/282/john_elton.php
John, Elton Song Lyrics

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] quick question about using capital letters coding w/ PHP

2005-07-24 Thread Chris Shiflett

Bruce Gilbert wrote:
is this acceptible 


if ($_post [sender_email] == ) or does at have to be if ($_POST
[sender_email] == )


As a friendly suggestion, you should always try before you ask. You 
could answer your own question with a few seconds of effort. Typically, 
such extreme laziness is not rewarded here. Consider yourself lucky this 
time. :-)


If you had instead asked whether you should use $_POST[sender_email] or 
$_POST['sender_email'], at least we could give you the benefit of the 
doubt and assume that you actually tried them both.


Chris

--
Chris Shiflett
Brain Bulb, The PHP Consultancy
http://brainbulb.com/

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] quick question about using capital letters coding w/ PHP

2005-07-24 Thread Richard Lynch
On Sun, July 24, 2005 11:39 am, Dotan Cohen said:
 On 7/24/05, Bruce Gilbert [EMAIL PROTECTED] wrote:
 I am well versed in coding with xhtml which requires all lower case
 and am pretty much a newbie at PHP so that is why I am asking this
 question.

 is this acceptible

 if ($_post [sender_email] == ) or does at have to be if ($_POST
 [sender_email] == )

 in short, do uppercase and lowercase always have the same meaning.

 thx,


 PHP is case-sensitive. UppERCase is NOT the same as uppercase. HTML is
 not case sensitive only because browsers are forgiving.

PHP variables are case-sensitive.

PHP FUNCTIONS are not.

You're on your own figuring out if class names/methods are/aren't
case-sensitive this week. :-v

-- 
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