Jump to content

Recommended Posts

I am having the worst time figureing out how to change the address on my contact us page.  I found the file in the file manager, but it has all code in there, and not even the address shown.  Im very new to this php.

 

www.customnutritionwarehouse.com

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

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.