There are a number of CPAN modules for doing paging. You cannot know what
the size of the page is, though, in general. All you can do is to set the
number of rows per page and then page based on that.
Sean
On Thu, Mar 5, 2009 at 2:25 PM, Bill Stephenson bi...@perlhelp.com wrote:
Does anyone
On Mon, Feb 2, 2009 at 8:26 AM, bacoms googlebr...@balfour.me.uk wrote:
I've got a web page that includes a graph. I achieve this with code
that looks like:
print Content-type: text/html\n\n;
etc
etc
my($myImage) =
On Tue, Jan 27, 2009 at 12:56 AM, Tim Bowden tim.bow...@mapforge.com.auwrote:
I've got a cgi script that will on occasion run for some time (exactly
how long I'm not sure yet...) and I'd like to return a processing
please wait type response to the web client if/when a certain time
limit has
On Tue, Jan 6, 2009 at 7:17 AM, Fúlvio fulvi...@gmail.com wrote:
Hi Jody,
I use your code bellow but the the following error message happens:
Can't call method domain on an undefined value at
Works for me. Are you behind a firewall by any chance?
Sean
On 5 jan, 21:16,
On Sun, Dec 14, 2008 at 10:01 PM, Adam Jimerson vend...@charter.net wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Mike Williams wrote:
On Sun, Dec 14, 2008 at 1:28 PM, Adam Jimerson vend...@charter.net wrote:
On Dec 12, 12:47 pm, sdav...@mail.nih.gov (Sean Davis) wrote:
Are you
On Sun, Dec 14, 2008 at 1:28 PM, Adam Jimerson vend...@charter.net wrote:
On Dec 12, 12:47 pm, sdav...@mail.nih.gov (Sean Davis) wrote:
You cannot put perl in a webpage the way that you do with PHP.
However, there are a number of template engines written for and in
perl that give you similar
On Thu, Dec 11, 2008 at 5:42 PM, Adam Jimerson vend...@charter.net wrote:
Is it possible to embed a CGI scrip into a HTML page? I don't know if CGI
scripts work in a way that allow for this, I know that in PHP this is
possible, because I want to make my CGI scripts and website have a unified
On Tue, Dec 9, 2008 at 8:09 PM, Chris Cosner [EMAIL PROTECTED] wrote:
Question: What is the speediest tool to pull data from an xml feed that will
only be a few hundred lines at most? Some regexes will be necessary.
Context:
I am playing with the google books data api. They provide a feed,
On Sun, Nov 16, 2008 at 4:05 PM, Adam Jimerson [EMAIL PROTECTED] wrote:
I'm trying to make a CGI script to upload files remotely onto my server, to
get around my uni blocking everything but port 80, but I have ran into a
problem with it. I followed the documentation on CPAN for uploading
On Mon, Nov 17, 2008 at 8:04 PM, Lou Hernsen [EMAIL PROTECTED]wrote:
what is the best / latest .CGI to handle safe form parsing?
CGI.pm? I'm not sure what you are asking, otherwise?
Sean
On Sat, Aug 23, 2008 at 2:52 AM, JuneEarth [EMAIL PROTECTED] wrote:
How to make CGI sessions to be shared among multi-webservers? Thanks.
The simplest way is to use a transactional database system. You read
the session from the database and write back to the database. It will
work with as many
On Tue, Jun 17, 2008 at 9:37 AM, Mimi Cafe [EMAIL PROTECTED] wrote:
Hi,
I will be developing a database backed CGI application and now looking into
CPAN modules to use. Now my idea is to find people who have experience using
the modules I am considering to hear their opinion. For instance,
On Tue, Jun 3, 2008 at 1:00 PM, [EMAIL PROTECTED] wrote:
Ok, I'm uploading a file to a 3rd party. The file is being uploaded to
an https site with a cgi extension. The 3rd party finally provided me
with a snippet of their Perl code. They see the attempt coming
through, but there is no data. I
On Thu, May 29, 2008 at 9:26 AM, JUSTIN R COLON [EMAIL PROTECTED] wrote:
Hello I have begun to use a CMS/web development tool named Joomla and I was
wondering if you had any
information on implementing perl/cgi scripts into this CMS or if there is
another CMS that would be better to use if i
On Tue, Apr 8, 2008 at 8:22 AM, [EMAIL PROTECTED] wrote:
TEXT FILE ##
td class=PhorumTableRowAlt thread style=padding-left: 0px
a href=http://mysite.com/link/here_goes?id=239;LINK/a
nbsp;span class=PhorumNewFlag/span/td
td
On Tue, Mar 11, 2008 at 2:54 PM, Richard [EMAIL PROTECTED] wrote:
Hey all,
I am trying to find a simple, modular web based configuration
application and am having a little trouble. Basically, I need
something to do some simple configurations on an appliance similar to
something like a
On Jan 28, 2008 6:56 AM, Mimi Cafe [EMAIL PROTECTED] wrote:
Hi,
I am trying to process a directory and all subdirectory recursively and
generate a list as the Unix command ls -R will display, but this seems not
to behave as it should.
My script only goes as far as processing the directory
On Jan 22, 2008 11:11 PM, Chris W [EMAIL PROTECTED] wrote:
I have inherited a site written in perl. Recently an intermittent
problem has come up and when users log into the site, they end up seeing
other users data. I personally can not reproduce the problem but it has
happened enough that
Hi, Patrik.
You should probably be using CGI.pm. It will vastly simplify what you are
doing. Then, you can read any of a dozen sites on doing file uploads using
CGI; see search.cpan.org for the details of using CGI.pm.
Sean
On Jan 12, 2008 5:54 PM, Patrik Hasibuan [EMAIL PROTECTED]
wrote:
On Nov 26, 2007 5:10 PM, neil [EMAIL PROTECTED] wrote:
Hi,
I was wondering if its possible to get the class= field passed to
the tables generated by checkbox_group()?
Not a direct answer to your question, but you will want to move away
from using CGI to generate HTML and move toward using a
everything in the appropriate
error handling. Alternatively, there are a number of higher-level
interfaces (like DBIx::Simple) that have it built-in.
Sean
From: /Sean Davis [EMAIL PROTECTED]/
To: /Shad Keene [EMAIL
[EMAIL PROTECTED] wrote:
On Jun 25, 3:19 pm, [EMAIL PROTECTED] (Ricky Zhou) wrote:
Greg Jetter wrote:
my $query = insert into tablename
(atablenaem1,atablename2,atablename3)VALUES($SubjPerform,$somthing2,
$somthing3);
# insert stuff in the db
$dbh-do($query) or die $DBI::errstr;
To
Bill Stephenson wrote:
I've sent one message to this list and one message to
[EMAIL PROTECTED]
The message to the list was not posted and the message to Help was not
responded to.
Any reason why?
The list address that you want to use is [EMAIL PROTECTED] The
email [EMAIL PROTECTED] is
[EMAIL PROTECTED] wrote:
Hello,
i need to know the reasons for this error Premature end of script
headers i checked with my http header content-type:text/html ,but i
had not solved yet..
Check your error_log file on your server to see if you are generating an
error in your script.
Sean
On Wednesday 30 May 2007 11:56, Naji, Khalid wrote:
Hi,
is there any way to mask a printing, when I call a Function using the
Command print and without to modify this Function:
Like:
My ($Name) = get_name(12345);
Sub get_name
{
$id = @_;
...
Print Blalalalalalalbla...\n;
Return
Akbar Ehsan wrote:
Hello Everyone,
I am attempting to lock a file using FLOCK. I understand the FLOCK is an
advisory lock and that it does not prevent any other process/program
from clobbering the file even when the lock in on the file.
Is there anything I should look into to apply a lock on a
Akbar Ehsan wrote:
Thanks for the response.
Here is the situation. We have a web form that creates a tab-delimited
text file. We want to lock this file to clean up the file, may be for a
minute, so that if anyone submits a form request, it does not get
written to the. I have been looking at and
On Thursday 19 April 2007 17:12, Sara wrote:
I have directory from which users are downloading files directly using FTP
client (no browser).
If I can run a script or program, which could tell me as which files have
been downloaded?
File::Stat changes? if they simply download the file from
On Tuesday 13 February 2007 05:16, Rajesh Raghammudi wrote:
I have a project on perl, and at certain place, need to print a document
with the signature of the user. Is there any way to caputre the signature
of the user while taking his inforamtion? We should provide an option to
write/draw his
On Friday 02 February 2007 08:15, Akbar Ehsan wrote:
Thanks. The cat command worked.
Can I add a line break at the end of the content of each file?
Just print a line break in each file before you close it.
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL
On Thursday 01 February 2007 13:37, Akbar Ehsan wrote:
Hello,
Can two scripts be triggered when a form is submitted: one to email form
results to various users and the other to count and write to a file the
number of times the users get emails from the form?
No, not without some elaborate
On Tuesday 09 January 2007 22:22, Chris Henderson wrote:
I'm trying to make a form using cgi.pm the output of which will be
saved to a .html file. But the variables are not parsing correctly. If
I put 3 names in 3 different places they all appear together instead
of each appearing on each
Brian Hancock wrote:
Hi,
My Perl script receives data back from a legacy database in the form
of an XML file, which I want to process with an XSL template. I am
thinking of using 'xsltproc' to process the file.
The only way I have used xsltproc is as a commandline , eg
system('xsltproc
On 7/6/06 3:00 PM, I BioKid [EMAIL PROTECTED] wrote:
Dear All,
We have 3 inhouse web servers and 2 remote web servers.
All of this web server accept same type of files as input : say foo.txt
(these file contain some data and the 5 web server will process it and gives
its respective
Moore, George T. wrote:
It depends on how you are using your scripts. The most expensive
aspect of the files is the IO used to read them from the hard drive they
reside on. If you are calling on the scripts multiple times and they
have to be read each time, rather than being cached in memory,
On 5/23/06 5:09 AM, Dennis G. Wicks [EMAIL PROTECTED] wrote:
Sean Davis wrote:
Dennis G. Wicks wrote:
Greetings;
I have discovered that under some conditions QUERY_STRING is set and
under other conditions QUERY_STRING_UNESCAPED is set. I can detect
these conditions but I can't find
Dennis G. Wicks wrote:
Greetings;
I have discovered that under some conditions QUERY_STRING is set and
under other conditions QUERY_STRING_UNESCAPED is set. I can detect these
conditions but I can't find out how to get the contents of
QUERY_STRING_UNESCAPED transformed to the form it would
On 4/27/06 10:19 PM, Mary Anderson [EMAIL PROTECTED] wrote:
Hi,
I have a cgi program that pulls data out of a database and stores it in
an array ref. I would like to display this data one row at a time.
Unfortunately I am having difficulty getting the current index to persist
On 3/13/06 7:59 AM, Carla Wilbert [EMAIL PROTECTED] wrote:
Hi,
I must login to access a website on an Apache webserver because the access
to the site is restricted with .htaccess file. So a window with username and
password request pop up.
For my program I need also the login
If you are using bash as you shell, something like:
export PERL5LIB=${PERL5LIB}:/usr/local/project/packages
That will set the global search path for perl to find modules to include
'/usr/local/project/packages'.
However, the better way to handle this is to set up a directory that you use
for
You realize that hidden fields are not hidden, right? You just have to
view the source of the page in which they are embedded and you now know the
username and password, and that with every round-trip to the server, this
information is sent in plain-text (unless you are using SSL)? I would read
I'm not a windows person, but you could try something simple like looking at
the task manager. What does your task manager show as the process at the
time that this is happening? Is there a process that shows 100% CPU during
that time?
Sean
On 3/7/06 5:23 PM, Mary Anderson [EMAIL PROTECTED]
On 12/5/05 8:20 AM, Adedayo Adeyeye [EMAIL PROTECTED] wrote:
I have a file that contains a listing of names like:
John
Paul
Kate
Paul
Charles
Kate
How do I write a script to parse through this file and just return the unique
names. Ie I want the repetitions ignored.
On 12/5/05 9:47 AM, Chris Devers [EMAIL PROTECTED] wrote:
On Mon, 5 Dec 2005, Sean Davis wrote:
See here:
http://mumble.mumble.ua
Please do not link to this site.
These are pirated copies of the books in question, hosted on a Ukranian
web server without the authorization
On 11/14/05 11:25 AM, Dermot Paikkos [EMAIL PROTECTED] wrote:
Hi,
I would like to see what happens to my web server if I get 50-60
connections all posting requests to it. Can anyone suggest a module
that might help (WWW.Mechanize perhaps).
If you are using Apache, it comes with 'ab'
On 9/16/05 12:08 AM, Denzil Kruse [EMAIL PROTECTED] wrote:
Hi all,
I read through the docs for CGI::Cookie and learned
how to set a cookie. I do it with line:
my $cookie = new CGI::Cookie(-name='name',
-value=$name,
On 9/14/05 8:32 PM, Vance M. Allen [EMAIL PROTECTED] wrote:
I use MySQL 4.1.7 under Fedora Core 3.
Vance
Bob Showalter [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Vance M. Allen wrote:
I need to know how to retrieve through Perl DBI a listing of possible
ENUM elements
You can also often just save the file as HTML and load it directly in
Excel, if all you need is the export.
Sean
On Jun 8, 2005, at 5:48 AM, Thomas Bätzler wrote:
Sara [EMAIL PROTECTED] suggested:
I always used 'phpmyAdmin' for such tasks. Give it a try.
Great idea! That's like handing
Look at using lc (lower case). It can make your sort case-insensitive.
On Jun 3, 2005, at 7:17 PM, Mike Blezien wrote:
Hello,
ran into a strange problem when doing a sort. we have a file like this:
0::Accounts;Local Language
1::Anatomy;Local Language
2::Arabic;Local Language
Hi, Siegfried. Did you look in the browser error_log? It typically
contains more information. On many unices, it is in /usr/local/apache/logs.
However, I'm not sure where it is on your system.
A more perl approach is to do:
use CGI::Carp qw(fatals_to_browser);
This will redirect fatal errors
- Original Message -
From: Mike Blezien [EMAIL PROTECTED]
To: Perl List beginners-cgi@perl.org
Sent: Monday, May 02, 2005 8:20 PM
Subject: Perl equivelant
Hello,
Hoping we have some expert MySQL Function to perl function people on the
list.
Is there an equivelant function in perl for
Not sure this is the problem, but remember that when you run a CGI
script from the command line, you are running as yourself. When you
run it in the browser, you are running under whatever username and
group the server is running with (and almost always this is different
from yourself). So,
Rajesh,
I may be misunderstanding your question, but you want to capture
something OUTSIDE of the web browser window? I hope this IS NOT
possible via a web-based application (and I think is not). If this is
done inside an intranet or some other controlled environment, you could
use a remote
On Apr 14, 2005, at 2:09 PM, Charles K. Clarkson wrote:
How about skipping the Switch stuff and using something like this.
use CGI qw/:standard Button/;
.
.
.
if ( param() ) {
if ( param( 'action' ) =~ /Upload/ ) {
# call upload sub
} elsif ( param( 'action' ) =~
Content length includes all the content, including names of form
parameters, etc. If you want to count the keystrokes for a form, you
could just run through the form parameters and get the length of each
value (assuming they are all text fields). Check out these two links
to the CGI.pm
On Jan 21, 2005, at 10:05 AM, Chad Gard wrote:
On Jan 21, 2005, at 9:56 AM, David Dorward wrote:
How about passing it the data it needs to make a suitable database
request?
That's what I'll do if I can't make it work the way I want. However,
I'd like to be able to avoid the overhead of
On Jan 21, 2005, at 11:03 AM, Chad Gard wrote:
On Jan 21, 2005, at 10:22 AM, Sean Davis wrote:
Do these need to all be generated on-the-fly? Or is there a way to
create them first (one time a day, for example) and serve them as
static images?
They need to be generated on-the-fly, as the data
On Jan 4, 2005, at 11:07 PM, Literatecat wrote:
Hi Sean,
I do already have some of the books that you mention, and I have just
recently picked up the perl medic to help convert these scripts to the
latest version of perl.
However, as I already use hidden fields and have started working on
- Original Message -
From: Literatecat [EMAIL PROTECTED]
To: Sean Davis [EMAIL PROTECTED]
Cc: beginners-cgi@perl.org
Sent: Tuesday, January 04, 2005 7:29 PM
Subject: Re: Database Rows Returned
Hi Sean,
The max_rows_returned is set in the setup file, but it simply determines
the number of rows per
Cat,
Unfortunately, you haven't given us the business end of your script.
Unless you can tell us where $db_status and $total_rows_returned comes from,
it is unlikely that we will be able to help much.
Sean
- Original Message -
From: Cat [EMAIL PROTECTED]
To: beginners-cgi@perl.org
On Dec 30, 2004, at 1:54 PM, Denzil Kruse wrote:
--- Bob Showalter [EMAIL PROTECTED]
wrote:
snip
Is there a way to tell the browser to hang around
a
bit longer to wait for a response? Or is there
another way to keep the browser's attention so it
knows it has a live connection and to wait?
One way
Greg,
You will probably need to read some documentation:
http://perl.apache.org/docs/index.html
http://perl.apache.org/docs/1.0/guide/porting.html
Note that last one is mod_perl-based, not mod_perl2, but it is a reasonable
introduction. Also, the mod_perl book is available online:
On Dec 8, 2004, at 10:52 AM, David Dorward wrote:
On Wed, Dec 08, 2004 at 07:47:09AM -0800, Graeme St. Clair wrote:
[Wed Dec 08 10:30:01 2004] [error] [client ###.###.###.###]
c:/program
files/perl_apache/apache/cgi-bin/fred/blah.css is not executable;
ensure
interpreted scripts have #! first
On Nov 30, 2004, at 1:42 AM, Ing. Branislav Gerzo wrote:
Sean Davis [SD], on Monday, November 29, 2004 at 17:45 (-0500) has on
mind:
SD Probably the simplest way is to save all your output into a
variable, say
SD $html, rather than printing directly, as you would typically.
Then, make a
SD
Probably the simplest way is to save all your output into a variable, say
$html, rather than printing directly, as you would typically. Then, make a
simple function that displays $html and performs any filtering you like.
Such a subroutine might look like:
#somewhere in the code
my
I have a simple question:
I have a file that is a tar.gz file that I want download to the user
when a form is submitted. The file is static and I know how to set
headers, etc., for download. Is there a specific header type for
tar.gz files (so that the browser will try to uncompress, etc.)?
%s:T_REG:O_COMPRESS:GZIP
- Original Message -
From: Sean Davis
To: '[EMAIL PROTECTED]' Lists
Subject: Forcing download of compressed file
Date: Tue, 23 Nov 2004 08:11:08 -0500
I have a simple question:
I have a file that is a tar.gz file that I want download to the user
when a form is submitted
I use the object-oriented interface pretty much exclusively. There are good
examples of creating a popup menu in the documentation for CGI. (You know
about http://search.cpan.org?) Also, there are multiple websites describing
use of CGI.pm. I would suggest that you start with a simple cgi
Sara,
If your msg column has known values (like an auto_increment column), you
could select those rows directly. I think the reason that all the rows are
selected first by the SQL server is because of the order by. Therefore,
if you could select msg between a and b, that could improve the
On Nov 4, 2004, at 10:03 PM, Luinrandir Hernsen wrote:
Ok.. now how do I get the screen size info to a hidden input (in a
form) or
send back to a cgi ?
I'm guessing as a hiiden input with in a form or as part of the link
command, which calls the game.cgi?W=WvarH=Hvar
p +
A HREF='game.cgi?W= +
If the output is to stderr for some reason, you could try
/dev/null.
Sean
On Oct 21, 2004, at 7:36 AM, Jan Eden wrote:
Hi,
this must be simple, but I cannot seem to find it:
When executing a command via system within a CGI script, the command's
output appears in my browser. I do not use
If you have two hashes, you are probably better off passing by
reference, otherwise the first hash will slurp up the second hash on
the [EMAIL PROTECTED]
Something like
Navigate(\%modules,\%settings);
sub Navigate {
my ($module_ref,$settings_ref)[EMAIL PROTECTED];
Sean
On Oct 14, 2004,
I have an application that requires a configuration to be done before
some pages can be displayed. I have a hook in my code to divert to the
configuration if it hasn't occurred for the active session (I keep a
session ID). However, I'm having a hard time conceptualizing how to
store the
HTTP header, I imagine. There is a section in the CGI documentation
about generating these headers.
Sean
On Sep 30, 2004, at 12:25 AM, Jeff Herbeck wrote:
So, what kind of header are we talking about here. (I'm still
learning)
Jeff
On Wed, 29 Sep 2004 12:43:46 -0600, Wiggins d Anconia
[EMAIL
Bryan,
You might want to look into CGI::Session (on http://search.cpan.org,
our best perl friend). Like much of the grunt work in perl, someone
has already done the vast majority of the work for us and done it
right.
Sean
On Sep 22, 2004, at 2:27 AM, Bryan Harris wrote:
I'm still very much a
All,
Slightly off-topic, but I have a script that dynamically generates
a table. Within this outer table, I have in each cell another table
with 1 row, with each cell having a background color and containing
only nbsp entity. I would like to make each of these inner cells a
fixed width,
Thanks Chris and Gunnar. Setting the inner table width worked, but I
can see that using CSS would offer significant benefits and I will need
to migrate that direction at some point. It seems like the table
version seems to work on many browsers--is the [envisioned] CSS
solution also
I have a cgi-script that needs to generate a batch of images and insert them into the
HTML. I am currently doing this using a helper script that does the generation for
each image and the call to this script and parameters are in an img tag. However, if
I submit this page to the server,
Just print 'table' and '/table' separately. Then, you are free to
when necessary. Alternatively, if you are doing a good deal of this,
look at HTML::Template on cpan--quite nice for doing this type of
thing.
Sean
On Sep 9, 2004, at 6:20 PM, Ing. Branislav Gerzo wrote:
Hi CGIers!
I have small
I have the following html and CGI subroutine that handles it (uses
HTML::Template). I would like to reload the page, switching to another
page when the user changes the pull-down menu. This works fine.
However, as you can see, there is another parameter, name, that I is
included with
Another good point to know. I will try something like that.
Sean
On Sep 8, 2004, at 11:11 AM, William McKee wrote:
On Wed, Sep 08, 2004 at 11:06:58AM -0400, Sean Davis wrote:
Thanks for the clarification. This is as I suspected and not hard. I
guess I have to do reset on my own, then, as well
http://perl.apache.org/embperl/
On Sep 8, 2004, at 11:56 AM, Octavian Rasnita wrote:
Hi all,
Is there a way to embed Perl programs in html like PHP can do?
I heard that Perl can be used in ASP files, but I am wondering if
there is
an Apache module for that task.
It would be cool to exist such a
White space (including carriage returns) is ignored by HTML, generally. Try
surrounding your text output by the pre tag (preformatted text). Does
this do what you want?
Sean
On 9/6/04 20:10, Robert Page IV [EMAIL PROTECTED] wrote:
I am trying to write a simple weekly entry CGI script and I
I have a database of values, each of which belongs to one of several
categories. I want to allow the user to choose one to several
category/value pairs. In other words, I would like to be able to do stuff
like A23, B5, and C7. I can do this with three list-boxes and
corresponding text boxes,
On Aug 31, 2004, at 4:15 PM, Rearick, Kenneth N. wrote:
Is there anyway to see the errors that the DBI:ODBC is generating when
the application is being run from the server? Any ideas why the ODBC
connect is failing?
$dbh = DBI-connect(DBI:ODBC:$SERVER, $USER, $PASSWORD);
You can put catch errors
Dimitra,
Generally, the CGI script has to have permissions to run the
executable. The executable has to be supplied input, typically from a
command line input (via system call) or from a file written to disk and
read by the executable (or piped, etc.). The output of the executable
needs to
I have a script that queries a database and then uses GraphViz.pm to
generate png output based on the query. GraphViz calls executables
located in /usr/local/bin. This runs fine from the command line and
produces a functional png output. However, when I switch this over to
CGI (after adding
Jan,
Thanks for the reply. Since 'neato' is an executable on my system, I
ended up setting my environment path using $ENV{'PATH'}, which fixed
the problem.
Sean
On Jul 30, 2004, at 7:44 AM, Jan Eden wrote:
Hi Sean,
Sean Davis wrote on 30.07.2004:
I have a script that queries a database
I am trying to write a toy script that will ask for an upload file and
then echo that file back to the user on the browser. However, if I do
this all in one script like the following, I get no echoed file.
However, if I instead use a separate HTML form and submit to my script,
it works fine.
Bob,
Thanks. That was the issue.
Sean
On Jul 27, 2004, at 1:31 PM, Bob Showalter wrote:
Sean Davis wrote:
I am trying to write a toy script that will ask for an upload file and
then echo that file back to the user on the browser. However, if I do
this all in one script like the following, I get
I am writing a file (created using File::Temp) to a directory in my
webserver documents directory. I cannot access it from my script
afterwards. It is a graphic created by the script that I then want to
display in an html page. Everything works except that I get an error
that I don't have
Jane,
You should probably look at the BioPerl tutorial
(http://www.bioperl.org/Core/Latest/
bptutorial.html#iii.4.1_running_blast_(using_remoteblast.pm). There
are many tools for doing such things.
Sean
On Jul 20, 2004, at 12:08 PM, Jane Sun wrote:
Where can I find the examples or source
I would try to locate the file error_log. It contains the errors generated
by webpages/cgi. This may give you the answer. I assume that your script
works with tests from the command line, etc.?
Sean
On 7/9/04 5:12 AM, nobody [EMAIL PROTECTED] wrote:
Hi all,
I have received the respond
Thanks for the replies, William and Wiggins.
My misconception was that some cgi.pm methods return strings, and some
return arrays. I was assuming that all were strings--performing a join on
the arrays to get simple strings fixes the problem.
Sean
On 6/24/04 2:44 PM, Wiggins d Anconia [EMAIL
I have an odd result (at least to me) that I can't explain. I am using
CGI::Application and have the following subroutine that returns $output, the
html for the page (only a toy example, but illustrates the point, I think):
sub return_probe_details {
# Get OligoMap object (actually, just
95 matches
Mail list logo