4 hours attempting to learn regex and I am always getting an error. I want get action
value for cURL.
<form id="loginForm" name="loginForm" method="post" action="M_Username_Password.aspx?__ufps=802858&84E09046BECF819E=6C1143C04AF5072F1DF5B1C51C90DACB">
Take this part from the form tag:
M_Username_Password.aspx?__ufps=802858&84E09046BECF819E=6C1143C04AF5072F1DF5B1C51C90DACB
And use it with cURL.
curl_setopt($ch, CURLOPT_URL, "http://website.com/$linkaction");
$linkaction
is an example.