GIDForums  

Go Back   GIDForums > Computer Programming Forums > C Programming Language
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
 
Thread Tools Search this Thread Rate Thread
  #1  
Old 01-Nov-2007, 06:02
cnu_sree cnu_sree is offline
New Member
 
Join Date: Nov 2007
Posts: 1
cnu_sree is on a distinguished road

Reading data from html page


hi
iam reading data from web page using request socket and curl socket.
now my problem is some the web page containg data as a image so how can i read the data from a image.
thank,inadvance.
sree
  #2  
Old 02-Nov-2007, 07:56
davis
 
Posts: n/a

Re: Reading data from html page


Quote:
Originally Posted by cnu_sree
hi
iam reading data from web page using request socket and curl socket.
now my problem is some the web page containg data as a image so how can i read the data from a image.
thank,inadvance.
sree

HTML pages are encoded with image information that must be fetched on a separate HTTP request and as a result of parsing the page data for the image information. Let's say that the following occurs in some page that you fetched.

Code:
<img src="http://www.bogus.com/images/jpg/foobar.jpg" alt="whocares">

...in the (bogus) example above, you would issue a get request for the image, which would be returned in the message portion of the response...assuming everything is valid.

See: www.w3.org

...and the relevant links for HTTP requests/responses their representative headers and everything that you ever wanted to know and more about HTTP.


:davis:
 
 

Recent GIDBlogPlanned Network Maintenance on 2013-05-29 by gidnetwork

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
reading from a data file mralam C++ Forum 3 05-Aug-2007 13:12
[Include] Doubly-linked List dsmith C Programming Language 6 14-Apr-2006 13:12
Strange C++ code memory leakage problem gaoanyu C++ Forum 7 04-Nov-2005 08:09
Need Help reading HEX data from a sensor Moooey C Programming Language 4 09-Mar-2005 13:46
[CONTEST?]Data Structure Test dsmith C Programming Language 2 06-Jun-2004 15:13

Network Sites: GIDNetwork · GIDApp · GIDSearch · Learning Journal by J de Silva, The

All times are GMT -6. The time now is 16:29.


vBulletin, Copyright © 2000 - 2013, Jelsoft Enterprises Ltd.