Thread:Project:Support desk/How to check whether a page exists or not

Hi, I intend to check whether a page exists or not. I know how to use mediawiki api to show its properties, but I don't know how to get the content(information of the file in xml) from a url which called a api for my php script. So I plan to check the mediawiki database. Any suggestions?

Thanks!