First of all I just started using cgi last week. So, if you see
something strange in my code it would be lack of knowledge. Here is the
question:
I have some lines that display stuff, then do more code, then display
more stuff. Is there a way to get the first stuff displayed before the
other co
###3
Rod,
"qw" stands for "Quoted Words". Something like :standard is called a
'bareword'. A bareword is something that is not recognized by the perl
parser. qw does the quoteing for you. "use CGI qw(:standard);" is the
same as writing "
Rod Jenkins <[EMAIL PROTECTED]> wrote:
:
: First of all I just started using cgi last week.
: So, if you see something strange in my code it
: would be lack of knowledge.
: Here is the
: question:
:
: I have some lines that display stuff, then do
: more code, then display more stuff. Is there
On 10 Jul 2003 10:41:54 -0500, Rod Jenkins wrote:
> First of all I just started using cgi last week. So, if you see
> something strange in my code it would be lack of knowledge. Here is the
> question:
>
> I have some lines that display stuff, then do more code, then display
> more stuff. Is th
I have done perl for awhile, but I was self taught. I did what works,
now I am trying to do it right. IE: With style.
Thanks for the info.
> Welcome to perl,
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Beginners-CGI;
If I have a form with a lot of values (such as Tech ID, Tech Name, Tech
Queues..) and one of the fields is a select multiple, with a varied amount of
options selected, how are those values sent to the cgi script?
Is it something like ?queue=lvl1,lvl2,admin,sysad&foo=bar or what?
T
On Thu, 10 Jul 2003 11:39:23 -0800, "Dennis Stout" <[EMAIL PROTECTED]> wrote:
> Beginners-CGI;
>
> If I have a form with a lot of values (such as Tech ID, Tech Name, Tech
> Queues..) and one of the fields is a select multiple, with a varied amount
> Because there is no way to create a delimiter that the potential data
doesn't contain, the browser doesn't have the option to choose an arbitrary
delimiter like a comma, or the like. So (though I can't speak for all
browsers most will do the same) each value is passed with the same key, so
your
#!/usr/bin/perl -w
use strict;
use warnings;
use CGI::Carp 'fatalsToBrowser';
use CGI qw/:standard/;
use Net::FTP;
my $ftp = Net::FTP->new("ftp.yourserver.com", Debug => 0)
or die "Cannot connect to some.host.name: $@";
$ftp->login("username",'password')
or die "Cannot login ", $ftp->message;
ARHG.
I want to stay as far away from use CGI; as possible =/
*sigh*
mod_perl and the methods available in the apache request object shuold beable
to replace CGI.pm entirely, especially when you have a highly customized
RequestHandler :/
Guess I'll see what happens, since I need cookie headers
Dennis Stout wrote:
ARHG.
I want to stay as far away from use CGI; as possible =/
*sigh*
mod_perl and the methods available in the apache request object shuold beable
to replace CGI.pm entirely, especially when you have a highly customized
RequestHandler :/
Guess I'll see what happens, since I n
Greetings,
In a checkbox form, how can I change the attribute for the "label"
text below to Arial instead of the default?
$cgi->checkbox(-name=>'checkboxname',-value=>'turned on',-label=>"I want
Arial here");
Thank you.
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-
I have an application that passes params around in the url. We need to
hide these for security reasons. We also don't want to have to change a
lot of code. Any ideas?
Thanks,
Ryan
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
On Thu, Jul 10, 2003 at 01:29:06PM -0500, ryan whippo wrote:
> I have an application that passes params around in the url. We need to
> hide these for security reasons. We also don't want to have to change a
> lot of code. Any ideas?
Hiding params doesn't add any level of real security. So lo
On Thu, Jul 10, 2003 at 01:29:06PM -0500, ryan whippo wrote:
> I have an application that passes params around in the url. We need to
> hide these for security reasons. We also don't want to have to change a
> lot of code. Any ideas?
Yes... don't do this.
Anything in the URL is visible, as is
At 01:29 PM 7/10/03 -0500, ryan whippo wrote:
I have an application that passes params around in the url. We need to
hide these for security reasons. We also don't want to have to change a
lot of code. Any ideas?
Ryan,
I presume that you mean you are using the GET method (which tacks the
param
POST versus GET.
POST won't pass the value in the url.
This doesn't prevent someone from doing a view source and reading the text, but
A crypt() on the parameters would be a good idea, then pass the encrypted
string around.
S.T.O.U.T. = Synthetic Technician Optimized for Ultimate Troublsho
17 matches
Mail list logo