Simple PHP program
<p>I am new to php and am trying to develop a program to access this page:</p>

<p><a href="http://comtrade.un.org/db/dqBasicQueryResults.aspx?y=2003&amp;cc=00&amp;px=S1&amp;rg=1&amp;so=9999&amp;rpage=dqBasicQuery" rel="nofollow">http://comtrade.un.org/db/dqBasicQueryResults.aspx?y=2003&amp;cc=00&amp;px=S1&amp;rg=1&amp;so=9999&amp;rpage=dqBasicQuery</a></p>

<p>Or similar pages, and for it to click on where it says direct download. If direct download isn't an option to click on the screen, it should report and error. First of all, what functions should I use for this? Could anyone give me a sample program to do it? I just want to get a feel for the language and see if it's similar to C or java or any other language i've studied.</p>
