Gossamer Forum
Home : Products : Gossamer Links : Development, Plugins and Globals :

Re: [Paul] detail_page.cgi updated

Quote Reply
Re: [Paul] detail_page.cgi updated In reply to
Probably, but I'd do it as:

my $in = $IN->get_hash;

and then pass %$in as there tends to be some random issues with passing complex data structure strings. These big long complex statements look cool, but there is often less trouble with a few shorter ones.


Actually, as I said, %$IN isn't really needed, it was an afterthought. There *are* problems with passing $IN in any form -- ie: only data that has been somehow "approved" should be passed on.

That's probably why I didn't do it before... but I wasn't having users login either. $USER is needed to pass the login information on through. That was the main idea here.

With the power of the template parser, your programs that call it should really know what is being passed in to them, and what is being sent out. If you need to accept arbitrary variables, prefix them prefix_ and pick them out, and check them out before sending them on. It's easy to get lazy, and to get caught up in the power of passing hashes, but good protection never goes out of style :)

All these plugins are undergoing rework, and updating to a more "modern" logic for Links 2.1.2 and above.

Once Community is released, my progamming will probably be limited to scripts that work under that, as all my site networks will be sharing different community "shell" log ons. We have 3 main projects going on, so it looks like 3 "communities" will be enabled.

I'm just really out of *time* to do anything. I'm working on a stress-related, sleep-deprived heart attack as it is.


PUGDOG� Enterprises, Inc.

The best way to contact me is to NOT use Email.
Please leave a PM here.
Subject Author Views Date
Thread detail_page.cgi updated pugdog 10471 Nov 4, 2002, 8:05 PM
Thread Re: [pugdog] detail_page.cgi updated
funodie 10307 Nov 6, 2002, 5:16 PM
Post Re: [funodie] detail_page.cgi updated
Payooo 10306 Nov 6, 2002, 7:05 PM
Thread Re: [funodie] detail_page.cgi updated
pugdog 10272 Nov 7, 2002, 10:00 PM
Thread Re: [pugdog] detail_page.cgi updated
Clint 10273 Nov 8, 2002, 12:49 PM
Thread Re: [Clint] detail_page.cgi updated
mrcry11 10256 Nov 12, 2002, 5:12 PM
Thread Re: [mrcry11] detail_page.cgi updated
pugdog 10142 Nov 14, 2002, 7:28 AM
Thread Re: [pugdog] detail_page.cgi updated
klauslovgreen 10067 Dec 4, 2002, 9:29 AM
Thread Re: [klauslovgreen] detail_page.cgi updated
pugdog 10034 Dec 11, 2002, 12:19 PM
Thread Re: [pugdog] detail_page.cgi updated
klauslovgreen 10076 Dec 14, 2002, 10:20 AM
Thread Re: [klauslovgreen] detail_page.cgi updated
pugdog 10002 Dec 15, 2002, 5:40 AM
Thread Re: [pugdog] detail_page.cgi updated
pugdog 10001 Jan 8, 2003, 10:37 PM
Thread Re: [pugdog] detail_page.cgi updated
Paul 9947 Jan 9, 2003, 1:07 AM
Thread Re: [Paul] detail_page.cgi updated
pugdog 9877 Jan 9, 2003, 9:57 PM
Thread Re: [pugdog] detail_page.cgi updated
Paul 9864 Jan 10, 2003, 2:47 AM
Thread Re: [Paul] detail_page.cgi updated
pugdog 9839 Jan 10, 2003, 9:10 AM
Thread Re: [pugdog] detail_page.cgi updated
Paul 9854 Jan 10, 2003, 9:48 AM
Post Re: [Paul] detail_page.cgi updated
pugdog 9838 Jan 10, 2003, 1:29 PM
Post Re: [pugdog] detail_page.cgi updated
mrcry11 10170 Nov 13, 2002, 9:40 PM