Re: Forms Caching in FireFox?

2006-11-28 Thread WCJ d/b/a http://ccsh.us/
On 11/25/06, Richard Bagshaw <[EMAIL PROTECTED]> wrote: HTML "head" isn't the same as setting an HTTP head; Try Googling setting the Pragma: no-cache http header directly. -- WC (Bill) Jones -- http://youve-reached-the.endoftheinternet.org/ -- To unsubscribe, e-mail: [EMAIL PROTECTED] F

Re: submit fails for no apparent reason

2006-07-21 Thread WCJ d/b/a http://ccsh.us/
shows up, the submit buttons appear at the bottom of the screen as they are supposed to do,I press a submit button, it changes a bit to show that it is pressed, and then nothing happens. My debugging information shown at the bottom does not appear, the function get_and_display_data is not called.

Re: CGI Book Advice sought ...

2004-09-16 Thread Chad A Gard
On Sep 15, 2004, at 9:14 PM, Wiggins d'Anconia wrote: I would echo Chris' remarks about mod_perl, and the book not being worth its oats if it shys away from using CGI.pm. Personally I would skip *all* of the CGI books, and get a good book on Perl itself. Learn the language not how

Re: CGI.pm : Handling Carriage Returns from textarea()

2004-09-10 Thread Chad A Gard
On Sep 9, 2004, at 11:02 PM, Robert Page IV wrote: I am familiar with . What is the difference between and ? In XHTML, all elements need a close. By doing , it will work regardless of whether your DTD is for an HTML variant or XHTML. I didn't know which you were using, so played it

Re: CGI.pm : Handling Carriage Returns from textarea()

2004-09-09 Thread Chad A Gard
On Sep 9, 2004, at 9:57 AM, Chris Devers wrote: This is why I like to use something other than a slash when trying to match html or xml: $details =~ s#\r##g; Also, did you really mean to replace '\r' with '' ? That will, depending on the file encoding, either [a] do n

Re: CGI.pm : Handling Carriage Returns from textarea()

2004-09-09 Thread Chad A Gard
= param('details'). For Debug purposes, I print $summary and $detail. I may make this a review feature. Anyway, none of the text displays without any carriage returns. I am beginning to suspect this is due to HTML not recognizing these characters in the variables. H. Robert P

RE: writing to a file

2004-05-20 Thread Gottron, Shirley A
Also, the first line, > #!/usr/local/bin/perl What if the server isn't a UNIX server, but an IIS server? Doesn't this line have to change? -Original Message- From: Wiggins d Anconia [mailto:[EMAIL PROTECTED] Sent: Thursday, May 20, 2004 10:28 AM To: [EMAIL PROTECTED]; [EM

Show/download file from a non public folder

2004-03-26 Thread Alex A.
Hi, I have files(.jpg, .pdf, .rtf, .xls) in the following non-public folder: /home/alex/documents/ I need to show these files (jpg), or allow the download (.pdf, .rtf ...) from a script for users who already are authenticated and have a session opened in the server (this part is already

calculating election day

2004-02-03 Thread Chad A Gard
I'm attempting to dynamically place an image into the user interface of an intranet site to celebrate various holidays. It's really not important functionally, but meant to impart just a little fun/whimsy - which, of course, means I can't spend too much time with it. Right now

Re: pagination of dbi results on html browser

2003-11-28 Thread A L
first 20 rows of the selections from mysql database. However, when I > tried to implement the rest of the rows, I got stuck as to how to approach what I > wanted to do, which is to make a result that is similar to google search shown on > the web. Then, I searched more on the web about pag

Re: pagination of dbi results on html browser

2003-11-28 Thread A L
approach what I wanted to do, which is to make a result that is similar to google search shown on the web. Then, I searched more on the web about pagination without restricting my search to beginner and perl. Luckily, I found a lot more information and tried to use some of the concepts wh

Re: Syntax error with while

2003-11-09 Thread A L
lanzaroto <[EMAIL PROTECTED]> wrote: Le dim 09/11/2003 à 20:02, drieux a écrit : > On Sunday, Nov 9, 2003, at 09:24 US/Pacific, lanzaroto wrote: > > Le dim 09/11/2003 à 17:44, drieux a écrit : > > > >> On Sunday, Nov 9, 2003, at 08:08 US/Pacific, lanzaroto wrot

accessing array of arrays in a hash

2003-10-23 Thread Chad A Gard
While this is being used in a cgi, it's really more of a general perl question. But I'm hoping I can get some help. I have a hash which has arrays of arrays as the value for each key: $tabset = 'clientInfo'; %tabsets = ( clientInfo => [('#', 'View Conta

dclrs datacolours

2003-10-07 Thread A L
Hi, I can't seemed use different colors for each bar. Instead of different colors according to @datacolor, only blue is printed for all the bars. Can you tell me what's wrong with this code? And, wanting to delete a file that contains the following graph (to avoid accumulation),

use GD::Graph::bars

2003-10-03 Thread A L
Thanks for helping me on my previous question; I was able to get it afterwards. I have another question. I am trying to draw a graph. First, I have created @1, @2, @3 within html. This prints out 3 columns with values of each array on the array like below on a browser after calculation: @X

uploadfiles

2003-10-01 Thread A L
I'm trying to write a CGI script to upload a file from a website. I have the following HTML: Uploading Files Pick a file to upload: that refers to the following CGI: #!/usr/bin/perl -w use strict; use CGI qw/:standard/ print "Content-type: text/html\n\n"; print $q

Re: cgi.pm popup menus

2003-06-18 Thread Chad A Gard
On Tuesday, June 17, 2003, at 07:35 PM, Kristofer Hoch wrote: Chad, It isn't as big of a pain in the ass as you may think...Consider and try Ah, that's not too bad. Thanks, Kristofer. Chad A Gard http://www.percussionadvocates.com/chad -- To unsubscribe, e-mail: [EMAIL PROT

Re: cgi.pm popup menus

2003-06-17 Thread Chad A Gard
n the subroutine to work yet, so there's currently only one. And, as it will be deployed, most of the time it will be called from within a while loop. Not that it's an issue with my current project, but how would one call a subroutine if he needed to pass multiple arrays? Convert t

cgi.pm popup menus

2003-06-17 Thread Chad A Gard
I'm having difficulty creating a popup menu. I want a select list, like so: Work Home Mobile Pager Home Fax Work Fax It seems I should be able to get that by doing (simplified, of course. Really data is coming from a db, and I have several different select lists): @phoneLabels = (

Re: Loading files...

2003-05-31 Thread Chad A Gard
On Thursday, May 29, 2003, at 05:15 PM, Nicholas Davey wrote: Where I have put the [file X] I want to include an external file (relative to my script) that I can manipulate seperate from the main script. For instance, file 1 would be a navigation bar, and file 2 would be each file I want to

Re: about awk 2 perl

2002-06-18 Thread Ramprasad A Padmanabhan
convert any awk script to perl directly by using a2p like echo '{print $1,$2}' | a2p Chang Ming Huei wrote: > Hi all: > > I want to use perl to do something like a awk script as following: > > cat file.txt | awk '{print $1,$2}' >

Re: Using strict and a configuration file?

2002-06-11 Thread Ramprasad A Padmanabhan
just define all vars in ur conf file with a scope reslution eg $global::test = 'hello'; Octavian Rasnita wrote: > Hi all, > > Is it possible to use "use strict;" if I get the variables from a > configuration file? > > I've tried: > > use st

Re: How to use crypt ??

2002-05-23 Thread Pablo A. Castrillo
Hi David You can create a random key to encrypt a password: my $key = join '', ('.','/',0..9,'A'..'Z','a'..'z')[rand 64, rand 64]; (Took this from the book &qu

Re: update query

2002-05-23 Thread Pablo A. Castrillo
Sven: Have you checked your error log? I'm working with PostgreSQL but when I get no errors and no rows updated I always find an error message in the log file (/var/log/httpd/error_log in my RH 7.1 box). Messages look like: DBD::Pg::db do failed: ERROR: Bad boolean external

How can I force a 401?

2002-05-15 Thread Kristin A. I.
I use an authentication system for my site based on .htaccess, where user passwords are stored, encrypted, in a database, and then written to a passwd file regularly. My problem is this: When we were using a cookie system, we had a link in index.cgi that displayed on the home page that said &q

Re: pass values to another scipt

2002-05-14 Thread Pablo A. Castrillo
> Hi all. > > This is what i've done: > - I've created a table which allows to manage "sessions" (see code below). > - The script which validates users creates a "session_id". I pass this token as a >hidden field to scripts in order to validat

weird characters

2002-04-03 Thread Pedro A Reche Gallardo
Hi, I have found that when I upload files from a Mac and Windows the return character (maybe other characters too) are replaced by something else. Does any one know how to avoid this? or alternatively how to translate those character into the unix equivalents Cheers

Telling the cgi to wait

2002-03-06 Thread Pedro A Reche Gallardo
Dear All, I have a cgi script that uploads two files and then it execute a program using the system call. This program then uses the uploaded files as input, and then it generates a file that I am interested in displaying in the web browser. Unfortunately, the system command does not work and

Re: Configure Perl for use with a Personal Web Server...

2002-01-31 Thread A
Sir Douglas Cook, I've recently come across Indigo Perl. IndigoPerl is a binary build of Perl 5.6 for Win32 with an integrated Apache web server for testing and developing CGI scripts. It also includes mod_perl. The instalation is trivial. Indigo Perl is not intended to be a

help with form

2001-12-08 Thread Pedro A Reche Gallardo
Hi all, I am working on a cgi script that can create a temporal file with either an uploaded file, or, in its absence, the pasted content of that file. I have managed to upload the file only if that is the only input field in my form, but if I add the choice to paste the content of the file

help with form

2001-12-07 Thread Pedro A Reche Gallardo
Hi all, I am working on a cgi script that can create a temporal file with either an uploaded file, or, in its absence, the pasted content of that file. I have managed to upload the file only if that is the only input field in my form, but if I add the choice to paste the content of the file

uploading file

2001-11-29 Thread Pedro A Reche Gallardo
Hi all, I am beginner with cgi scripting and I am trying to make a cgi script that can upload a file, and work with it, or alternatively if there no file to upload is specified, use the input pasted in the form "text area". I now how to do the second one, but I am unable to deal with bo

printing lines chunk

2001-11-09 Thread Pedro A Reche Gallardo
Hi All, I have a long line with no blank characters and I would like to insert a return character every 60 characters. Any idea welcome. Regards Pedro *** PEDRO a. RECHE gallardo, pHDTL: 617 632 3824 Scientist

Re: XMLParser and Perl

2001-10-18 Thread Trent A Stephens
I too (a beginner in Perl) am looking for guidance on XML and Perl. I am having to read in an XML file, parse it for specific information (MIME type, attributes and values), write the attributes/values to a hash (I am assuming) and then use win32::OLE to persist the attribute/vlaues to the

Learn in Internet

2001-08-22 Thread A. Rafmawan
Hi List... I just joint this group. Could you give me information where can I learn CGI (for real beginner) in the web? TIA A. Rafmawan

split a file

2001-08-21 Thread Pedro A Reche Gallardo
Hi All, I have a file (see below) that I would like to split in three files: One file for the information under "Alignment (DIALIGN format)", another for the information under the line "Alignment (FASTA format)" and a third one for the information under sequence tree.

RE: HELP FORMATING A FILE

2001-07-17 Thread Pedro A Reche Gallardo
Hi all, I have found the solution to my "HELP FORMATING A FILE". Actually, I was already very close to the solution. In case someone was interested, here it is the script Regards, Pedro #!/usr/sbin/perl -w #use strict; if (!@ARGV) { print "usage: $0 blast_output \n";

HELP WITH A FORM

2001-07-11 Thread Pedro A Reche Gallardo
Dear all, I have the following script (see below) that I would like to interface. #!/bin/csh -f column.pl $1 50 > tmp1 # perl program. tmp1 is a one column file H.py $1 > tmp2< $1.out < nothing Enter a short name for your alignment: Enter your Local al