# Pull text from another page

**URL:** <https://forum.kirupa.com/t/pull-text-from-another-page/309123>\
**Category:** Uncategorized\
**Created:** [May 7, 2010, 2:06pm UTC](https://forum.kirupa.com/t/pull-text-from-another-page/309123 "2010-05-07T14:06:24Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![FunkMaster\_J](https://avatars.discourse-cdn.com/v4/letter/f/9e8a1a/32.png) [@FunkMaster\_J](https://forum.kirupa.com/u/FunkMaster_J)\
**Post date:** [May 7, 2010, 2:06pm UTC](https://forum.kirupa.com/t/pull-text-from-another-page/309123/1 "2010-05-07T14:06:24Z")

</div>

I was hoping to pull some text (numbers) from another page and the only way (at the moment) I can think of doing it is to load the page source into a string (or another var), and then break the string down to search for the particular text.

I found a way to do something similar in PHP, but I want to run this from the local PC which doesn’t (and can’t) have any form of web service running.

For anyone who’s interested in why … we have about 25 odd printers (identical) that every month we collect a colour and mono page count from. Every printer is connected to the network and each one has a web-based menu. To get the page counts, it involves going through around 4-5 different pages, and this has to be done with each printer. So I thought it would be handy if the text from the page counter could be pulled onto a single page (or stage). Why AS? Have no idea, I just like to code in it 😃
