Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Greg Russell
February 17, 2009, 11:27 am
rate this thread
working properly from a form submission, and it appears (?) that
http_post_fields() is what is needed, but when using it, I get the error
with PHP 5.2.8 "Fatal error: Call to undefined function http_post_fields()
... on line 75" even though
http://au.php.net/manual/en/function.http-post-fields.php says it exists.
I'm invoking it as follows:
$tmp = http_post_fields('updated.php?table=contractors',
array('full_name'=>$full_name, 'expires'=>$expires, 'ratings'=>$ratings,
Is some sort of include() necessary to use the http_post_fields() function,
please or is there some other problem that I'm unaware of with the syntax?
- C. (http://symcbean.blogspot.c
February 17, 2009, 10:15 pm
Re: http_post_fields() problem
It doesn't say it exists on your computer - this is a non-standard
PECL extension which you apparently do not have installed. Check
what's in your extensions dir and what extensions are being loaded
using php.ini at run time by viewing the output of phpinfo();
(note you can also POST using libcurl which is a more common