Uploading a file?

2002-02-25 Thread Rob Roudebush
Does anyone know how to upload a file to your site? -Rob - Do You Yahoo!? Yahoo! Sports - Coverage of the 2002 Olympic Games

Re: How can I Track the client IP, when a web request is made to my server.

2002-02-27 Thread Rob Roudebush
In the CGI script put $varwhatever=remote_addr; vijayak <[EMAIL PROTECTED]> wrote: All, I am Just a Beginner in this & I want to know about How to track the client IP, when a web request is made to my server, and pass is to one variable for further use. thanks a lot if you can give some

Re: Taking entire Oracle application (forms, reports) to WEB using CGI?

2002-02-28 Thread Rob Roudebush
I currently use mysql and it works great - I have at least 10 different forms running on Apache that I've created in the past month or so. fliptop <[EMAIL PROTECTED]> wrote: Bruce Ambraal wrote: > Hi All > How possible is this.? very. > This a good Idea? personally, i'd use postgresql (

Re: Escaping special characters for regular expressions

2002-02-28 Thread Rob Roudebush
Wouldn't single quotes do the trick? Curtis Poe <[EMAIL PROTECTED]> wrote: --- W P wrote: > i don't want to just escape those characters. they were merely examples. i > was hoping maybe there was some built-in way to escape ALL the characters > that mean anything to regular expressions. Well,

Text input fields with preassigned text??

2002-03-01 Thread Rob Roudebush
Is there anyway to display text input fields with text already inside, that can be modified and submitted? Bhanu Prakash <[EMAIL PROTECTED]> wrote: Perl Listers, I'm unable to retrieve cookies once I set them! I can see my html headers on my page once they are set, along with the page, but w

Regular expression help w/timestamp

2002-03-03 Thread Rob Roudebush
Has anyone ever turned the mysql timestamp format 20020303223726 into something more readable like - 03/03/2002 22:37:26? I am also trying to do this from an array (the timestamp is in a array). I just figured somebody has probably done this already. Thanks, Rob ---

CGI Design problem

2002-03-06 Thread Rob Roudebush
Okay, I created a HTML Form that calls a CGI script. After the form is submitted it sends out e-mails with a link inside to certain managers. They follow the link which is a separate HTML page that calls a separate CGI script. Question: I need to keep track of the managers who follow the link an

Expanding param("someinput") in here document

2002-03-07 Thread Rob Roudebush
I'm trying to avoid assigning each param("somekey") to a variable in order to expand it in my here document. I can refer to it as a hash element without any variable assignment using - print param("somekey"); - but I don't want to have to use print statements instead of a here document to disp

changing the defualt "nobody"@somecomputer.com (mailx)

2002-03-08 Thread Rob Roudebush
My CGI script shoots out an automated e-mail using mailx. Is there any way to change the "nobody"? -Rob - Do You Yahoo!? Try FREE Yahoo! Mail - the world's greatest free email!

Re: changing the defualt "nobody"@somecomputer.com (mailx)

2002-03-10 Thread Rob Roudebush
I'm using mailx from within a script, so I can't use it interactively open (MFH, "| mailx -s 'Subject' [EMAIL PROTECTED]") print MFH < wrote: On Fri, Mar 08, 2002 at 06:05:07PM -0800, Rob Roudebush wrote: > > My CGI script shoots out an automated

Match and remove an element in an array

2002-03-15 Thread Rob Roudebush
Okay my script takes names from a fom and puts them into an array - then later I need to match a $variable (one of the names) against that array and take that specific element out of the array. I figure there is probably an easy function to do this? @array=(john, lucy, mike); $name=john I ne

Re: Secure Logoff from Session CGI

2002-03-15 Thread Rob Roudebush
I'm not sure, but how do you set a cookie and have it expire in ten minutes? -Rob --- Sean Abrahams <[EMAIL PROTECTED]> wrote: > I have a small series of web pages that talks to a > database and uses > forms to input/alter data. > > In order to get to these web pages a user has to > authenticat

Mod_perl

2002-03-22 Thread Rob Roudebush
I have created basic forms using CGI.pm and now I'm interested in using Apache mod_perl to speed things up and use associated apache modules. Question: Can I continue to program using regular CGI, using params etc. or does mod_perl require me to program differently? Links to good resources w

Password code!!

2002-04-11 Thread Rob Roudebush
Please help - I need to password protect my form by COB today. I initially had just a password field at the bottom to authenticate prior to clicking submit. Is there anything better - say something that launches when a link is selected to the form?? Nate Brunson <[EMAIL PROTECTED]> wrote:

Using strict with DBI

2002-04-29 Thread Rob Roudebush
For some reason the DBI part of my code doesn't work with strict - is this a limitation or am I doing something wrong - I declare my variables as my or private - my $sth = DBI->... Another question how can I test my script at the command line with -w if it is interactive? Or how do I push wa

Re: Using strict with DBI

2002-04-30 Thread Rob Roudebush
I've seemed to have narrowed down the problem to $sth variable, I guess I can't declare this as a private variable because it "prepares" it and needs to have it at least local or global to access it? Rob Roudebush <[EMAIL PROTECTED]> wrote: I think pulling the I

Re: Using strict with DBI

2002-05-15 Thread Rob Roudebush
d how do I just avoid the private or my declaration by specifically declaring a variable as a global variable (using vars?). foreach $var (@email){ $var =~ /(^.*)\\@.*/; @names = (@names, "$1 ");} @names = map (uc($_), @names); Todd Wade <[EMAIL PROTECTED]> wrote: "Rob Roudebu

why do I get the following warning for taint

2002-05-29 Thread Rob Roudebush
When I run perl -c myscript.cgi to test the syntax or perl -w ..., it produces this: Too late for "-T" option at maintenance.cgi line 1 (my line 1 is just the shebang line with the -T option). Does this mean that something is wrong? -Rob Carl Franks <[EMAIL PROTECTED]> wrote: Hi, This is how

Capturing signal to cgi form

2002-06-05 Thread Rob Roudebush
Does anyone know how to capture the carriage return to prevent a user from accidentally submitting the form by pressing 'return' before they actually finish completing the form? -Rob - Do You Yahoo!? Sign-up for Video Highlights of 2002 FIFA World Cup

single quotes kill my scripts

2002-06-10 Thread Rob Roudebush
I have the following code - when someone enters a whatever ' whatever into one of my forms my script dies because of the single quote. Aggg... of course the first time I come across it is when my boss is testing out the script. $sth = $dbh->do( "insert into maintenance (owner, email, ma

ftp to get a file from my cgi

2002-07-03 Thread Rob Roudebush
Hi, When my form processess it needs to ftp into a site to grab information - can I use a here document for that? Any quick example please. Thanks, Rob Todd Wade <[EMAIL PROTECTED]> wrote: wrote in message 008801c222a5$a7c3cb10$d381f6cc@david">news:008801c222a5$a7c3cb10$d381f6cc@david... >