Computer Forums

Member Login

Remember Me? Sign Up! | Forgot Password
 
Slogan
 
Computer Forums > Programmers Lounge > Programming Discussions » interacting with a website through request
Closed Thread
Old 06-26-2007, 12:33 PM   #1 (permalink)
 
Super Techie

Join Date: Aug 2004

Posts: 277

real_in

Send a message via Yahoo to real_in
Question interacting with a website through request

i was wondering about certain stuff. Like how to people make certain addons, which talk to a website(send request) and get a reply from them and display.

let me make it more clearer. There is an addon available to which if i provide username and password, fetches details from ISP's server about my account usage. how is this possible ?

some addons just checks the ISP name if we give them a IP address.. how do they interact with a website ? i mean we can read the information but how do our programs do that ???

can anyone explain me ? is it CGI or what ??

thanks ..
__________________
Realin Wuz here ...

real_in is offline  
Old 06-26-2007, 12:52 PM   #2 (permalink)
 
Monster Techie

Join Date: May 2004

Location: Tucson, AZ, USA

Posts: 1,183

Vormund

Send a message via AIM to Vormund Send a message via MSN to Vormund Send a message via Yahoo to Vormund
Default Re: interacting with a website through request

Well, your ISP would be the one logging the information. Your name/password just allows the "addon" to authenticate and pull that info from the website. The only other feasible way would be your router, since many of them track such information. :eek:

Then if you're sneaky, you can write scripts to "pretend" to be a browser, and open various web pages as you would on your own - thereby allowing you to strip any information you want...
__________________
Vormund is offline  
Old 06-26-2007, 12:57 PM   #3 (permalink)
 
Super Techie

Join Date: Aug 2004

Posts: 277

real_in

Send a message via Yahoo to real_in
Default Re: interacting with a website through request

i guess that is not the way you talking mate, i mean how is this possible ?? and that router thing is valid but not for all.. so i need something which is universal, second option looks quiet good but looks to be an non professional approach, i mean there should be another way out ??

thanks for your concern,btw
__________________
Realin Wuz here ...

real_in is offline  
Old 06-26-2007, 01:05 PM   #4 (permalink)
 
Monster Techie

Join Date: May 2004

Location: Tucson, AZ, USA

Posts: 1,183

Vormund

Send a message via AIM to Vormund Send a message via MSN to Vormund Send a message via Yahoo to Vormund
Default Re: interacting with a website through request

Well if someone is providing a nice XML file to you, it's easy to get the information. Like, for example, one of CNN's RSS feeds. That's meant for the public to use for their own purposes and is easily done being XML.

Now that addon, if you watched the outbound http requests, you may see something like "http://usernameassword@yourisp.com/accounts/data.xml", or it may open the HTML page directly and strip the contents. There's a million and one ways.

As far as a professional approach, well, there's no universal way to parse data from any given source...in a usable fashion. I have no idea how your data is formatted to start with, but it boils down to what the content-provider (your ISP in this case) provides...if that makes any sense. :freak:
__________________
Vormund is offline  
Old 06-26-2007, 01:31 PM   #5 (permalink)
 
Super Techie

Join Date: Aug 2004

Posts: 277

real_in

Send a message via Yahoo to real_in
Default Re: interacting with a website through request

really thanks a lot mate !! will follow that for sure
__________________
Realin Wuz here ...

real_in is offline  
 
Closed Thread

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Knocked offline by website DennyCrane99 Browser & General Internet Questions 8 06-20-2007 01:27 PM
Start your Website Marketing campaign with this Lists Sief3r Search Engines & Internet Traffic 1 05-22-2007 10:03 PM
download whole website regiemon Windows Operating Systems and Software 8 05-11-2007 01:47 PM