Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Two Contact us forms


Abot

Recommended Posts

Hi!

 

I've searched the suppoert forums but did not come accross similar problem.

 

I need two contact form pages, but the second, modified doesn't work.

 

I named the second contact_uss.php did everything i should do, but i cant get the script to send the data.

 

The problematic line is this:

<!-- body_text //-->
   <td width="100%" valign="top"><?php echo tep_draw_form('contact_us', tep_href_link(FILENAME_CONTACT_USS, 'action=send')); ?><table border="0" width="100%" cellspacing="0" cellpadding="0">

 

I get a 404 error saying

Not Found

The requested URL was not found on this server.

 

Generated url is: http://www.../FILENAME_CONTACT_USS?action=send

Obvoiusly wrong...

 

What am I doing wrong? When i change tep_href_link to original name everything works perfectly.. the problem is, that i want a different subject on the email from the second form!

 

:)

Link to comment
Share on other sites

I named the second contact_uss.php did everything i should do
So you did add:

define('FILENAME_CONTACT_USS', 'contact_uss.php');

to includes/filenames.php and still PHP cannot find that CONSTANT? Strange.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...