Sorry! I meant my population, as in the users of this program. This is only
for members of a student group on campus. It will be open on the web, but
anyone not in our member roster will be tossed out. My college career
centers require word resumes for various resume book compilation, so
everyo
Hi Everybody,
I am trying to send an array as a hidden value in my script as follows:
@array = (eggs, ham, bread, pop);
foreach $food (@array){
print "";
}
My two questions are:
1. Is this the most efficient way of sending an array as a hidden value?
2. And if so, what is the corresponding
Hello Curtis,
It works!!
Start Perl stuff...
End Perl stuff...
print<
base-02.html
Content
container
The:-
print "Content-type: text/html\n\n";
produced a error in the browser for some reason.
Many thanks for all your help.
(I am not entirely certain of what is g
Justin,
Whoops! Hadn't thought of that.
Belt 'n suspenders is good. I'm sold. Besides, I'm am anthropomorphic enough
to understand that my server has feelings, too.
John--
[EMAIL PROTECTED]
-Original Message-
From: Justin Simoni [mailto:[EMAIL PROTECTED]]
Sent: Thursday, August 23, 20
--- Advance Design - Vance <[EMAIL PROTECTED]> wrote:
> Hello Curtis,
>
> I am just returning a complete html document from the perl file ...
Vance,
It sounds like that could be the problem. Generally, when printing a Web page from a
CGI script,
you need to supply a content-type header to let
Hello Curtis,
I am just returning a complete html document from the perl file using the following:
(perl in blue, html in red)
Start Perl stuff...
End Perl stuff...
print<
base-02.html
Content
container
Your email suggests I should have a content-type header included in here somewh
--- Advance Design - Vance <[EMAIL PROTECTED]> wrote:
> Hi Joel,
> Thanks for the fast reply.
> This is the html document heads.
>
> I have tried "messing" about with these, but with
> no change in result.
>
> Transitional//EN">
>
>
> base-02.html
>
>
>
> content="keyword,keyword">
>
Ac
Situation: My perl script (see Code: below) is being
handed a flatfile (see File: below) generated from a
database to do a mass mailing that will send a message
generic to the flatfile but with each recepient
receiving a unique username and password.
The message part of the file is being input by
Darren,
try
App::Config
Jeffl
On 2001.08.23 15:27 darren chamberlain wrote:
> James Kelty <[EMAIL PROTECTED]> said something to this effect on
> 08/23/2001:
> > I would like to set up a configuration file for a CGI that I am writing
> > so that it will be portable without
> > editing the actual
James Kelty <[EMAIL PROTECTED]> said something to this effect on 08/23/2001:
> I would like to set up a configuration file for a CGI that I am writing
> so that it will be portable without
> editing the actual cgi. Stuff like administator email's, network
> segments, and the like.
>
> Is there a
Check any 'Content-type' header that you send. The header should be
'Content-type: text/html'. If you are not sending a 'Content-type' header,
then you should be. To do this simply put one of the following statements
in your code:
# if you are using Lincoln Stein's CGI.pm module.
print CGI->he
Hello.
I would like to set up a configuration file for a CGI that I am writing
so that it will be portable without
editing the actual cgi. Stuff like administator email's, network
segments, and the like.
Is there a way to source the file for the cgi to read, or do I have to
add a require statmen
> I'd thought of using JavaScript, but I'm sunk if the user has Jscript
turned
> off on their PC and I felt I wanted a little more surety on this being
> checked. I am going to re-visit the idea, however.never hurts to do
both,
never hurts to do both, your server will thank you for the les
Hi Joel,
Thanks for the fast reply.
This is the html document heads.
I have tried "messing" about with these, but with
no change in result.
base-02.html
Thanks,
Vance.
[EMAIL PROTECTED]
- Original Message -
From: "Joel Hughes" <[EMAIL PROTECTED]>
To: "Advance Design - Vance"
--- Advance Design - Vance <[EMAIL PROTECTED]> wrote:
> Hello
> I have written some web pages incorporating Forms and Perl processing on the server.
>Everything
> works fine on my IE 5.5 Browser but when I use the Netscape 4.7 and Opera 5.12
>browsers, the
> HTML sent back from the Perl programm
John,
Thanks for the idea.
I'd thought of using JavaScript, but I'm sunk if the user has Jscript turned
off on their PC and I felt I wanted a little more surety on this being
checked. I am going to re-visit the idea, however.
My current Perl code does catch the error and return a form to the us
For myself I would prefer not to "abort" a script on this type of error...
A simple JavaScript to check for the max size of a textarea and an "alert"
is a much better way to handle this type of error, in my option... see
"OnSubmit" in some JavaScript reference and you should be able to find an
ex
maybe you've made a mistake with your HTTP headers which IE5.5 is being
forgiving about but Opera and Netscape are complaining about (Opera is quite
strict - which is good of course!).
Can you check the headers that you are producing and post them to the group?
regards
Joel
-Original Messa
Lisa,
Thanks!
I synthesized from your answer and realized that my use of 'use CGI::Carp
qw/fatalsToBrowser/;' was having me die long before I could have the code
handle the problem. I commented out the '...Carp...' block and, indeed, my
builtin code handled the error the way I'd intended.
I was
On Thu, 23 Aug 2001, Qichao Dong (Leon) wrote:
> I want to do some research on Perl's transplantability, so I would like to
> know how an Apache server invokes Perl interpreter - in the case of
> mod_cgi instead of mod_perl.
Have you tried http://perl.apache.org?
-- Brett
Hello
I have written some web pages incorporating Forms and Perl processing on the server.
Everything works fine on my IE 5.5 Browser but when I use the Netscape 4.7 and Opera
5.12 browsers, the HTML sent back from the Perl programme appears as (source) text.
Do you have any ideas why.
Thanks
test
-Original Message-
From: Qichao Dong (Leon) [mailto:[EMAIL PROTECTED]]
Sent: Thursday, August 23, 2001 2:21 PM
To: [EMAIL PROTECTED]
Subject: How does Apache invoke Perl interpreter
Hi,
I want to do some research on Perl's transplantability, so I would like
to
know how an Apache s
Hi,
I want to do some research on Perl's transplantability, so I would like to
know how an Apache server invokes Perl interpreter - in the case of
mod_cgi instead of mod_perl.
If anyone knows, or can redirect me to some documentation on the mechanism
of Apache, please give me a hint. Thank you.
NAME
beginners-faq - FAQ for the beginners-cgi mailing list
1 - Administriva
1.1 - I'm not subscribed - how do I subscribe?
Send mail to <[EMAIL PROTECTED]>
You can also specify your subscription email address by sending email to
(assuming [EMAIL PROTECTED] is your email addr
Hi,
On Thu, 23 Aug 2001, John wrote:
> The current incarnation of my script blows itself out of the water if the
> $user_body variable (the TEXTAREA source) is greater than 4K, for example.
> This is good.
>
> I would like to be able to capture and control the process so that I don't
> get rude
At 17:31 23/08/01, Ryan wrote:
>^M's galore. The 'auto' setting on WS_ftp must not do much.
By default WS_ftp will only be expecting files with certain extensions (eg.
.txt, .htm) to be ASCII. So 'auto' will upload your .cgi or .pl files as
binary. You can change these defaults on the Options
>
>cat -vet script.cgi | more
>
^M's galore. The 'auto' setting on WS_ftp must not do much.
>in-place edit:
>
>perl -pi -e 's/\r//g' script.cgi
>
>Just make sure to back up your script, first.
worked like a charm, eliminating all the ^M's
When I tried it out, the program still crash
Hi all,
I would appreciate some guidance in the use of CGI::POST_MAX. I've listed a
snippet of relevant code below from my program to illustrate.
When reading in data fields from an HTML form, I want to limit the size of
the data accepted from a TEXTAREA box. I don't want to depend upon my ISPs
--- Ryan Davis <[EMAIL PROTECTED]> wrote:
> 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 se
>Roger C Haslock wrote:
>>
>> Just an aside, but what is the point of format => 'Application/msword' ?
>>
>> Anyone can rename their file to look like '*.doc', and you can only
>> determine the file content when you have uploaded it ( at which point you
>> SHOULD check).
>
>not to mention yo
>Roger C Haslock wrote:
>>
>> Just an aside, but what is the point of format => 'Application/msword' ?
>>
>> Anyone can rename their file to look like '*.doc', and you can only
>> determine the file content when you have uploaded it ( at which point you
>> SHOULD check).
>
>not to mention you
Roger C Haslock wrote:
>
> Just an aside, but what is the point of format => 'Application/msword' ?
>
> Anyone can rename their file to look like '*.doc', and you can only
> determine the file content when you have uploaded it ( at which point you
> SHOULD check).
not to mention you may offend
Just an aside, but what is the point of format => 'Application/msword' ?
Anyone can rename their file to look like '*.doc', and you can only
determine the file content when you have uploaded it ( at which point you
SHOULD check).
Regards
- Roger -
- Original Message -
From: "Ryan Davis
33 matches
Mail list logo