Hello everybody.
I'm look for a small PHP (clean, no JS) script to parse the contents of a given page and return me some snippets of information.
This is the site to be parsed - [login to view URL]
It's the local lottery. I want to have the numbers, draw, date and jackpot parsed into an array (doesn't matter what structure)
Basically there are 3 games, which are in tabs, but it's JS , so in the source all the data is there.
Three games, 6/49,6/42, 5/35, and respectively the information:
Game 6/49
Drawnumber - Тираж 45 - 05.06.2014
Draw 1 - 1-во теглене
It's numbers are gifs - <img src="images/balls/[login to view URL]"><img src="images/balls/[login to view URL]">..... Here I need the numeric values + keeping the url of the image.
Jackpot - Джакпот: 535, 466.43 лв
The same goes for draw 2
And then 6/42, Draw 1,
Then 5/35 Draws 1 and 2, without Jackpot.
To ease things up, here's a suggested array in which all I need are the value:
[with example/dublicated number data]
$parsed = array(
'649' => array(
'drawnumber' => 'Тираж 45 - 05.06.2014',
'draw1nums' => array (1=> 'images/[login to view URL]', 4 => 'images/[login to view URL]', 11 => 'images/[login to view URL]', 22 => 'images/[login to view URL]', 36 => 'images/[login to view URL]', 41 => 'images/[login to view URL]')
'draw1win' => '535, 466.43',
'draw2nums' => array (1=> 'images/[login to view URL]', 4 => 'images/[login to view URL]', 11 => 'images/[login to view URL]', 22 => 'images/[login to view URL]', 36 => 'images/[login to view URL]', 41 => 'images/[login to view URL]')
'draw2win' => '3, 569, 776.04 '
),
'642' => array(
'drawnumber' => 'Тираж 45 - 05.06.2014',
'draw1nums' => array (1=> 'images/[login to view URL]', 4 => 'images/[login to view URL]', 11 => 'images/[login to view URL]', 22 => 'images/[login to view URL]', 36 => 'images/[login to view URL]', 41 => 'images/[login to view URL]')
'draw1win' => '1, 169, 876.50'
),
'535' => array(
'drawnumber' => 'Тираж 45 - 05.06.2014',
'draw1nums' => array (1=> 'images/[login to view URL]', 4 => 'images/[login to view URL]', 11 => 'images/[login to view URL]', 22 => 'images/[login to view URL]', 35 => 'images/[login to view URL]')
'draw1win' => FALSE,
'draw2nums' => array (1=> 'images/[login to view URL]', 4 => 'images/[login to view URL]', 11 => 'images/[login to view URL]', 22 => 'images/[login to view URL]', 35 => 'images/[login to view URL]')
'draw2win' => FALSE'
)
)
Hi,
I can create such PHP script in less than a day and I can offer you best price here.
Just make 100% milestone payment and you'll get you script in few hours.
Thanks.
Roman
Hello Sir,
We have worked on many web application projects for our clients in the past. We have professionals experienced in back-end technologies including node.js, PHP, J2EE etc as well as front-end technologies including HTML, Javascript, AJAX, Dojo, bootstrap etc.
We have the right skill set to do this job effectively and within time and would like to discuss more about this opportunity.
Looking forward to hear from you.
Thanks,
Ankur Agrawal
SuiGen Solutions