This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

Find and read

Old posts that have not been replied to for several years.
Locked
i
iguana
Voice
Posts: 6
Joined: Fri Dec 31, 2004 12:09 pm

Find and read

Post by iguana »

This is probably a very simple script but I can't seem to get it to work :(

What im trying to do is read a webpage and find a line in it then put into a list every X lines after finding the original message. I've got it to read the page, strip the codes and this is an example of what I'm left with:

Code: Select all

GUID:
<input type="text"
name="guid"


value="e8e932b6"
id="guidsearch"
/>

12 nicknames found for this GUID
Nickname
Times Used
Last Used
iguana
116
Sat Nov 27 01:47:15 GMT 2004
iNf|iguana
66
Wed May 12 21:04:17 BST 2004
specig
28
Fri May 21 11:56:36 BST 2004
spec
21
Wed Oct 13 17:09:03 BST 2004
iguana*lagged
5
Mon Apr 12 12:36:54 BST 2004
I need to locate "nicknames found for this GUID" then take the 4th line after that then every 3rd line after that.
User avatar
demond
Revered One
Posts: 3073
Joined: Sat Jun 12, 2004 9:58 am
Location: San Francisco, CA
Contact:

Post by demond »

click here for a solution of a problem very similar to yours
Locked