Hello,
I receive a site content with cURL.
In the source is HTML input field and i need to get it's value.
<input type=hidden name=NUM value="123456">
How to get 123456 ?
Thank you.
if(preg_match('/\<input type="hidden" name=NUM value="([^"]*)"\>/', $content, $matches)) { echo $matches[1]; }
May need tweaking and is untested.