Title: PHP files how to use
Last modified: October 7, 2019

---

# PHP files how to use

 *  [grubby69](https://wordpress.org/support/users/grubby69/)
 * (@grubby69)
 * [6 years, 9 months ago](https://wordpress.org/support/topic/php-files-how-to-use/)
 * Hello,
 * I am new here and I want to know how to use php everywhere with more then one
   file.
    Example: I have one php file with a form and an action that point to another
   php file to execute when button is clicked.
 * How I do this (2 files php) in the gutenberg block editor ?
 * Have I to put in some diretory on my website the 2 files , or one files and one
   in the editor ?
 * I don’t understand how to do this simple trick
 * Please help me
 * Thanks a lot
 * Grubby69

Viewing 1 replies (of 1 total)

 *  Thread Starter [grubby69](https://wordpress.org/support/users/grubby69/)
 * (@grubby69)
 * [6 years, 9 months ago](https://wordpress.org/support/topic/php-files-how-to-use/#post-12006705)
 * I have now try to put my ‘action’ file in the root of the website and I see that
   the files is called by the form in the gutenber block.
    But, I receive a not 
   finding page from the website…
 * Is this because I have to do an AJAX call from the first file and not an action
   from the form ?
 * Thanks
 * Grubby

Viewing 1 replies (of 1 total)

The topic ‘PHP files how to use’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/php-everywhere_5f7aae.svg)
 * [PHP Everywhere](https://wordpress.org/plugins/php-everywhere/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/php-everywhere/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/php-everywhere/)
 * [Active Topics](https://wordpress.org/support/plugin/php-everywhere/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/php-everywhere/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/php-everywhere/reviews/)

 * 1 reply
 * 1 participant
 * Last reply from: [grubby69](https://wordpress.org/support/users/grubby69/)
 * Last activity: [6 years, 9 months ago](https://wordpress.org/support/topic/php-files-how-to-use/#post-12006705)
 * Status: not resolved