Extract information from javascript counter via PHP

Posted by Jennifer Weinberg on Stack Overflow See other posts from Stack Overflow or by Jennifer Weinberg
Published on 2010-05-27T21:38:19Z Indexed on 2010/05/27 21:41 UTC
Read the original article Hit count: 258

Filed under:
|
|
|
|

Hi,

I'm looking for a way to extract some information from this site via PHP:

http://www.mycitydeal.co.uk/deals/london

There ist a counter where the time left is displayed, but the information is within the JavaScript. Since I'm really a JavaScript rookie, I didn't really know how to get the information.

Normally I would extract the information with "preg_match" and some regular expressions. Can someone help me to extract the information (Hrs., Min., Sec.) ?

Jennifer

© Stack Overflow or respective owner

Related posts about php

Related posts about JavaScript