Re: use of Mail::Sendmail

2002-03-27 Thread Matthew Harrison
forgot to attach the script didn't i. oh well, here it is: ###

use of Mail::Sendmail

2002-03-27 Thread Matthew Harrison
I have a script that uses Mail::Sendmail. This script (included below) does actially work and actually emails the recipient as it should, but it gives me compilations errors etc. How can I make the script ignore the errors and display some html or can someone tell me how and why these error app

Perl ppd Log Script

2002-03-27 Thread Nate Britt
Does anyone have anything written, or know how to write anything, that would pull the pppd info (eg. user, login time, length, line, and IP) out of the /var/log/messages log? I need it in raw form so that it can be input into a MySQL database for tracking. I am new to perl and would appreciat

Re: How to run it without a subroutine

2002-03-27 Thread Tagore Smith
Octavian Rasnita: > Hi all, > > I am fighting with the following short test script, and I can make it work > only if I use a subroutine. > I want to make it work without a subroutine. > > The script works as it is, but if I remove the line that runs the > subroutine, and the > first and last line

Updating multiple frames in one CGI processing cycle

2002-03-27 Thread Ted Markowitz
As I understand it, because of the single-request/single-response nature of the HTTP protocol and the way frames are treated as individual, separate pages, that there's no way to get results from a form in one frame, process it with a CGI script and the output a new page to both that frame AN

Re: Creating table for message board server tosave/delete/update messages

2002-03-27 Thread Dave K
Bruce: use warnings; use strict; use DBI; my $dbname = 'Bruce'; my $dbhostname = 'localhost'; my $user = 'root'; my $password = '' ; my $cs = "CREATE TABLE employee_Info (primary_key INT AUTO_INCREMENT NOT NULL, name CHAR(20), surname CHAR(20), employee_no CHAR(10), shoe_colour CHAR (

Re: How I can logout?

2002-03-27 Thread Hytham Shehab
hi Luis, i think u may delete his cookie that u propably set, i think CGI wll be just fine. -- Hytham Shehab -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

LONG POST CGI, images and core dumps

2002-03-27 Thread Dave K
First, thanks (again) for past help. This one might be tough. I have a number of images stored in a database and a script that takes care of fetching the right one. It is the target of an html image tag. http://localhost:80/fetch.pl?star=polatis&type=bright&num=5";> In static pages, this works fin

How to run it without a subroutine

2002-03-27 Thread Octavian Rasnita
Hi all, I am fighting with the following short test script, and I can make it work only if I use a subroutine. I want to make it work without a subroutine. The script works as it is, but if I remove the line that runs the subroutine, and the first and last lines of the subroutine (sub up { ... a

Re: Transferring files from a client

2002-03-27 Thread Emmanuel Jaeckert
I think multiple could do the job but what i want is somewhat different : user wouldn't have to choose files, they should be chosen programatically, so i want my script to look to local directory to achieve file list to upload, but for security issue, i think that nor Perl nor JS could do it. Am

Creating table for message board server tosave/delete/update messages

2002-03-27 Thread Bruce Ambraal
Hi All I need some one to comment on the program below With the code below I am trying to design a table that allows a simple message board server to: 1) Save a message, 2) delete a message, 3) update a message The password + username must be saved in the same table entry, and compare it when

Re: Transferring files from a client

2002-03-27 Thread fliptop
fliptop wrote: > rather something to do with the http protocol. when i want to pass > multiple files, i provide multiple boxes. sorry, that should be . -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Transferring files from a client

2002-03-27 Thread fliptop
Emmanuel Jaeckert wrote: > thank you for your ans, but as far as i understand (maybe i don't) cgis's > upload() method only work for one file based on the user choice after a > manual browse... > > I want to permit user to enter any text in an input box and get all files > eg : the user type "13

Re: Transferring files from a client

2002-03-27 Thread Emmanuel Jaeckert
thank you for your ans, but as far as i understand (maybe i don't) cgis's upload() method only work for one file based on the user choice after a manual browse... I want to permit user to enter any text in an input box and get all files eg : the user type "13", files i want to be uploaded are : F