I would like to grab value updateXXXX from the following HTML code using cURL:
<input type="hidden" id="_postupdate" name="_postupdate" value="updateXXXX" /><input type="hidden"(...)
I tried
$regex = '/name="_postupdate" value="(.*?)" \/><input type="hidden"/s';
if ( preg_match($regex, $page, $list) )
echo $list[0];
but without success. Any advice? :) Thanks