On Tue, 26 Jun 2001, Gary Stainburn <[EMAIL PROTECTED]> wrote,
> Hi all,
>
> I've written a perl script that creates PDF files containing our sales
> invoices and it works fine writing the PDF's to disk. (Actually it creates a
> postscript file and runs ps2pdf).
>
> I now want to embed this insid
On Fri, 15 Jun 2001, Robert Watterson <[EMAIL PROTECTED]> wrote,
> Hi all,
>
> I have a line that has each field separated by commas. However, some of
> individual fields are double quoted strings and also have embedded commas in
> them. for example:
>
> Value1,"Value2, blah,blah,blah",Value3,"V
On Wed, 13 Jun 2001, Karthik Krishnamurthy <[EMAIL PROTECTED]> wrote,
> in that case shouldnt both scripts unable to access that environment variable ?
You're right. I misread Kevin's last question. We need to know
how both script access the variable and how they get called.
__END__
--
s::a
On Wed, 13 Jun 2001, Kevin Hancock <[EMAIL PROTECTED]> wrote,
> I have two scripts both on the same server, both in the same directory
> even. One has access to the UNIQUE_ID and the other does not. If it is
> magically part of the environment why cannot both scripts use it?
Because your apache
On Tue, 12 Jun 2001, Peter Cline <[EMAIL PROTECTED]> wrote,
> Last week I opted to use the CGI.pm module to print headers for me since I
> was having trouble using print "Content-type: text/html \n\n"
That's good, but CGI.pm is actually not for printing header only.
> Now, I am being told that
On Fri, 8 Jun 2001, Hasanuddin Tamir <[EMAIL PROTECTED]> wrote,
> On Fri, 8 Jun 2001, Aaron Craig <[EMAIL PROTECTED]> wrote,
>
> > At 11:42 07.06.2001 -0400, you wrote:
> > >I have a problem with an HTML form. I am collecting in put from a html
> > &
On Fri, 8 Jun 2001, Aaron Craig <[EMAIL PROTECTED]> wrote,
> At 11:42 07.06.2001 -0400, you wrote:
> >I have a problem with an HTML form. I am collecting in put from a html
> >textarea box, then displaying it to the scream on the next page. the
> >problem is that the whole string is being displa
http://www.bayview.com/mindsrc-talk/pros-cons.html
hth
s.a.n
--
Hasanuddin Tamir: [EMAIL PROTECTED] - Trabas: www.trabas.com
ch as, I can put wherever?
Yes. I can even call your /cgi-bin/myscript.pl from my computer provided
that I know the base URL :-) But it's not something you should worry
about.
s.a.n
--
Hasanuddin Tamir: [EMAIL PROTECTED] - Trabas: www.trabas.com
the upload feature of CGI.pm. Actually, it's HTML feature.
It's supported by popular browser. CGI module implements the file upload
processing in perl way.
hth
s.a.n
--
Hasanuddin Tamir: [EMAIL PROTECTED] - Trabas: www.trabas.com
On Tue, 5 Jun 2001, Hasanuddin Tamir <[EMAIL PROTECTED]> wrote,
> Date: Tue, 5 Jun 2001 01:22:59 +0700 (JAVT)
> Take a look at these one-liner examples. The string "(nothing)" indicates
> that no output is printed.
>
> 1% perl -le '$x; print 1 if $x ne
nd you don't want "" then you
need to test that too,
if (defined $var and $var ne "") {
}
or
if (defined $var and length $var) {
}
But if you rather want to test $var against true value, you can simply
use,
if ($var) {
}
Btw, did you use -w switch and use strict in your script?
You really should. All those example codes above will bail out when
you use strict.
hth
s.a.n
--
Hasanuddin Tamir: [EMAIL PROTECTED] - Trabas: www.trabas.com
taken care of.
Sounds like you need a background process that doesn't need
to respond to the browser directly. So you cannot put the
process at the end.
No mattern how complicate the process, how many times URLs
are sent back and forth, at the end, you still need to say
something to the brow
really want?
Ok, Nigel just gave you a nice example. But if you really want no output
at all, just sent the status code 204 along with the header as someone else
previously posted.
s.a.n
--
Hasanuddin Tamir: [EMAIL PROTECTED] - Trabas: www.trabas.com
On Wed, 30 May 2001, Rodney Myers <[EM
e in the same program
Since you already use CGI.pm, which is a good thing to do, you can use its
various methods to layout HTML form.
print
$cgi->start_form, # default to method=POST
$cgi->textarea(
-cols => 70,
-rows => 15,
-name =>
15 matches
Mail list logo