good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
Re: Re: Creating dynamically named CGIsby ryan (Pilgrim) |
on Feb 13, 2002 at 15:01 UTC ( [id://145176]=note: print w/replies, xml ) | Need Help?? |
Yes, most definately, thanks for the reinforcement. Thanks to all who replied, most helpful, keeping to my usual style I normally post what I ended up doing and why: I've gone with the $ENV{PATH_INFO} idea, because the header stuff caused double prompts and general mess in IE, worked perfectly in Opera though. However, I'm not actually using the $ENV{PATH_INFO} contents, I'm just calling the CGI in that style and passing the required info via post such as below, 'run' is the CGI and 'cda' is an ExecCGI-d directory: This is almost a shortcut I guess, looks neat from the client side and works well in all cases. As long as I check for tainted posts it seems to do what I want. Update: I have now changed the above so that the filename hidden field passes a database id instead of the actual filename to make it less h4x0rable.
In Section
Seekers of Perl Wisdom
|
|