Friday, January 15, 2010

include php in drupal post

Looks like an include does work for html file but not for php files.

I was able to embed the results of a php request with


$request = drupal_http_request('http://physmed.umontreal.ca/bibadmin/bibs_grpm.php?bib_ids=(10,28,29)');
$data = $request->data;
echo $data;
?>

No comments: