Hi there I'm looking for someone who can create a simple parsing script for me. What it will need to do is parse all links from a html document and produce new links using some of the extracted data. You'll also need to include two numeral input boxes (first one being upto 2 decimal places and the second one being no decimals) and their data will be inserted into the url of the html document as $VAR and $VAR2.
****Update:
Here is a tutorial I found that is doing something similar:
[login to view URL]
The HTML would need to be imported by use of:
$html = file_get_contents('[login to view URL]');
****
So here is the document:
[login to view URL]
And the input box data is to go like so:
[login to view URL]$VAR&r=id&num=$VAR2
So for example this is one of the links on the page:
http://www.amazon.com/exec/obidos/ASIN/1554511143/ref=nosim/krisssoccersi-20/
I want it to be rebuilt to display like the following:
[login to view URL]
So the data to be extracted is as follows:
[login to view URL]******TAKE THIS DATA HERE*****/ref=nosim/krisssoccersi-20/
So that has givin us:
1554511143 - let's call this $DATA
It places the extracted data into the following template as $DATA:
[login to view URL]$DATA
Now simply echo all the new clickable links within a php document.
Easy enough job :)