Re: redirecting cgi via post method

2007-02-16 Thread Mike Blezien
You may also want to check out the WWW::Mechanize module this will do what your looking for. Mike - Original Message - From: "Mumia W." <[EMAIL PROTECTED]> To: "Beginners CGI" Sent: Friday, February 16, 2007 12:49 PM Subject: Re: redirecting cgi via post met

Re: redirecting cgi via post method

2007-02-16 Thread Mumia W.
On 02/16/2007 12:00 PM, [EMAIL PROTECTED] wrote: Greetings, I have a CGI that receives some parameters, and after processing them (it generates a file) it must be redirected to another CGI (external domain) to process it. What I want to do is similar to redirect("http://somedomain.c

redirecting cgi via post method

2007-02-16 Thread buzon
Greetings, I have a CGI that receives some parameters, and after processing them (it generates a file) it must be redirected to another CGI (external domain) to process it. What I want to do is similar to redirect("http://somedomain.com/cgi-bin/myscript.cgi?param1=some¶m2=stuff";)

Re: redirecting cookie

2007-01-11 Thread Mumia W.
On 01/10/2007 02:48 PM, Slawomir Orlowski wrote: Hello, Thank for you suggestions and help. I surely appreciate it. I don't think that is possible. Cookies are restricted to the domain of the server that creates them. As you found out, you'll have to use a query string (a GET parameter). If

Re: redirecting cookie

2007-01-11 Thread Slawomir Orlowski
Hello, Thank for you suggestions and help. I surely appreciate it. > > I don't think that is possible. Cookies are restricted to the domain of > the server that creates them. As you found out, you'll have to use a query > string (a GET parameter). If that is the case, what is the meaning of -c

Re: redirecting cookie

2007-01-10 Thread Mumia W.
On 01/09/2007 03:40 PM, Slawomir Orlowski wrote: Hello everybody, I have Linux Enterprise v4 apache 2.0.58 and perl 5.8.5. I have one web page domain1 (users are recognized by domain1cookie) I would like to move my web page to new domain2 and I would like users to be recognized by domain2

redirecting cookie

2007-01-10 Thread Slawomir Orlowski
Hello everybody, I have Linux Enterprise v4 apache 2.0.58 and perl 5.8.5. I have one web page domain1 (users are recognized by domain1cookie) I would like to move my web page to new domain2 and I would like users to be recognized by domain2cookie (which would have the some value as domain1

Re: redirecting and setting cookies with CGI.pm

2004-06-13 Thread Andrew Gaffney
Andrew Gaffney wrote: Is there a way to use redirect() *and* set cookies like with header()? Nevermind, I just added "-status=>'302 Found', -Location=>'http://somesite.com/somepage.html'" to my header() call. -- Andrew Gaffney Network Administrator Skyline Aeronautics, LLC. 636-357-1548 -- To uns

redirecting and setting cookies with CGI.pm

2004-06-13 Thread Andrew Gaffney
Is there a way to use redirect() *and* set cookies like with header()? -- Andrew Gaffney Network Administrator Skyline Aeronautics, LLC. 636-357-1548 -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Redirecting

2004-05-20 Thread Randal L. Schwartz
> "Jan" == Jan Eden <[EMAIL PROTECTED]> writes: Jan> But after committing the data to my database, I use CGI's print Jan> $q->redirect() to call the script again, this time with the user Jan> name and password as parameters visible in the browser's address Jan> bar. Jan> How can I circumvent

Redirecting

2004-05-19 Thread Jan Eden
Hi all, I wrote a script which operates in various modes (view, edit, commit). Calling the script in edit mode and submitting the resulting html form calls the script in commit mode. Before editing, though, the user has to identify himself. The user name and password are stored in hidden html i

Re: Redirecting to a different url with cgi

2003-11-26 Thread Aman Raheja
PROTECTED] Sent: Wednesday, November 26, 2003 8:19 AM Subject: Redirecting to a different url with cgi What is the perl code to redirect to a new url, in cgi.  All I need is to execute a perl script and when its done to redirect the clients browser to a new location. I am runni

Re: Redirecting to a different url with cgi

2003-11-26 Thread Wiggins d Anconia
> > What is the perl code to redirect to a new url, in cgi. All I need is to > execute a perl script and when its done to redirect the clients browser to a > new location. > I am running Windows 2000 and IIS. > > If you are using CGI.pm then it has a 'redirect' method: http://search.cpan.o

Redirecting to a different url with cgi

2003-11-26 Thread Ash Singh
What is the perl code to redirect to a new url, in cgi.  All I need is to execute a perl script and when its done to redirect the clients browser to a new location. I am running Windows 2000 and IIS.   Developer eMessageX.com Tel: +27 (0)11 789 1808 Fax: +27

RE: Redirecting to a page and downloading

2002-04-07 Thread Scot Robnett
t: Re: Redirecting to a page and downloading Javascript seems to work pretty well for this. If you put this in a page, the visitor will be prompted to download the file as soon as the page is fully loaded. Best Regards, JOSHUA D. HAYDEN - Original Message - From: &quo

Re: Redirecting to a page and downloading

2002-04-07 Thread Joshua Hayden
lt;[EMAIL PROTECTED]> Sent: Saturday, April 06, 2002 10:52 PM Subject: Redirecting to a page and downloading > Hi all, > > I want to make a script that will start downloading a file when a link is > clicked, then it will redirect to another web page. > Please advice how to do it. >

Redirecting to a page and downloading

2002-04-06 Thread Octavian Rasnita
Hi all, I want to make a script that will start downloading a file when a link is clicked, then it will redirect to another web page. Please advice how to do it. If I put: print "Location: $path\n\n"; ... this will start downloading if the $path is a path to a file, but the page won't be printed

RE: Redirecting STDOUT to a variable...

2001-11-29 Thread Ajmera_Mayank
: Wednesday, November 28, 2001 1:47 PM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: RE: Redirecting STDOUT to a variable... On Wed, 28 Nov 2001 [EMAIL PROTECTED] wrote: > Thanks, but I need to preserve the value returned by $mycommand also. I > guess using backticks won't all

Re: Redirecting STDOUT to a variable...

2001-11-29 Thread Roger C Haslock
$datacapture = `$command`; $successorfailure = $?; - Original Message - From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Wednesday, November 28, 2001 4:57 PM Subject: RE: Redirecting STDOUT to a variable... &

RE: Redirecting STDOUT to a variable...

2001-11-28 Thread Brett W. McCoy
On Wed, 28 Nov 2001 [EMAIL PROTECTED] wrote: > Thanks, but I need to preserve the value returned by $mycommand also. I > guess using backticks won't allow me to do that . > Mostly what I need to do is read from STDOUT into a variable. But I don't > know how to do that. Then just redirect STDOUT

RE: Redirecting STDOUT to a variable...

2001-11-28 Thread Ajmera_Mayank
lto:[EMAIL PROTECTED]] Sent: Wednesday, November 28, 2001 11:56 AM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: Redirecting STDOUT to a variable... On Wed, 28 Nov 2001 [EMAIL PROTECTED] wrote: > I am looking to run a command using perl and get its return value as well as > its STDOUT

RE: Redirecting STDOUT to a variable...

2001-11-28 Thread Ajmera_Mayank
Hi, Thanks -Original Message- From: Brett W. McCoy [mailto:[EMAIL PROTECTED]] Sent: Wednesday, November 28, 2001 11:56 AM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: Redirecting STDOUT to a variable... On Wed, 28 Nov 2001 [EMAIL PROTECTED] wrote: > I am looking to ru

Re: Redirecting STDOUT to a variable...

2001-11-28 Thread Brett W. McCoy
On Wed, 28 Nov 2001 [EMAIL PROTECTED] wrote: > I am looking to run a command using perl and get its return value as well as > its STDOUT. Currently I am doing is > > $result = system("$myCommand >out.txt"); > open(FILE,"< out.txt"); > > and then processing the data from the file. This is terribly

Redirecting STDOUT to a variable...

2001-11-28 Thread Ajmera_Mayank
Hi, I am looking to run a command using perl and get its return value as well as its STDOUT. Currently I am doing is $result = system("$myCommand >out.txt"); open(FILE,"< out.txt"); and then processing the data from the file. This is terribly slow for my application. Is there some way where I c

RE: Redirecting STDOUT

2001-08-07 Thread Curtis Poe
--- Mark Ross <[EMAIL PROTECTED]> wrote: > >Have you taken a look at the GnuPG or Crypt::GPG > modules on CPAN? > > Yep, I've looked (and longed), but my Web hosting > service refers to them as "hooky." I think he's > hostile because they aren't version 1 or higher (not > that it really makes muc

RE: Redirecting STDOUT

2001-08-07 Thread Mark Ross
ile, >> both of which aren’t good. >> >> I was hoping redirect STDOUT to a variable for a >>short >> time. >> >> I’ve seen references to redirecting filehandles in >>the >> documentation, but no details

RE: Redirecting STDOUT

2001-08-07 Thread Bradley M. Handy
Have you taken a look at the GnuPG or Crypt::GPG modules on CPAN? These would probably work really good for what you're doing, and you wouldn't have to worry about redirecting STDOUT. Brad Handy --www.jack-of-all-trades.net [EMAIL PROTECTED] > -Original Message- >

Redirecting STDOUT

2001-08-07 Thread Mark Ross
time. I’ve seen references to redirecting filehandles in the documentation, but no details on how to do it. (Which I’m sure are there, but I’ve just missed). Could someone point me where to look? Thanks, --Mark. __ Do You Yahoo!? Make international

Re: Redirecting AND creating cookies

2001-06-02 Thread Mark Mogridge
on 02/06/2001 05:41, Curtis Poe at [EMAIL PROTECTED] wrote: > In this case, I think your code may be at fault. Set the cookie when printing > the redirect header. > Here's one way to set a cookie with a redirect header: > > #!C:\perl\bin\perl.exe > use CGI; > my $cgi = CGI->new; > my @cookieOut;

Re: Redirecting AND creating cookies

2001-06-01 Thread Curtis Poe
gt; '/')); print $cgi->redirect( -cookie => \@cookieOut, -location => 'http://www.somehost.com' ); --- Mark Mogridge <[EMAIL PROTECTED]> wrote: > Ooops I¹ll try again...with a header this time. > > > Hi there! > > Redirecting AND c

Redirecting AND creating cookies

2001-06-01 Thread Mark Mogridge
Ooops I¹ll try again...with a header this time. Hi there! Redirecting AND creating cookies - I can't! I can create cookies... print header(-cookie=>[$clubid,$membername,$pointsbal]); That¹s fine I can redirect... print "Location: $gotourl";