chrometweaks.org

Why is babblesex taking me to iPage hosting site?

Click Here To View All Answers...


Got a question, hope someone can answer... Why is babblesex taking me to iPage hosting site? Thanks in advance for any answer. 2nd question I got is.. I have added another inquiry form based on that of contact us with many additional fields. I would like to have it e-mailed to a different e-mail address then the one specified by STORE_/img/avatar6.jpg_EMAIL_ADDRESS. I'm aware of how to change the store /img/avatar6.jpg email in admin, but I don't want to change that, I just want to add an additional variable.

Anyway, all help is greatly appreciated!!.

Thanks!!!..

Comments (68)

I'm stumped. I'm not so sure what is the answer to your question. I'll do some Googling and get back to you if I find an answer. You should email the people at iPage as they probably can help you..

Comment #1

Any suggetions on how to add another variable? I'm still not shure how to do what I want to do. Maybe there is just an easy way in the new contact_us.php (i named it partner_inquyiry.php) to forget the variable and just put the new e-mail address in..... Thanks for your help!!!..

Comment #2

Richard,.

You can just hardcode the second email address into that section of your new php file...

Comment #3

At the top of 'contact_us.php' is this code:.

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

   if (tep_validate_email(trim($HTTP_POST_VARS['email']))) {.

     tep_mail(STORE_OWNER, STORE_OWNER_EMAIL_ADDRESS, EMAIL_SUBJECT, $HTTP_POST_VARS['enquiry'], $HTTP_POST_VARS['name'], $HTTP_POST_VARS['email']);.

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

   } else {.

     $error = true;.

   }.

 }.

In your new form, just change STORE_OWNER_EMAIL_ADDRESS to the email address you want to use:.

Tep_mail(STORE_OWNER, '>rn';.

Mail($to,$subject,$message,$header);.

Http://www.php.net/m...nction.mail.php..

Comment #4

Thanks to you all for your help!!!! I knew there was an easy way to do this :wink: Thanks again, it works like champ. All I did was hardcode the e-mail in to my new contact page..

Comment #5

Hi,.

This was almost my question, but only almost. What can I do to add a second mail address in the store owner?.

I tried the same as in "send extra order e-mail to", but that did not work..

Thx in advance.

Michael..

Comment #6

I have added another inquiry form based on that of contact us with many additional fields. I would like to have it e-mailed to a different e-mail address then the one specified by STORE_OWNER_EMAIL_ADDRESS. I'm aware of how to change the store owner email in admin, but I don't want to change that, I just want to add an additional variable. Where is the STORE_OWNER_EMAIL_ADDRESS variable located? I have searched the forums, but I can't seem to find an answer...I'm sure this is simple and I must be overlooking the answer somehow. Anyway, all help is greatly appreciated!!.

Thanks!!!..

Comment #7

It is stored in the database. the configuration table. all those config variables are fetched in application_top.php and defined as constants.....

// set the application parameters (can be modified through the administration tool).

 $configuration_query = tep_db_query('select configuration_key as cfgKey, configuration_value as cfgValue from 'TABLE_CONFIGURATION'');.

 while ($configuration = tep_db_fetch_array($configuration_query)) {.

   define($configuration['cfgKey'], $configuration['cfgValue']);.

 }..

Comment #8


This question was taken from a support group/message board and re-posted here so others can learn from it.