Ming Qian wrote:
Dear Perl Pros:
I have a simple perl cgi web page. It contains a simple form.
Submitting it(with some POST Data) will redirect itself, insert the
data into a database but with a "thank you" message in place of the
html form.
This is all working fine. However,
when refresh the
Thomas Bätzler wrote:
Chris Coggins asked:
I need to copy a small config file from one server to another. I'm
generating the file on one server with a pretty complex script. I need
to put that file on another server for immediate user access via html.
I've tried just writin
I need to copy a small config file from one server to another. I'm
generating the file on one server with a pretty complex script. I need
to put that file on another server for immediate user access via html.
I've tried just writing the file straight to the new server over the
network using abs
Shlomi Fish wrote:
Hi Chris,
A few comments on your code - some of which may help you.
On Monday 12 Apr 2010 12:06:16 Chris Coggins wrote:
I'm having trouble getting a piece of data from a form input to print in
html. Here's the relevant portion of my code
sub subroutine {
I'm having trouble getting a piece of data from a form input to print in
html. Here's the relevant portion of my code
sub subroutine {
my($hash) = shift;
my($data) = "$hash->{'expl'}";
print "Content-type: text/html\n\n";
print
Is there a limit to the length of a string in perl? I'm combining about
200 pieces of data into a single string and writing the string to a file
and am getting some weird behaviors every once in a while. Does perl
have a limit on the length of a string it writes to a simple file?
--
To unsubsc
I'm using a perl script to write another perl script that will be
executed later. I need to know if all the characters that need to be
escaped, are properly escaped. Can someone help, here's a portion of the
code below. Are all the characters properly escaped? (note this is part
of a much longe
Jim Gibson wrote:
On 2/8/10 Mon Feb 8, 2010 6:07 PM, "Chris Coggins"
scribbled:
Chris Coggins wrote:
I'm adding this exit step into the script to keep people from trying
to execute it outside of the normal web interface. The script and
browser communicate normall
Chris Coggins wrote:
I'm adding this exit step into the script to keep people from trying
to execute it outside of the normal web interface. The script and
browser communicate normally if the script is executed through its
original form. What I'm trying to prevent is someone
500
internal error. Is this the normal response for a script to prematurely
exit using a browser to run it?
Jim Gibson wrote:
On 2/8/10 Mon Feb 8, 2010 4:56 PM, "Chris Coggins"
scribbled:
What is the proper syntax for a comparison at the end of a subroutine to
stop the script if
What is the proper syntax for a comparison at the end of a subroutine to
stop the script if a certain variable is "0" or ''?
sub routine{
(get data and process it)
if $varA = '' || $varA = "0" {
(stop script, print error message to user)
}
else{
(continue with script)
}
--
To unsubscribe, e-mai
Rob Dixon wrote:
Chris Coggins wrote:
I posted a question to this list yesterday from the google groups
interface, asking for help with the following. I have since tried to
post additional details in replies to that message using the google
groups site and none of my posts have shown up on
I posted a question to this list yesterday from the google groups
interface, asking for help with the following. I have since tried to
post additional details in replies to that message using the google
groups site and none of my posts have shown up on the list so let's try
this again the right
13 matches
Mail list logo