Title: $_POST issue
Last modified: May 15, 2020

---

# $_POST issue

 *  [agenziae20](https://wordpress.org/support/users/agenziae20/)
 * (@agenziae20)
 * [6 years ago](https://wordpress.org/support/topic/_post-issue/)
 * Hi,
    I need a script to grab values from a form submission, but if I use the 
   $_POST variable, as soon as I save the snippet I get this error:
 * Gone
    The requested resource is no longer available on this server and there 
   is no forwarding address. Please remove all references to this resource.
 * How can I fix this?

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Thread Starter [agenziae20](https://wordpress.org/support/users/agenziae20/)
 * (@agenziae20)
 * [6 years ago](https://wordpress.org/support/topic/_post-issue/#post-12837638)
 * Update:
    I found out that the issue was generated by my hosting settings, I disabled
   ModSecurity and I don’t get this error anymore.
 * Anyway, I would like to use $_POST inside a function but I get empty values, 
   could you please tell me how to solve?
 *  Plugin Author [Shea Bunge](https://wordpress.org/support/users/bungeshea/)
 * (@bungeshea)
 * [6 years ago](https://wordpress.org/support/topic/_post-issue/#post-12840985)
 * Can you post an example of how you’re getting the form submission values?

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘$_POST issue’ is closed to new replies.

 * ![](https://ps.w.org/code-snippets/assets/icon.svg?rev=2148878)
 * [Code Snippets](https://wordpress.org/plugins/code-snippets/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/code-snippets/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/code-snippets/)
 * [Active Topics](https://wordpress.org/support/plugin/code-snippets/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/code-snippets/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/code-snippets/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [Shea Bunge](https://wordpress.org/support/users/bungeshea/)
 * Last activity: [6 years ago](https://wordpress.org/support/topic/_post-issue/#post-12840985)
 * Status: not a support question