Try this:
On Tue, May 11, 2004 at 12:51:28PM -0700, [EMAIL PROTECTED] wrote:
>
>
> below I have a snippet from a trace file read out for a section of code below. The
> problem seems to be with '$sth->bind_param (2,$rh_row->{prop_str_addr});' The first
> Bind works fine however the next one in
below I have a snippet from a trace file read out for a section of code below. The
problem seems to be with '$sth->bind_param (2,$rh_row->{prop_str_addr});' The first
Bind works fine however the next one in the line listed produces a null entry per the
trace file. I have verified that the data
[EMAIL PROTECTED] wrote on 11.05.2004:
>> print "http://www.somewhere.com\";>\n";
>> print " > value=\"$frage_text\" />\n";
>> print "\n";
>
>This wasn't really the question, but...
>If you have to write html within perl, use qq( ) instead of "".
>It's a lot easier to read, and much less error
Please bottom post...
> This is better, replace the quotes with nothing and then build your input
> tag.
>
Better? You have destroyed the data. Stay away from my information
with your substituitions.
[snip code that should not be used in production]
>
> I hope this helps
Anyone readin
This is better, replace the quotes with nothing and then build your input
tag.
#!/usr/bin/perl
use CGI;
use strict;
my $cgi = new CGI; print $cgi->header;
my $query = CGI::new();
my $frage_text= "\"Hello World\"";
$frage_text =~ s/"//g;
print "http://www.somewhere.com\";>\n";
print " \n";
p
Try this:
-Original Message-
From: Jan Eden [mailto:[EMAIL PROTECTED]
Sent: 11 May 2004 03:59 PM
To: Perl Lists
Subject: Escaping quotes in variable content
Hi all,
how can I escape quotes within a variable's content? I use the following
directive to fill an HTML form:
Unfortun
Late to the question, but don't discount using a simple (pre-formatted)
tag either ... keeps things lined up nicely in a mono-spaced font. I often use this
for short web-ified shell cmd results.
#!/usr/local/bin/perl -w
print "Content-type: text/html\n\n";
our @cmd = `df -sk|fgrep -v nf
Hi David,
David Dorward wrote on 11.05.2004:
>On 11 May 2004, at 14:58, Jan Eden wrote:
>>how can I escape quotes within a variable's content? I use the
>>following directive to fill an HTML form: >name="frage_text" size="100" value="$frage_text" /> Unfortunately,
>>if $frage_text contains a doub
On 11 May 2004, at 14:58, Jan Eden wrote:
how can I escape quotes within a variable's content? I use the
following directive to fill an HTML form:
Unfortunately, if $frage_text contains a double quote, the browser
will stop displaying the string at that point.
I tried to escape the quotes in a P
Hi all,
how can I escape quotes within a variable's content? I use the following directive to
fill an HTML form:
Unfortunately, if $frage_text contains a double quote, the browser will stop
displaying the string at that point.
I tried to escape the quotes in a Perl way
$frage_text =~ s/"/\\
I think I figured it out now, I set it from the httpd.conf like this
SetEnv VAR "Value"
and restart the apache, now it works.
thank you all for the suggestions,
- reynard
Charles K. Clarkson wrote:
Reynard Hilman <[EMAIL PROTECTED]> wrote:
:
: I have a perl script that runs just fine from command
Did you try, restarting the apache server. As some thread/processes might
still carry the old values
Manoj
From: "Charles K. Clarkson" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Subject: RE: how to set env variables?
Date: Mon, 10 May 2004 19:58:27 -0500
MIME-Version: 1.0
Received: from onion.
12 matches
Mail list logo