RE: Uploading Help

2002-06-18 Thread Scot Robnett
Unless you run your own server, this may not work because the web host may not have decided to update their version of Perl or CGI.pm yet. For instance, my hosting service is still using Perl 5.005_03 with CGI.pm version 2.46. So I tried the preferred upload method with no success. The previous m

Re: Uploading Help

2002-06-18 Thread John Brooking
--- Ovid <[EMAIL PROTECTED]> wrote: > --- Janek Schleicher <[EMAIL PROTECTED]> wrote: > > I'm also not an expert of uploading files. > > But you do two things to read the file: > > > > $file = $q->param("file$i"); > > Now $file contains a string. > > > > Then you use something like > > my $uploa

Re: refreshing problem

2002-06-18 Thread John Brooking
Okay, I gotcha. The same script generates the form everytime. If it has some parameters, it processes them first, then regardless, it draws the form for the next time. I think the browser is "working as intended". No matter what the current URL is, the "Refresh" button simply re-requests it, incl

Re: refreshing problem

2002-06-18 Thread spider man
The redirection to itself actually works. I wonder if there are any flaws in this process. It seems to be more of a work around instead of an actual correct way of doing things. What do you think? spider man <[EMAIL PROTECTED]> wrote: My script has HTML code generated at the at the file. Th

Re: refreshing problem

2002-06-18 Thread spider man
My script has HTML code generated at the at the file. There is an "if" condition on the param() values at the beginning for processing. Regardless of the "if" condition, the code to generate HTML code is executed at the end. So the form is http:////form.pl and when you submit the form

Re: refreshing problem

2002-06-18 Thread John Brooking
When you say that after the text is processed, the same form is regenerated back to user, how are you doing that? Via a redirect? Another leading question would be what is the URL shown in the address bar the first time you enter the form, versus subsequent times. Is it the same? If, on subsequent

refreshing problem

2002-06-18 Thread spider man
I got a simple form running on NT IIS web server. Everything works fine. The simple form consist of text fields. When you fill out the text and submit the form, the text is processed and regenerates the same form back to the user. When the form regenerates, the fields are blanked out. At this p

Re: about awk 2 perl

2002-06-18 Thread Ramprasad A Padmanabhan
convert any awk script to perl directly by using a2p like echo '{print $1,$2}' | a2p Chang Ming Huei wrote: > Hi all: > > I want to use perl to do something like a awk script as following: > > cat file.txt | awk '{print $1,$2}' > > How can I do it ? > -- To unsubscribe

RE: more redirect script problems

2002-06-18 Thread Bob Showalter
> -Original Message- > From: Hughes, Andrew [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, June 18, 2002 10:02 AM > To: [EMAIL PROTECTED] > Subject: more redirect script problems > > > I am still trying to create this redirect script that is > called when the > referring page refreshes aft

more redirect script problems

2002-06-18 Thread Hughes, Andrew
I am still trying to create this redirect script that is called when the referring page refreshes after 0 seconds (with a meta tag) to the redirect.pl. I am having a couple of problems. The first is that when it refreshes the scripted does not recognize the page as the referring page. Each time

RE: Is it a difference?

2002-06-18 Thread Bob Showalter
> -Original Message- > From: Todd Wade [mailto:[EMAIL PROTECTED]] > Sent: Monday, June 17, 2002 6:40 AM > To: [EMAIL PROTECTED] > Subject: Re: Is it a difference? > > > > "Bob Showalter" <[EMAIL PROTECTED]> wrote in message > 2E4528861499D41199D200A0C9B15BC031BAD4@FRISTX">news:2E4528861