Title: File includes
Last modified: August 19, 2016

---

# File includes

 *  [josephmo](https://wordpress.org/support/users/josephmo/)
 * (@josephmo)
 * [15 years, 11 months ago](https://wordpress.org/support/topic/file-includes/)
 * I have a word press page, that contains some PHP code, designed to push a FORM
   to the page. Once I fill the form, and hit submit, I would like another PHP script
   to be called.
 * The problem I am having, is that I do not want to have that second script in 
   the main WordPress directory, and instead I want it in my own general include
   directory, /home/acme/include. The WordPress install directory is /home/acme/
   public_html
 * I tried hardcoding the path, but when I submit the form, WordPress pads on [http://wwww.acme.com/home/acme/include/filename.php](http://wwww.acme.com/home/acme/include/filename.php)
 * Is there any way to get round this?

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

 * 0 replies
 * 1 participant
 * Last reply from: [josephmo](https://wordpress.org/support/users/josephmo/)
 * Last activity: [15 years, 11 months ago](https://wordpress.org/support/topic/file-includes/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
