Hey Alex,
I would be great if you could helps us out a little more. What kind of
server are you using? IIS? Check the help section of the IIS Management
Console: Start Run mmc on how to restrict access to directories. If you
want to do the restriction based on cookies then you can use
what sort of network programming, what do you want to achieve?
On Sun, Aug 11, 2002 at 08:45:25PM +, [EMAIL PROTECTED] wrote:
Hello there. Do you know where can I find a good Perl Network Programming Tutorial??
Thank you.
I've got what amounts to a control panel or preferences settings system that
uses HTML and perl scripts. I'm running this on Mandrake Linux 8.2 with
Apache 1.3. I have two pages that interact with each other. The 2nd page,
the one I'm having problems with, has a number of checkboxes, drop
Jimmy --
...and then Jimmy George said...
%
% Hello World
Hi!
%
% David pointed out that the \n is not applicable in the context I was in
% and that the html br was. Of course! Only silly tired people like me
% do dumb things like that after having been using them in text
% definitions for
Running Perl as a CGI will *not* cache any variables (or anything else).
Each time the script is called the Perl executable will be started, and when
finished it will free all memory that it was using. If you are using
mod_perl it is a little different. mod_perl will cache a script (and any
-Original Message-
From: Niko Gunadi [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, August 13, 2002 9:23 PM
To: Beginners cgi
Subject: Cache problem in IE
Hi,
I developed an online polling system where ppl can vote online. This
voting is done in a computer room where people come
Jim, et al --
...and then Jim Lundeen said...
%
% on a side note: does anyone know the % of people that actually disable
% javascript in their browser? can javascript actually be used to harm (lets
100% of the people on my computer do :-)
% pretend those annoying pop-up windows don't
You guys are being very childish.. I myself have sent an e-mail to the
unsubscribe e-mail address on another of my names and it has yet to
unsubscribe that e-mail ... so maybe you should realize that it may not be
working correctly and not just assume that someone is stupid And yes he
has
Hi David and thanks
True 755 is required for both read and execute by the group and world.
But all the directories and html code in my home site are all 744. I
have the cgi-bin folder on 711 as that I thought (under Apache anyway)
was supposedly only accessible by the owner but the
Hey folks,
We don't need to have these sort of comments and flames to the list. I
had emailed this person off list to give him other ways to unsubscribe
(and have not heard back). Many times, people seem to try to
unsubscribe from email addresses which aren't the ones subscribed to
the list.
HI,
I'm having difficulties using the CGI module, I've read over the module but it's not
sinking in.
Any help would be greatly appreciated -- Pam
the html form can be seen at:
www.unex.berkeley.edu/test2/av_form.html
the output of the form is sent to a file and also emailed
the problems
Hi Pam,
On Wed, Aug 14, 2002 at 08:37:46AM -0700, Pam Derks ([EMAIL PROTECTED]) said
something similar to:
[snip]
elsif ($av_equip eq slide || tvvcr || lcd || boombox || overhead ||
opaque || flipchart || projection) {
This is basically like saying:
elsif ($foo eq bar || 1 || 1 || 1 || 1)
Hi Kevin,
I've changed per your suggestion to:
elsif ($av_equip eq slide) {
if ($date_slide eq ) {
print $q - h3(), Please enter date needed for 35mm Slide Projector.;
}
}
but the error checking isn't working,
i.e. if I've got 35mm checked, the error message isn't being displayed
any
Well, what exactly is the value of $av_equip and $date_slide at this
time? Add a few print statments in for debugging, use CGI::dump() to
see what is really being passed in. You may not be storing the values
you expect in these variables.
Cheers,
Kevin
On Wed, Aug 14, 2002 at 09:28:22AM -0700,
Hello All,
I created a simple http upload file routine that uploads file into my
accounts sub folder uploads, /home/myaccount/uploads. This is
already running.
Now what I wanted to do is retrieve the uploaded file from the
browser, and display the content in the browser if it is an image or
a
Code 1: It didnt work...
#!/usr/bin/perl
use CGI;
$query = new CGI;
my $filepath='/home/myaccount/uploads/laptop.jpg';
print $query-header('image/jpeg');
print $filepath;
Of cause, you didn't open the file and read the file.
You are trying to print
Hello,
I'm working on a project where I need to split various tag numbers, from a
standard set of prefixes, entered into a form and check the number against a
database.
A sample test code that works, but was wondering if there's a better way to
utilize the regrex of this code:
# @tags
This works for me...
# sample data
my @tags = qw(K001900 L001234 GP001675);
my @prefixs = qw(SP 8 L K GP TP MP);
# join them with pipes for use in the regex
my $prefix = join('|', @prefixs);
# match prefix against each tag, seprate the parts.
# the o switch cause the regex to only compile
Hi Rob,
Yea, I think that would work better, much appreciated ;)
Hanson, Rob wrote:
This works for me...
# sample data
my @tags = qw(K001900 L001234 GP001675);
my @prefixs = qw(SP 8 L K GP TP MP);
# join them with pipes for use in the regex
my $prefix = join('|', @prefixs);
#
Hello,
i have used cgi-lib for awhile, but have just been
given the job of securing my companies perl files and
have started using cgi.pm plus all the security
restrictions and have come across a problem.
I have this code that redirects just fine, gives me no
errors, yet will NOT send out the
A cursory look at the code appears ok, you are positive that there are
no errors given, have you tried running it command line??
What does sendmail's log file look like??? The program may be sending
to sendmail, it may not be complaining back immediately, but it might be
complaining later
In other words what Rob is asking ;-) is are you using mod_perl or plain
cgi, and in the case of plain CGI, what browser are you using? what
version of that browser? and have you tried other browsers, on other
OSes, on other computers with what results???
http://danconia.org
Hanson, Rob
22 matches
Mail list logo