The Daily Click ::. Forums ::. Klik Coding Help ::. Downloading From Scripts?
 

Post Reply  Post Oekaki 
 

Posted By Message

Dan Bryant



Registered
  25/04/2005
Points
  27
15th May, 2005 at 11:42:42 -

Hey guys, I am trying to download the information contained on a web-page that is generated by a PHP script. Therefore the URL is not standard (e.g. http://www.query.com/modules.php?name=Query&Data=Inputted). I can't download the page with SupaSupa Download (it doesn't think its a file) and I can't use Win/MooSock as it isn't my server to connect to. Does anyone know of a way of recieving this information? I thought of pulling all the text from an IE ActiveX object but I can't find a way of doing it.

 
n/a

Brian Haase (FSP)



Registered
  22/01/2005
Points
  691
15th May, 2005 at 13:52:54 -

Why can't you use MooSock? MooSock should let you connect to Port 80 on the target server and push through a standard HTTP header to fetch it. Nothing terribly fancy. HTTP headers are pretty simple to send too, so it seems like it should work.

 
Current Projects:
Bomb Squad (Total Progress - 3%)
:: Current Task Progress: 40%
:: Current Task - Level Editor Shell

Dan Bryant



Registered
  25/04/2005
Points
  27
15th May, 2005 at 15:05:25 -

Yeah I just found a guide on how to do it. I thought you needed to login and stuff (I might have been using the wrong extension, knowing me) but I found a great guide on this website on using MooSock. Now I just need to retrieve data from the HTML code, put a download progress bar in and parse all the data to a list box.

 
n/a
   

Post Reply



 



Advertisement

Worth A Click