leezac
asked on
PHP to screen scrape
Is there a way to do the following using PHP?
I need the script to look for the values as they will be different each time from the URL that is entered into the textbox.
1. User enters url where they want to get the values from
2. Code searches for values and displays on same page as the textbox for the url.
3. The last piece will be they will need to paste into another url that has the same fields but need the values populated.
It is a copy and paste method.
<INPUT id="url" TYPE="type" NAME="name" size="60"
size="size"maxlength="maxl ength" />
This an example that is from the page I need to copy from:
<label for="summary">Summary<span class="aui-icon icon-required"></span><spa n class="content">Required</ span></lab el>
<input class="text long-field" id="summary" maxlength="255" name="summary" type="text" value="new setup" />
</div>
I need the script to look for the values as they will be different each time from the URL that is entered into the textbox.
1. User enters url where they want to get the values from
2. Code searches for values and displays on same page as the textbox for the url.
3. The last piece will be they will need to paste into another url that has the same fields but need the values populated.
It is a copy and paste method.
<INPUT id="url" TYPE="type" NAME="name" size="60"
size="size"maxlength="maxl
This an example that is from the page I need to copy from:
<label for="summary">Summary<span
<input class="text long-field" id="summary" maxlength="255" name="summary" type="text" value="new setup" />
</div>
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
I object to deleting this question. I asked the author to post links to the URLs of the test data and got no response. We cannot do anything to help unless we can see the data we're working with and the expected outputs. But if we have that, the community at EE can usually come up with very good answers and sometimes even tested-and-working code samples.
ASKER
Not getting information needed.