The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 871 - File: showthread.php PHP 7.4.12 (Linux)
File Line Function
/showthread.php 871 errorHandler->error


The Form Tools forums are no longer active, but the old posts have been archived here. Please see the Help page on how to get help / report issues.

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Passing a custom array to form_data
Is there a way to set an alternative array than $_POST to the "form_data" key? For security purposes, I like to pass specific fields from $_POST to another array, and use that other array inside a few functions.

If for instance my array is $data and I pass it like:

"form_data" => $data

I get error 306.


Messages In This Thread
Passing a custom array to form_data - by videosurfer - Dec 17th, 2013, 6:39 AM

Forum Jump:

Users browsing this thread: 1 Guest(s)