I set this up on a Win98 machine a few months ago, and I there is a place in
the Apache httpd.conf to choose whether a shebang line is interpreted or if
Perl's location is taken from the registry:
#takes Perl location from registry:
ScriptInterpreterSource registry
#takes Perl location from sheb
C Haslock
<[EMAIL PROTECTED]>
Cc: Ryan Davis <[EMAIL PROTECTED]>
Sent: Thursday, August 23, 2001 9:37 PM
Subject: Re: Re: File upload problems still!
>
> > In the end, they are going to put on a resume CD, with a VB front end,
> and Word
> > is used to do keyword sea
Curtis+List,
I checked out the CGI::Safe.pm module, and so far, I'm having the same
problem. The script goes to "Just about to get your resume!"; then quits.
I don't have access to server logs, so I don't know what is going on. I
think my server is running Apache, and I've been snooping to try
ssions of the resumes/ folder,
from 644, 744, 711, but I figured all it really needs is owner rwx, since the
script runs as me.
Could this be a server related thing? There
may be other issues with the script, (SECURITY) but for now, I just want
something functional. Any help would be appreciate
OK, I know this is getting a little off-topic, but I think security is a big
issue, especially with newbies like myself, and deserves some good
discussion. Also, there's probably not a perl-cgi-beginners-security list,
nor should there be.
I looked at the perlmonks article, and had some trouble m
Instead of notepad and command line, try the "Programmer's File Editor"
http://www.lancs.ac.uk/people/cpaap/pfe
or on download.com
It has line numbering and a host of other handy features, and is freeware.
Also, UltraEdit is good, but it's not free. It has syntax highlighting, but
I'm too che
the message _out_ of digest form.
Thanks,
Ryan
- Original Message -
From: Curtis Poe <[EMAIL PROTECTED]>
To: CGI Beginners <[EMAIL PROTECTED]>
Sent: Wednesday, August 08, 2001 11:00 AM
Subject: Re: Cookies and Security
> --- Ryan Davis <[EMAIL PROTECTED]> wrot
While on the topic of good/bad questions, notice the response the MySQL
question recieved. It was a very specific, well worded question, and got an
overwhelming response.
As far as tension, I think the culture of Perl goes against that, and most
subscribers to this list also have at least a litt
Hey all,
I have a password protected area, and after the user puts in their password, I store
it in a cookie, and the CGI reads that cookie every time to determine if the user is
logged in or not. I figured this was safer than passing a 'loggedin' param as a
hidden field, but I'm not sure if
You could pass two arguments to the debugLogger, one the message, and the
other the sub name. So it would be:
sub x{
stuff
$sub_name = ""; # Get the subroutine name.This is what i need to grep.
debugLogger($sub_name, $message);
}
Then the debugLogger just has to print. I know that
My solution is a little more general. I wrote this so my CGI could fit into
HTML created using Dreamweaver templates. In the Dreamweaver template
wherever I want my perl to write, I put a unique string, like "perlinsert".
Then I call a subroutine to put the html into an array, and print it as
ne
Use Mail::Sendmail. That worked for me, using -T.
Ryan
- Original Message -
From: mark crowe (JIC) <[EMAIL PROTECTED]>
To: CGI Beginners <[EMAIL PROTECTED]>
Sent: Friday, August 03, 2001 8:24 AM
Subject: Untainting for Mail::Send
> Hi
>
> Following Randal's (and other's) comments about
There actually is a setting to use the shebang line with Apache for Win32
and activestate. There's not much point to it, but since I test CGIs at
home, and my server is unix, it lessens the transition. Of course, half the
things I do can't run on Windows, but it works for the basics. (some of
th
The Javascript way is:
Just try to click this
link!
But some people turn their Javascript off, and older browsers might have
trouble. I'd be a better idea to disable the link with the CGI. You could
make the text match your link style, but not have it be a link...
hth,
Ryan
- Original M
I figure someone here might know, and I've been wondering for years.
Where did 'foo' and 'bar' come from?
Thanks,
Ryan
s?
Thanks,
Ryan Davis
For those of you trying to get your CGI's to send mail AND use -T, here's the solution
I found, and for those of you who know what they're doing, please let me know if I
have any gaping security holes here.
First, create a small shell script that looks like this:
#!/usr/bin/sh
/usr/bin/mail
iptop <[EMAIL PROTECTED]>
To: Ryan Davis/Pamela Karr <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Thursday, July 26, 2001 11:16 AM
Subject: Re: Still having problems sending mail...
> Ryan Davis/Pamela Karr wrote:
> >
> > I'm still trying to get my scrip
I'm still trying to get my script to send some a simple email. I looked up
some examples, namely : http://perlfect.com/articles/sendmail.shtml,
but it still doesn't work. I'm using the -T switch, and heres the code
fragment:
First, I define my variables:
#variables for sending mail
my $sendmai
I'm trying to get email myself the results of a form, so I can moderate a
list, and delete an entry if anyone puts in cuss words... I'm trying to do
it with a
system("\(mail [EMAIL PROTECTED] < messages\)\&");
The page loads to this point, then quits. I put the & in to run the mail
program in
20 matches
Mail list logo