Raised This Month: $ Target: $400
 0% 

Get only 8th line from array


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
SwataZ
BANNED
Join Date: Jan 2008
Old 08-07-2008 , 15:04   Get only 8th line from array
Reply With Quote #1

Hi,

I use sockets module ant i get data from web server. I'm new in scripting. Sockets returns that for me:

HTTP/1.1 200 OK
Date: Thu, 07 Aug 2008 18:57:16 GMT
Server: Apache
Transfer-Encoding: chunked
Content-Type: text/html

5
lukas
0

That returns my buf[512] array. How can i get only "lukas" (8th line) from this?
SwataZ is offline
 



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

Forum Jump


All times are GMT -4. The time now is 05:32.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode