Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

use formmail.pl on new php page


Guest

Recommended Posts

Posted

Hi,

 

I have a new page setup called mailing_list.php with files in the catalog and includes/languages/english folders and filenames.php in includes.

 

I need to use my cgi-bin form called formmail.pl.

 

I have setup this formmail.pl form in the includes/languages/english/mailing_list.php page.

 

The form is working but I would like it to redirect to one of the php pages and it will not.

 

Is there a way to use the redirect on the cgi form to go to a php page?

 

Thanks!

Posted

yeah formmail usually has a redirect field try adding this to the form

 

<input type=hidden name="redirect" value="http://www.yoursite.com/catalog/default.php">

Reddy to Rumble

 

Thank you osCommerce and all who Contribute to her!

Posted

I did but it didn't work.

 

Maybe there's an easier way to do this but I don't know.

Posted

It's working...don't know where my brain is today! :lol:

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...