Gossamer Forum
Home : Products : Gossamer Links : Discussions :

Re: [Paul] Auto Generate Form Fields

Quote Reply
Re: [Paul] Auto Generate Form Fields In reply to
<G> Actually I realized that all that passing in was unnecessary -- redundant here, but I was commenting on the point about $select and $IN->_whatever_ being equally insecure. $select is "better" for the reasons above.

$IN should only be used in the original .cgi, or when you think the original .cgi didn't pass it in, or you are desperately trying to find a value, any value, and not bomb. But it's a risk. Are you grabbing the $IN that was, or the $IN that is now?

Once you call other modules (the jump.cgi / Jump.pm type construct, excluded) you should use explicitly passed values. Especially in things like the globals, or called functions from the templates. $IN will be unreliable. Even in the Jump.pm type construct, $IN should be called as soon as possible, then assigned to $in if needed more than initially. You at least know you have a uniform snapshot of what was in $IN when you started to work with it.

$IN is out of the modules control, but $in is encapsulated as best as perl can do it.

We've differed on this for quite a while now <G> But I'm old-school, and like to play it safe.


PUGDOG� Enterprises, Inc.

The best way to contact me is to NOT use Email.
Please leave a PM here.
Subject Author Views Date
Thread Auto Generate Form Fields sangiro 17959 Feb 3, 2001, 6:33 PM
Post Re: Auto Generate Form Fields
pugdog 17023 Feb 4, 2001, 11:52 PM
Thread Re: Auto Generate Form Fields
Alex 17153 Feb 5, 2001, 3:04 PM
Thread Re: Auto Generate Form Fields
sangiro 17183 Feb 6, 2001, 8:59 PM
Post Re: Auto Generate Form Fields
yanzi 17060 Feb 10, 2001, 10:48 PM
Thread Re: Auto Generate Form Fields
sangiro 17146 Feb 11, 2001, 7:14 PM
Thread Re: Auto Generate Form Fields
Alex 17121 Feb 12, 2001, 2:41 PM
Thread Re: Auto Generate Form Fields
sangiro 17073 Feb 12, 2001, 3:03 PM
Thread Re: Auto Generate Form Fields
Alex 17618 Feb 17, 2001, 12:02 PM
Thread Re: Auto Generate Form Fields
Sir Up 17100 Feb 17, 2001, 1:05 PM
Post Re: Auto Generate Form Fields
sangiro 16940 Feb 17, 2001, 3:35 PM
Post Re: Auto Generate Form Fields
Sir Up 16967 Feb 19, 2001, 5:58 AM
Post Re: Auto Generate Form Fields
Sir Up 16870 Feb 21, 2001, 5:05 AM
Thread Re: Auto Generate Form Fields
sangiro 16913 Feb 22, 2001, 8:39 PM
Thread Re: Auto Generate Form Fields
Alex 16949 Feb 24, 2001, 8:54 AM
Thread Re: Auto Generate Form Fields
Addy 16931 Mar 1, 2001, 8:41 AM
Thread Re: Auto Generate Form Fields
Alex 16906 Mar 1, 2001, 2:17 PM
Thread Re: Auto Generate Form Fields
Addy 16865 Mar 2, 2001, 8:02 AM
Thread Re: Auto Generate Form Fields
Alex 16887 Mar 2, 2001, 9:20 AM
Thread Re: Auto Generate Form Fields
Addy 17221 Mar 2, 2001, 10:55 AM
Thread Re: Auto Generate Form Fields
Alex 16897 Mar 2, 2001, 11:16 AM
Post Re: Auto Generate Form Fields
Addy 16655 Mar 6, 2001, 5:37 AM
Thread Post deleted by Addy
Addy 12733 Mar 6, 2001, 5:38 AM
Thread Re: Auto Generate Form Fields
Addy 12665 Mar 8, 2001, 8:44 AM
Post Re: Auto Generate Form Fields
Sir Up 12415 Mar 9, 2001, 11:51 AM
Thread Re: Auto Generate Form Fields
Alex 12608 Mar 9, 2001, 1:36 PM
Post Re: Auto Generate Form Fields
Sir Up 12367 Mar 11, 2001, 11:45 AM
Thread Re: [Alex] Auto Generate Form Fields
sangiro 13302 Apr 6, 2003, 5:52 PM
Thread Re: [sangiro] Auto Generate Form Fields
webmaster33 13269 Apr 7, 2003, 4:14 PM
Thread Re: [webmaster33] Auto Generate Form Fields
sangiro 13288 Apr 7, 2003, 7:06 PM
Thread Re: [sangiro] Auto Generate Form Fields
webmaster33 13323 Apr 8, 2003, 1:01 AM
Thread Re: [webmaster33] Auto Generate Form Fields
DogTags 13338 Apr 8, 2003, 6:47 AM
Thread Re: [DogTags] Auto Generate Form Fields
webmaster33 13466 Apr 8, 2003, 7:16 AM
Thread Re: [webmaster33] Auto Generate Form Fields
sangiro 13216 Apr 19, 2003, 6:07 PM
Post Re: [sangiro] Auto Generate Form Fields
webmaster33 13160 Apr 20, 2003, 3:53 AM
Thread Re: [sangiro] Auto Generate Form Fields
Paul 13271 Apr 20, 2003, 4:19 AM
Thread Re: [Paul] Auto Generate Form Fields
sangiro 13230 Apr 20, 2003, 11:17 PM
Thread Re: [sangiro] Auto Generate Form Fields
webmaster33 13252 Apr 21, 2003, 12:29 AM
Thread Re: [webmaster33] Auto Generate Form Fields
sangiro 13241 Apr 21, 2003, 12:35 AM
Thread Re: [sangiro] Auto Generate Form Fields
webmaster33 13202 Apr 21, 2003, 12:54 AM
Thread Re: [webmaster33] Auto Generate Form Fields
sangiro 13231 Apr 21, 2003, 1:00 AM
Post Re: [sangiro] Auto Generate Form Fields
webmaster33 13111 Apr 21, 2003, 1:08 AM
Thread Re: [sangiro] Auto Generate Form Fields
Paul 13254 Apr 21, 2003, 1:45 AM
Post Re: [Paul] Auto Generate Form Fields
pugdog 13085 Apr 21, 2003, 7:35 PM
Post Re: [Paul] Auto Generate Form Fields
sangiro 13157 Apr 21, 2003, 7:53 PM
Thread Re: [Paul] Auto Generate Form Fields
sangiro 13198 Apr 21, 2003, 8:17 PM
Thread Re: [sangiro] Auto Generate Form Fields
pugdog 13184 Apr 21, 2003, 9:54 PM
Thread Re: [pugdog] Auto Generate Form Fields
sangiro 13134 Apr 21, 2003, 10:17 PM
Post Re: [sangiro] Auto Generate Form Fields
pugdog 13059 Apr 22, 2003, 2:05 AM
Thread Re: [sangiro] Auto Generate Form Fields
Paul 13131 Apr 22, 2003, 1:14 AM
Thread Re: [Paul] Auto Generate Form Fields
sangiro 10997 May 13, 2003, 10:12 PM
Thread Re: [sangiro] Auto Generate Form Fields
pugdog 11007 May 14, 2003, 1:02 AM
Thread Re: [pugdog] Auto Generate Form Fields
sangiro 10927 May 14, 2003, 10:13 AM
Thread Re: [sangiro] Auto Generate Form Fields
Paul 11011 May 14, 2003, 10:56 AM
Thread Re: [Paul] Auto Generate Form Fields
sangiro 10917 May 14, 2003, 11:50 PM
Thread Re: [sangiro] Auto Generate Form Fields
pugdog 10847 May 15, 2003, 4:49 AM
Thread Re: [pugdog] Auto Generate Form Fields
Paul 10842 May 15, 2003, 4:58 AM
Thread Re: [Paul] Auto Generate Form Fields
pugdog 10835 May 15, 2003, 6:11 AM
Thread Re: [pugdog] Auto Generate Form Fields
Paul 10979 May 15, 2003, 6:14 AM
Thread Re: [Paul] Auto Generate Form Fields
pugdog 10897 May 15, 2003, 6:30 AM
Thread Re: [pugdog] Auto Generate Form Fields
Paul 10956 May 15, 2003, 6:39 AM
Thread Re: [Paul] Auto Generate Form Fields
pugdog 10909 May 15, 2003, 12:27 PM
Thread Re: [pugdog] Auto Generate Form Fields
sangiro 11425 May 17, 2003, 3:24 PM
Post Re: [sangiro] Auto Generate Form Fields
Paul 10820 May 18, 2003, 3:09 AM
Thread Re: [sangiro] Auto Generate Form Fields
pugdog 10957 May 18, 2003, 6:26 PM
Thread Re: [pugdog] Auto Generate Form Fields
Paul 10835 May 18, 2003, 6:36 PM
Post Re: [Paul] Auto Generate Form Fields
sangiro 10727 Oct 26, 2003, 5:47 PM
Thread Re: [Paul] Auto Generate Form Fields
sangiro 10950 May 14, 2003, 11:59 PM
Post Re: [sangiro] Auto Generate Form Fields
Paul 10856 May 15, 2003, 1:32 AM
Post Re: [sangiro] Auto Generate Form Fields
webmaster33 10934 May 14, 2003, 1:03 AM
Thread Re: [DogTags] Auto Generate Form Fields
Paul 13245 Apr 8, 2003, 7:32 AM
Post Re: [Paul] Auto Generate Form Fields
DogTags 13215 Apr 8, 2003, 8:08 PM
Thread Re: Auto Generate Form Fields
Paul 12532 Mar 9, 2001, 12:56 PM
Post Re: Auto Generate Form Fields
Addy 12514 Mar 9, 2001, 3:26 PM
Post Re: [Alex] Auto Generate Form Fields
sangiro 11882 Sep 30, 2002, 9:49 AM
Post Re: Auto Generate Form Fields
kimroan 16940 Feb 12, 2001, 6:11 PM
Post Re: Auto Generate Form Fields
sangiro 16968 Feb 16, 2001, 4:23 PM
Post Re: Auto Generate Form Fields
Sir Up 16995 Feb 17, 2001, 1:36 AM
Thread Re: Auto Generate Form Fields
DogTags 12457 Sep 3, 2001, 8:10 PM
Thread Re: Auto Generate Form Fields
Alex 12438 Sep 4, 2001, 1:02 PM
Thread Re: Auto Generate Form Fields
DogTags 12510 Sep 5, 2001, 10:19 AM
Post Re: Auto Generate Form Fields
Alex 12233 Sep 5, 2001, 11:42 AM
Thread Re: [Alex] Auto Generate Form Fields
DogTags 12225 Nov 18, 2001, 5:14 AM
Post Re: [DogTags] Auto Generate Form Fields
DogTags 12170 Nov 27, 2001, 10:56 PM
Thread Re: [DogTags] Auto Generate Form Fields
brewt 12316 Nov 27, 2001, 11:02 PM
Thread Re: [brewt] Auto Generate Form Fields
DogTags 12272 Nov 28, 2001, 6:34 AM
Thread Re: [DogTags] Auto Generate Form Fields
Paul 12216 Nov 28, 2001, 7:16 AM
Post Re: [PaulW] Auto Generate Form Fields
DogTags 12133 Nov 28, 2001, 11:21 AM
Post Re: [Alex] Auto Generate Form Fields
Sir Up 12045 Jan 10, 2002, 1:31 PM
Thread Re: [sangiro] Auto Generate Form Fields
DogTags 12130 Jul 11, 2002, 1:39 PM
Thread Re: [DogTags] Auto Generate Form Fields
Aki 12040 Jul 11, 2002, 4:12 PM
Thread Re: [Aki] Auto Generate Form Fields
DogTags 12074 Jul 12, 2002, 7:56 AM
Thread Re: [DogTags] Auto Generate Form Fields
Aki 12056 Jul 12, 2002, 9:45 AM
Post Re: [Aki] Auto Generate Form Fields
DogTags 11950 Jul 12, 2002, 9:09 PM
Post Re: [Aki] Auto Generate Form Fields
DogTags 11948 Jul 12, 2002, 10:39 PM