This might sound silly since I'm a newbie but what would be the best way to
call the API from a php script ?
This is what I did :-

<?php
echo exec( "lynx -dump
http://en.wikipedia.org/w/api.php?action=opensearch&search=Malaysia&format=xml";
);
?>

Any suggestions?

-- 
Rezuan Asrah
question = ( to ) ? be : ! be; -- Wm. Shakespeare

http://elusi.blogspot.com
_______________________________________________
Mediawiki-api mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-api

Reply via email to