I need some help here with this.
This is the error
Fatal error: Call to undefined function http_post_data() in C:\wamp\www\web2\station_home.php on line 199
This is the code I was using
if ($HTTP_POST_VARS['doValidation']==1)
{
//if validation passes
http_post_data ('station_results.php', $HTTP_POST_VARS );
}
What I am trying to do is validate a form a user is using to run a search.
The code above is in the page with the form. Station_results is the page which takes the validated search query and performs the search and displays the result on the screen. What I am trying to do above is forward all the POST_VARS to the 'station_results.php' page once the fields are accurate. The form the user is using consists of text boxes, but mainly grouped checkboxes.
I am using Wamp5 which on the main pages says it has PECL installed, so I don't know why I am getting this error.