Hi, I have a script which takes input from a webpage, formats the data and then feeds it into a file. The script seems to run OK till it reaches a certain ...
875
tbarron@...
Oct 6, 2000 12:35 am
I didn't see an attachment or script in your message, however the problem is probably that your connection timed out (since that's what the error message...
876
Nathan Rimmer
perlcgi2000@...
Oct 6, 2000 7:55 am
Tom, Thanks for the reply - I'm not sure what happened to the attachment (well it was 1am !) Is there any easy way to lengthen the timeout time of a browser...
877
Tom Barron
tbarron@...
Oct 6, 2000 4:06 pm
Not that I'm aware of... Tom...
878
Marcelo Pham
marcelopham@...
Oct 8, 2000 1:16 am
Hi! Did anybody have this problem? I want to print a variable, let's say my $vartoprint="My car costs $500 but it runs!"; When I do: print "The variable is...
879
Gregory D. Fox
greg@...
Oct 8, 2000 1:26 am
Try my $vartoprint="My car costs \$500 but it runs!"; This should work... Gregory D. Fox Greg@... ... For ecommerce made easy! Visit...
880
Mike Payne
theseus@...
Oct 8, 2000 1:45 am
Using $vartoprint = 'My car costs $500 but it runs!'; would work also. Notice the ' instead of " ... Mike "Theseus" Payne theseus@... ...
881
Marcelo Pham
marcelopham@...
Oct 8, 2000 2:33 am
Thanks Mike and Gregory! and thanks for your prompt reply! But what I'm really doing is, I am reading a variable from a mySQL table, so one of the retrieved...
882
Mike Payne
theseus@...
Oct 8, 2000 12:49 pm
I think $blines[0] =~ s/\$/\\$/g; would work for that... Give it a shot. ... Mike "Theseus" Payne theseus@... http://www.simpleminded.org/ ... ...
883
Oliver Manickum
oliver@...
Oct 8, 2000 7:05 pm
Hey Mike, $blines[0] =~ s/\$/\\$/g; should actually be $blines[0] =~ s/\$/\\\$/g; please correct me if i am wrong..... - Oliver ... From: Mike Payne...
884
Mike Payne
theseus@...
Oct 8, 2000 9:15 pm
RE: [PBML] Re: Printing dollar signsYep, you're right. I didn't even notice I had left out the third backslash... Typos have got to be the number 1 enemy of...
885
Marcelo Pham
marcelopham@...
Oct 8, 2000 11:08 pm
Hi Mike and Oliver, I tried it but it didn't work, I'll keeo researching... Again, thanks a lot for your time. Marcelo PS: Hey Mike, very nice website. You're...
886
Steve Milov
slavik914@...
Oct 9, 2000 10:30 am
Since I never got an answer on my question regarding pasv_xfer and the problem I was having with it I'll rephrase my problem. How do I ftp through a firewall...
887
Amedeo.Avanzato@...
Oct 9, 2000 10:40 am
Hello everyone. Is there any way to print an array containing a table to a file in HTML format without writing by hand all the html headers and tags? Thanks...
888
Amedeo.Avanzato@...
Oct 9, 2000 11:01 am
Suppose that I have an array done like this: $array[0]="NAME SURMAME"; $array[1]="Amedeo Avanzato"; $array[2]="Pippo Pluto"; Fields separated by blanks. The...
889
Zabil Cheriya Maliackal
zabilcm@...
Oct 9, 2000 12:18 pm
Ok try out this, Something I concocted in a hurry open(THTML,">filename.html"); print THTML "<HTML>"; print THTML "<BODY>"; print THTML "<TABLE>"; foreach $v...
890
Mike Payne
theseus@...
Oct 9, 2000 4:13 pm
Nope, you have to write all the HTML headers and tags. print "<html><table>"; foreach $value (@array) { print "<tr>"; ($fname, $lname) = split(/ /,$value); ...
891
Oliver Manickum
oliver@...
Oct 9, 2000 4:27 pm
Hey Mike.. hehe i am not flaming u ! heheh but its only proper to write out the Content headers first... print "Content-type: html/text \r\n92;r\n"; and then...
892
Mike Payne
theseus@...
Oct 9, 2000 4:36 pm
I wasn't giving him the entire program, just the HTML code he needed. I assume he knows perl by the way he asked the question, and all he needed was the html. ...
893
Oliver Manickum
oliver@...
Oct 9, 2000 4:56 pm
Sure Mike "Content-type: text/html\n\n" would work ... but don't u want to send a <CR> <LF> and not just a <LF> ? hence the \r ;O) i am still a beginner so...
894
Smith, Sheldon
sheldon.smith@...
Oct 10, 2000 3:33 am
How about avoiding interpretation by using print $blines[0], "\n"; By the way: Use the debugger to verify the dollar sign is actually in $blines[0] before you...
895
sebaie@...
Oct 10, 2000 6:17 pm
Excuse me, I am translating a script from English into Arabic the problem is: where do I put the tag dir="rtl" in any perl script is it possible to add any...
896
Marcelo Pham
marcelopham@...
Oct 10, 2000 6:24 pm
Thanks Sheldon! I'll give it a shot tonight... Marcelo ... in ... mySQL...
897
Smith, Sheldon
sheldon.smith@...
Oct 11, 2000 4:14 am
Not sure, but there are a few CPAN related modules (.pm) that reference the environment variable "ftp_proxy". I know when I access CPAN, I need to have the...
898
Ben Maynard
bmaynard@...
Oct 12, 2000 9:22 am
I was hoping someone could help with this code I have? I have a socket being opened for a continuous stream from a single connection, however, for some reason...
899
Howard Brinsmead
hbrinsmead@...
Oct 13, 2000 2:46 pm
Why is the order of these modules important? If I say use CGI::Carp qw/fatalsToBrowser/; use CGI; use Storable $q = new CGI; I get an error "Can't locate...
900
Jason Sperry
jsperry1@...
Oct 15, 2000 1:55 am
I'm attempting to write a script that allows me to enter football player statistics into a textarea on a webpage in this format: 1 Gannon,Rich OAK 34 21 43 310...
901
Dan Boger
dan@...
Oct 15, 2000 3:13 am
... @array = split /\n/, $textarea; ... try "man CGI": CREATING A BIG TEXT FIELD print $query->textarea(-name=>'foo39;, -default=>'starting value', -rows=>10, ...
902
Scott A . Davis
sdavis@...
Oct 15, 2000 5:12 am
Hello all! I am trying to complete a project, and have consulted 4 very large perl books, but I am unable to figure out what I believe could be a somewhat ...
903
Randy Garrett
randolph-garrett@...
Oct 15, 2000 10:38 pm
What is the matter with you people?! LOL! What about www.perl.com which is the O'Reilly site for Perl Programming! They are the MASTERS of Perl! I occasionally...