Title: .PHP File
Last modified: August 20, 2016

---

# .PHP File

 *  [Casterina](https://wordpress.org/support/users/casterina/)
 * (@casterina)
 * [13 years, 10 months ago](https://wordpress.org/support/topic/php-file-1/)
 * I’ve a Contact .PHP file in the theme that I’m using, I’ve created the layout
   of the Contact Us via E-mail, but in this code, where do I put my e-mail address
   so the message will be sent to my e-mail inbox?
 *     ```
       <h1><?php echo __('E-mail Us', LANGUAGE_ZONE); ?></h1>
       <form method="post" action="<?php echo htmlspecialchars("http://".$_SERVER["HTTP_HOST"].$_SERVER["REQUEST_URI"]); ?>" name="order_form" class="uniform ajax">
         <script>document.write('<'+'in'+'pu'+'t na'+'me="se'+'nd_'+'f" ty'+'pe="hi'+'dden'+'" id="se'+'nd_f" v'+'alu'+'e="'+'send_f" /'+'>');</script>
         <input type="hidden" name="send_contacts" value="1" />
         <p>Name</p>
         <div class="inp-r"><div class="i-h"><input name="name" type="text" placeholder="" class="validate[required] inp-c" /></div></div>
         <p>E-mail</p>
         <div class="inp-r"><div class="i-h"><input name="email" type="text" placeholder="" class="validate[required] inp-c" /></div></div>
         <!--
         <p>Phone number</p>
         <div class="inp-r"><div class="i-h"><input name="phone" type="text" placeholder="" class="inp-c" /></div></div>
         -->
         <p>Telephone</p>
         <div class="inp-r"><div class="i-h"><input name="website" type="text" placeholder="" /></div></div>
         <p>Message</p>
         <div class="tex-r"><div class="t-h"><textarea name="message" placeholder="" class="validate[required] textar"></textarea></div></div>
         <a href="#" class="button" title="Add comment"><span><?php echo __('Send message', LANGUAGE_ZONE); ?><i class="submit"></i></span></a>
         <a href="#" class="do-clear"><?php echo __('', LANGUAGE_ZONE); ?></a>
       </form>
       <?php
          }
       ?>
   
       <?php if ($contact_text_only): ?>
          </div>
       <?php endif; ?>
       ```
   

Viewing 1 replies (of 1 total)

 *  [MarkRH](https://wordpress.org/support/users/markrh/)
 * (@markrh)
 * [13 years, 10 months ago](https://wordpress.org/support/topic/php-file-1/#post-2858352)
 * My guess would be this line:
    `<script>document.write('<'+'in'+'pu'+'t na'+'me
   ="se'+'nd_'+'f" ty'+'pe="hi'+'dden'+'" id="se'+'nd_f" v'+'alu'+'e="'+'send_f"/'
   +'>');</script>`
 * I’d look around your theme’s files for any kind of documentation or README files
   or visit the theme’s support page if it has one for help in configuring it.

Viewing 1 replies (of 1 total)

The topic ‘.PHP File’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 2 participants
 * Last reply from: [MarkRH](https://wordpress.org/support/users/markrh/)
 * Last activity: [13 years, 10 months ago](https://wordpress.org/support/topic/php-file-1/#post-2858352)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
