Reducing load on server.

2004-11-19 Thread Sara
I am writing a Cgi script to retrieve records and split it into pages. my $limit = $q->param('limit') || '0'; my $results_per_page = 50; my $query = $dbh -> prepare("SELECT * FROM $table WHERE reply=0 ORDER BY msg DESC LIMIT $limit, $results_per_page"); $query->execute(); while (my @row = $query

Re: CGI.pm program

2004-11-19 Thread Bill Stephenson
On Nov 19, 2004, at 3:49 PM, Lewick, Taylor wrote: I have a CGI.pm program that works from the command line, but when I try and view it from the browser, the error_log shows, malformed header from script. Bad header= /web/cgi-bin/bb_test/bb_test5.p I don't have these problems when I just use cont

CGI.pm program

2004-11-19 Thread Lewick, Taylor
I have a CGI.pm program that works from the command line, but when I try and view it from the browser, the error_log shows, malformed header from script. Bad header=http://learn.perl.org/>

RE: question about doing it right in CGI

2004-11-19 Thread Bob Showalter
Lewick, Taylor wrote: > Hi all, I have been using perl for sometime for CGI scripts, but have > always used the print content-type:html version of doing things. > > I would like to learn a better way with the CGI module, but when I > read the docs I find it pretty easy to get confused as to whethe

question about doing it right in CGI

2004-11-19 Thread Lewick, Taylor
Hi all, I have been using perl for sometime for CGI scripts, but have always used the print content-type:html version of doing things. I would like to learn a better way with the CGI module, but when I read the docs I find it pretty easy to get confused as to whether I should use the object orient

Re: Upload dir permissions

2004-11-19 Thread Ed Pigg
On Nov 19, 2004, at 12:37 PM, Chasecreek Systemhouse wrote: On Fri, 19 Nov 2004 12:29:21 -0600, Ed Pigg <[EMAIL PROTECTED]> wrote: I want to make sure that I am taking the site security seriously and don't expose it to threats needlessly. =) You have taken a step into a largewr world. Welcome

Re: Upload dir permissions

2004-11-19 Thread Chasecreek Systemhouse
On Fri, 19 Nov 2004 12:29:21 -0600, Ed Pigg <[EMAIL PROTECTED]> wrote: > I want to make sure that I am taking the site security seriously and > don't expose it to threats needlessly. =) You have taken a step into a largewr world. Welcome =) The Internet is not a secure place. Securely creati

Re: Upload dir permissions

2004-11-19 Thread Ed Pigg
On Nov 19, 2004, at 12:10 PM, Chasecreek Systemhouse wrote: On Fri, 19 Nov 2004 11:50:41 -0600, Ed Pigg <[EMAIL PROTECTED]> wrote: I'm trying to setup a system where users can upload images to a designated uploads dir. Once the file is successfully uploaded I want Keep account creation and uploads

Re: Upload dir permissions

2004-11-19 Thread Chasecreek Systemhouse
On Fri, 19 Nov 2004 11:50:41 -0600, Ed Pigg <[EMAIL PROTECTED]> wrote: > Hi all, > > I'm trying to setup a system where users can upload images to a > designated uploads dir. Once the file is successfully uploaded I want Keep account creation and uploads separate functions. > Do I need to make t

Upload dir permissions

2004-11-19 Thread Ed Pigg
Hi all, I'm trying to setup a system where users can upload images to a designated uploads dir. Once the file is successfully uploaded I want to transfer it to an image directory with a filename I have assigned. I can do those things with by current application. I needed to change the permissio

Re: Module to Create File

2004-11-19 Thread Chasecreek Systemhouse
On Fri, 19 Nov 2004 10:13:30 +0100, Naji, Khalid <[EMAIL PROTECTED]> wrote: > Hi, > Which Perl module can I use to dynamically create large files with images. > I have already used the module "PDF::Create" but i find it a bit slow. The solution I have used over the years isn't exactly perl relat

acting as proxy server for an image

2004-11-19 Thread Angela
Hi, I run a free service for General Aviation pilots to put weather data on their mobile phones. One site of use to UK pilots is the UK Met Office but their logon pages are tedious and have a high bandwidth overhead for mobile users. I am trying to provide a 'proxy' service that re

Module to Create File

2004-11-19 Thread Naji, Khalid
Hi, Which Perl module can I use to dynamically create large files with images. I have already used the module "PDF::Create" but i find it a bit slow. Thank you KN -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]