Jump to content

Help Changeing the address on my Contact Us page


customnw

Recommended Posts

Here is the code for the contact page:

 

<?php

/*

  $Id: contact_us.php,v 1.42 2003/06/12 12:17:07 hpdl Exp $

 

  osCommerce, Open Source E-Commerce Solutions

  http://www.oscommerce.com

 

  Copyright © 2003 osCommerce

 

  Released under the GNU General Public License

*/

 

  require('includes/application_top.php');

 

  require(DIR_WS_LANGUAGES . $language . '/' . FILENAME_CONTACT_US);

 

  $error = false;

  if (isset($HTTP_GET_VARS['action']) && ($HTTP_GET_VARS['action'] == 'send')) {

    $name = tep_db_prepare_input($HTTP_POST_VARS['name']);

    $email_address = tep_db_prepare_input($HTTP_POST_VARS['email']);

    $enquiry = tep_db_prepare_input($HTTP_POST_VARS['enquiry']);

 

    if (tep_validate_email($email_address)) {

      tep_mail(Michael_Fox, STORE_OWNER_EMAIL_ADDRESS, EMAIL_SUBJECT, $enquiry, $name, $email_address);

 

      tep_redirect(tep_href_link(FILENAME_CONTACT_US, 'action=success'));

    } else {

      $error = true;

 

      $messageStack->add('contact', ENTRY_EMAIL_ADDRESS_CHECK_ERROR);

    }

  }

 

  $breadcrumb->add(NAVBAR_TITLE, tep_href_link(FILENAME_CONTACT_US));

 

  $content = CONTENT_CONTACT_US;

 

  require(DIR_WS_TEMPLATES . TEMPLATENAME_MAIN_PAGE);

 

  require(DIR_WS_INCLUDES . 'application_bottom.php');

?>

 

I was trying to figure out it was accesed through something else, but im lost  :)

It could be:

 

$enquiry = tep_db_prepare_input($HTTP_POST_VARS['enquiry']);

 

but i don't think it is, so look for this file

 

require(DIR_WS_LANGUAGES . $language . '/' . FILENAME_CONTACT_US);

 

so basically look for the contact us file within the language folder

 

~ Chocopi

Archived

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

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.