Click here to get back home

$_POST case sensitivity

 HomeNewsGroups | Search | About
 comp.lang.php    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
$_POST case sensitivity Bill H 07-05-2008
Get Chitika Premium
Posted by Jerry Stuckle on July 6, 2008, 9:19 pm
Please log in for more thread options
macca wrote:
>> That the best you can do?
>
> What's it got to do with you?
>
> When someone insults you for a simple mistake, when your intentions
> are good and you are trying to help someone it's not good netiquette
> and doesn't deserve more than about 3 seconds of my time, if that.
>
>> Please learn how to reply properly.
>
> is a more reasonable response.
>

Don't worry. Gary is a well-known troll. He never has contributed
anything of value to this newsgroup.

In fact, he has to run his own news server because he's been kicked off
so many others for his actions. And he's still upset with me because he
tried to cross-post a thread to another newsgroup and blame me for the
cross-posting. And when I was able to prove it was him who initiated
the cross-post - and the message he used to do it, all he could do was
call me "liar".

He's been plonked not only by most regular users of this newsgroup, but
many users on usenet. Even his news server has been blocked by some
other news servers. Too bad they don't all do it.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================


Posted by Gary L. Burnore on July 6, 2008, 9:42 pm
Please log in for more thread options
On Sun, 6 Jul 2008 18:13:17 -0700 (PDT), macca

>
>> That the best you can do?  
>
>What's it got to do with you?

This is USENet, tard. You want to flame him so no one else sees?
Don't do it in USENet.

>
>When someone insults you for a simple mistake, when your intentions
>are good and you are trying to help someone it's not good netiquette
>and doesn't deserve more than about 3 seconds of my time, if that.

Yet you've obviously spent much more time on it than that.
>
>>Please learn how to reply properly.
>
>is a more reasonable response.

YOu could have just ignored it or take it for what it really meant,
but you whined. So again, that was the best you can do? You could
have at LEAST come up with something less third grade-ish.
--
gburnore at DataBasix dot Com
---------------------------------------------------------------------------
How you look depends on where you go.
---------------------------------------------------------------------------
Gary L. Burnore | ÝÛ³ºÝ³Þ³ºÝ³³Ýۺݳ޳ºÝ³Ý³Þ³ºÝ³ÝÝÛ³
| ÝÛ³ºÝ³Þ³ºÝ³³Ýۺݳ޳ºÝ³Ý³Þ³ºÝ³ÝÝÛ³
Official .sig, Accept no substitutes. | ÝÛ³ºÝ³Þ³ºÝ³³Ýۺݳ޳ºÝ³Ý³Þ³ºÝ³ÝÝÛ³
| ÝÛ 0 1 7 2 3 / Ý³Þ 3 7 4 9 3 0 Û³
Black Helicopter Repair Services, Ltd.| Official Proof of Purchase
===========================================================================

Posted by Tim Roberts on July 6, 2008, 12:55 am
Please log in for more thread options
>
>...
>I noticed that they are relaying on HTML form value names to always be
>lowercase in their code (ie $_POST['save'] (fyi that may be typed
>wrong))

Nope, that's correct.

>...and from my experience it is always better, when reading in
>the post information to convert the the form value name to uppercase
>on the off chance that one web page may have NAME="save" and another
>may have NAME="Save", this way you can will always get the value.

I find this philosophy interesting. Because these names ARE
case-sensitive, I would consider it a programming error to use different
spellings in different web pages. It seems to me that this kind of
mangling is just hiding errors and inconsistancies. I mean, if the company
standard is that "<input> field names should always be in lower case", then
by golly they should always be in lower case, and a programmer who writes
NAME="Save" has committed an error.
--
Tim Roberts, timr@probo.com
Providenza & Boekelheide, Inc.

Posted by The Natural Philosopher on July 6, 2008, 5:12 am
Please log in for more thread options
Tim Roberts wrote:
>> ...
>> I noticed that they are relaying on HTML form value names to always be
>> lowercase in their code (ie $_POST['save'] (fyi that may be typed
>> wrong))
>
> Nope, that's correct.
>
>> ...and from my experience it is always better, when reading in
>> the post information to convert the the form value name to uppercase
>> on the off chance that one web page may have NAME="save" and another
>> may have NAME="Save", this way you can will always get the value.
>
> I find this philosophy interesting. Because these names ARE
> case-sensitive, I would consider it a programming error to use different
> spellings in different web pages. It seems to me that this kind of
> mangling is just hiding errors and inconsistancies. I mean, if the company
> standard is that "<input> field names should always be in lower case", then
> by golly they should always be in lower case, and a programmer who writes
> NAME="Save" has committed an error.

And you end up with the sort of mess this computer is in.
I decided to include case sensitivity in the OS-X re-format. Now I cant
install Adobe CS3.

Adobe being Mac people have always relied on the fact that case didn't
matter.

And can't cope with life when it does.

Its a pain when I have a pair of directories on a samba mount called
images and Images, and he computer wrecks the whole file system trying
to work out which is which.

Posted by Geoff Berrow on July 6, 2008, 11:29 am
Please log in for more thread options
Roberts contained the following:

>I find this philosophy interesting. Because these names ARE
>case-sensitive, I would consider it a programming error to use different
>spellings in different web pages.


Agreed but it may be sensible to allow for the possibility of the use of
incorrect case if the people preparing the html are not programmers.
Thanks to Bill Gates there are a lot of people who do not recognise that
case sensitivity exists.
--
Geoff Berrow 0110001001101100010000000110
001101101011011001000110111101100111001011
100110001101101111001011100111010101101011

Similar ThreadsPosted
Case Sensitive, Case Sensitivity, $_GET March 5, 2006, 3:27 pm
Case sensitivity in programming languages. July 25, 2006, 6:03 pm
PHP Post, then HTML Post? November 24, 2004, 5:54 pm
In case you need it.... March 29, 2007, 7:34 pm
$_GET and case. February 2, 2005, 5:37 pm
case syntax May 19, 2005, 9:30 am
case sensitiviness November 15, 2006, 5:53 am
Pls help a greenhorn with not case sensitive October 5, 2004, 3:48 am
php: case-INsensitive variables? February 17, 2005, 12:58 pm
File Name case check July 12, 2005, 7:57 pm

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap