CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

Home: Perl Programming Help: Intermediate:
CGI Script Forwarding...

 



gareth-owen
Deleted

Apr 9, 2000, 10:14 PM

Post #1 of 3 (408 views)
CGI Script Forwarding... Can't Post

Hello!
I really feel like I'm pestering this list with my questions, so please forgive me...

But...

I have a CGI script provided by my hosting company (meaning I can't edit the actual script). The script puts people on a mailing list when they enter their email address, this works fine, BUT, whenever they submit their address via the form it sends them to a standard 'thank you' page. I've tried using 'redirect' commands (simular to formmail) but these don't work...

For people to sign up I have to place a form (for their email address), with the action:

<form
action="http://www.mydomain.com/php-bin/lists.cgi"
method="post">

(This is a script I have no acess to!)

So... what I'm trying to do is to write a short script that would send the necessary information to the form (i.e. execute the action above, secretly), and then send the user to a customised 'thank you' page...

How would I do this???

Thanks loads,

Gareth...


Jasmine
Administrator

Apr 9, 2000, 10:59 PM

Post #2 of 3 (408 views)
Re: CGI Script Forwarding... [In reply to] Can't Post

The answer is easy -- don't use the mailing list program that your host preinstalled for you Smile If you can't edit it, you can't change its behaviour.

There are lots of mailing list programs that allow you to offer a customized "thank you" page, such as SubscribeMe -- at http://cgiscriptcenter.com/

Many other mailing list programs are listed at http://www.perlarchive.com/guide/Mailing_Lists



gareth-owen
Deleted

Apr 10, 2000, 11:08 AM

Post #3 of 3 (408 views)
Re: CGI Script Forwarding... [In reply to] Can't Post

Thanks loads!

V. Greatful...

Gareth...

 
 


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives