I am really sorry for this silly question but i am new to this i found some curl and wget commands on the net but i dont know where to run them show i run them through a php file or anywhere else?? can anyone please tell me. thanks
I usually use wget from console, if I want to download a package for example: wget http://blah.com/blah.zip I use CURL from within PHP, there are a bunch of CURL functions and they are useful for connecting to other servers etc. they can even handle cookies... Here are some CURL examples: http://us2.php.net/manual/en/curl.examples.php
From what it sounds, most likely you don't have ssh. If your host allows you to run exec(), use wget with that.
Here is the simplest curl example in PHP : <?php $ch=curl_init(); curl_setopt($ch,CURLOPT_URL,'http://something.com'); curl_setopt($ch,CURLOPT_RETURNTRANSFER,1); $result=curl_exec($ch); curl_close($ch); ?> PHP: