Re: File upload problems

2001-08-16 Thread Curtis Poe
--- Ryan Davis <[EMAIL PROTECTED]> wrote: > Hey everyone, here's my problem: > > I have a script to take information and put it in a database, and also upload a >resume. The > entire thing works on my test machine (Win98/Activeperl/Apache) but doesn't work on >my actual > machine (Digital Unix

File upload problems

2001-08-16 Thread Ryan Davis
Hey everyone, here's my problem:   I have a script to take information and put it in a database, and also upload a resume.  The entire thing works on my test machine (Win98/Activeperl/Apache) but doesn't work on my actual machine (Digital Unix/Perl5+/Apache).    I've attached the entire scri

Re: Passing Scalar Reference to Subroutine

2001-08-16 Thread randy Peterman
I believe that you may need to add an ampersand "&" before the name of the subroutine, like so: if(!&isPresent(\$req, $user)) Randy "David Simcik" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Newbie question here... > > I've created a CGI.pm object and want

RE: executing a cgi-script continously

2001-08-16 Thread Moon, John
Please ask your question a different way ... I do not understand what you want to accomplish ... Generally "all" of my scripts "execute them selves again" ... They "reply" to the previous request and wait for the next of many actions a single form could request... If you want the screen to "con

RE: executing a cgi-script continously

2001-08-16 Thread James Kelty
Assuming of course that we are on a *NIX system. -James -Original Message- From: James Kelty [mailto:[EMAIL PROTECTED]] Sent: Thursday, August 16, 2001 4:37 PM To: [EMAIL PROTECTED] Subject: RE: executing a cgi-script continously While I agree that having cron access does vary, your s

RE: executing a cgi-script continously

2001-08-16 Thread James Kelty
While I agree that having cron access does vary, your solution wouldn't really handle the DB being down either, unless of course there is some error detection going on it the script in the first place. In either case, they would both work, or having an at now command at the bottom of the script wo

RE: executing a cgi-script continously

2001-08-16 Thread Morbus Iff
>>Is it possible to have a CGI script that, at the end of doing all the > >James Keltys idea using a perl script in cron using LWP::Simple against the >CGI in question sounds the most obvious answer How do you figure? He wants to run it after the script is done, not every X minutes, like a cron.

Re: executing a cgi-script continously

2001-08-16 Thread Morbus Iff
>Is it possible to have a CGI script that, at the end of doing all the >stuff you Sure. You could spit out a Content-type header and then a Location: header that referred back to the script. -- Morbus Iff ( i am your scary godmother ) http://www.disobey.com/ && http://www.gamegrene.com/ please m

RE: executing a cgi-script continously

2001-08-16 Thread James Kelty
Why not use a crontab or atd type file? -James -Original Message- From: Simon K. Chan [mailto:[EMAIL PROTECTED]] Sent: Thursday, August 16, 2001 3:34 PM To: [EMAIL PROTECTED] Subject: executing a cgi-script continously Hey all, Is it possible to have a CGI script that, at the end of

executing a cgi-script continously

2001-08-16 Thread Simon K. Chan
Hey all, Is it possible to have a CGI script that, at the end of doing all the stuff you want, re-executes itself (executes itself again)? I'm writing this for a CGI script that uses a DBI script to connect and return queries from a Mysql database. Many thanks! = ##

Re: Run a CGI Script on OS X w/o...

2001-08-16 Thread Morbus Iff
>I have a mac w/ OS 9, and would like to know if I upgrade to OS X (UNIX >BASE) would I be able to run CGI scripts natively w/o having to connect to >the internet, but use the WEB SERVER on the hard disk instead? I heard that >the only way to connect to the internet w/ OSX is through Ethernet,

Run a CGI Script on OS X w/o...

2001-08-16 Thread Nonshirk
I have a mac w/ OS 9, and would like to know if I upgrade to OS X (UNIX BASE) would I be able to run CGI scripts natively w/o having to connect to the internet, but use the WEB SERVER on the hard disk instead? I heard that the only way to connect to the internet w/ OSX is through Ethernet, no d

Weekly list FAQ posting

2001-08-16 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 addr

Passing Scalar Reference to Subroutine

2001-08-16 Thread David Simcik
Newbie question here... I've created a CGI.pm object and want to pass its reference to a function. It keeps on puking though, returning this message: Type of arg 1 to main::isPresent must be scalar (not single ref constructor) at C:\src\Orion\cgi-bin\share.pl line 45, near "$user)" Basically, I