Page 1 of 1

form submission code

Posted: Sun Aug 15, 2010 9:34 pm
by rsundar1987
hello all!

need help with implementing this piece of code here. This is supposed to submit the information contained in $data_array to http://www.schrenk.com/search.php but unfortunatly it does not seem to be working. any help would be deeply appreciated.

include("C:\wamp\bin\php\php5.2.6\LIB_http.php");

$action = "http://www.schrenk.com/search.php";
$method = "GET";
$ref = " ";
$data_array['term'] = "hello";
$data_array['sort'] = "up";
$response = http_get_form($target = $action, $ref, $method, $data_array, EXCL_HEAD);

echo $response;

thank you :D

Re: form submission code

Posted: Sun Aug 15, 2010 10:41 pm
by requinix
rsundar1987 wrote:it does not seem to be working
We aren't psychic. We aren't sitting in front of your computer watching what you're doing.

What does "not seem to be working" mean?