printing an image

2002-12-12 Thread Octavian Rasnita
Hi all, Can someone give me a correct example of code that prints an image? Thank you. Teddy, Teddy's Center: http://teddy.fcc.ro/ Email: [EMAIL PROTECTED] -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

automatically downloading files into a certain directory

2002-12-12 Thread Anette Seiler
Dear members of the list! I want to do something where I am not sure it can be done with perl... Basically a user should klick on a button on a website. Then the script should create a file with certain information from a database on the webserver (that's easy) and that file should automaticall

Weekly list FAQ posting

2002-12-12 Thread casey
NAME beginners-faq - FAQ for the beginners-cgi mailing list 1 - Administriva 1.1 - I'm not subscribed - how do I subscribe? Send mail to <[EMAIL PROTECTED]> You can also specify your subscription email address by sending email to (assuming [EMAIL PROTECTED] is your email addre

Re: automatically downloading files into a certain directory

2002-12-12 Thread Christopher G Tantalo
Anette Seiler wrote: > Dear members of the list! > > I want to do something where I am not sure it can be done with perl... > > Basically a user should klick on a button on a website. Then the script > should create a file with certain information from a database on the > webserver (that's easy) a

Re: printing an image

2002-12-12 Thread zentara
On Thu, 12 Dec 2002 10:15:19 +0200, [EMAIL PROTECTED] (Octavian Rasnita) wrote: >Hi all, > >Can someone give me a correct example of code that prints an image? Here's an example that is as simple as it can get: :-) ## #!/usr/bin/perl $file='image1.

Re: automatically downloading files into a certain directory

2002-12-12 Thread zentara
On Thu, 12 Dec 2002 09:21:37 +0100, [EMAIL PROTECTED] (Anette Seiler) wrote: >I want to do something where I am not sure it can be done with perl... > >Basically a user should klick on a button on a website. Then the script >should create a file with certain information from a database on the >w

Re: automatically downloading files into a certain directory

2002-12-12 Thread wiggins
On Thu, 12 Dec 2002 08:01:59 -0500, "Christopher G Tantalo" <[EMAIL PROTECTED]> wrote: > Anette Seiler wrote: > > > Dear members of the list! > > > > I want to do something where I am not sure it can be done with perl... > > > > Basically a user

GD Graphs

2002-12-12 Thread Mike(mickako)Blezien
Hello, I am going to be working on a project, that will be utilizing the GD::Graphs module to create various graph reports. I was hoping that someone could point me to some good documentation or working examples of the uses of this module... of course I've been to CPAN, but was hoping to find m

RE: GD Graphs

2002-12-12 Thread wiggins
O'Reilly offers two books (or they claim the second as of Dec) on this subject that you might want to look into, I have not read/seen either so cannot provide a review sorry. http://www.oreilly.com/catalog/prowg/ http://www.oreilly.com/catalog/perlgp/ (December) http://danconia.org ---

Re: GD Graphs

2002-12-12 Thread Mike(mickako)Blezien
Ok, thanks, I will check it out. ;) >> [EMAIL PROTECTED] wrote: O'Reilly offers two books (or they claim the second as of Dec) on this subject that you might want to look into, I have not read/seen either so cannot provide a review sorry. http://www.oreilly.com/catalog/prowg/ http://www.oreilly.

Re: Pass an NT IIS env variable to apache UNIX cgi ??

2002-12-12 Thread Mystik Gotan
Personally, I'd write them to a file and them get them. That doesn't leave you with installing modules and so on. Plus you can get a good overview. But this is just my way. -- Bob Erinkveld (Webmaster Insane Hosts) www.insane-hosts.net MSN: [EMAIL PROTECTED] From: "Kipp, James"

Nested hash

2002-12-12 Thread T. Murlidharan Nair
Hi!! I have a CGI that updated a mysql database, I have a nested hash structure in it. something like $repeats{$solID[i]}{$expId[i]}{$elemenet[$i]}=1 If I am to check this hash is the inner loop written as foreach $k1 (keys %repeats){ foreach $k2 (keys %re

Re: Re: automatically downloading files into a certain directory

2002-12-12 Thread Mark Bergeron
You could try using a refresh. First click pulls the information from the database and stuffs it into a file. The refresh loads the link of that file and downloads it from the browser. -Original Message- From: "zentara"<[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Date: Thu Dec 12 05:35:48 P

RE: cronjob via perl

2002-12-12 Thread Peter Kappus
Hi sven (et al) Wiggins(?) has a good point about calling the script remotely. But I was trying to figure out what the script actually does and I couldn't find a value for $sql...but my guess is that it looks for new members of some sort and gives them a random password? Is this something

RE: automatically downloading files into a certain directory

2002-12-12 Thread Peter Kappus
Yup...I'm afraid this isn't possible within a browser (for security reasons) but you could easily build a simple perl client that would (using LWP) make a request to a CGI and save the result locally. The problem there is the UI...If you're not using a browser to retrieve the info from a server, t

cronjob via perl

2002-12-12 Thread Sven Bentlage
My provider doesn`t allow any user cronjobs, but I have to perform a regular task (set back passwords ). So I just wrote a small script to the job for me, but I am not sure if it will need to much resources (and because of this would be killed by my provider) Does anyone know a better solution

RE: cronjob via perl

2002-12-12 Thread wiggins
You could setup the script to run through CGI and then use cron on another box to curl, lynx, LWP, etc. the script at your intervals. This is obviously less secure, but you could do things like require a password, check the IP of the machine doing the call (though this can be spoofed as well, ju

Re: cronjob via perl

2002-12-12 Thread Octavian Rasnita
Or if you don't have another server where you can set a cron job, and if you don't need the program to run exactly at a certain interval, you can activate your program each time someone visits your front page. Then you could modify the program to be really activated only after an hour, 24 hours,