<form id="loginForm" method="post" action="https://www.orange.pl/start.phtml?_DARGS=/gear/infoportal/header/user-box.jsp"><input type="hidden" name="_dyncharset" value="UTF-8"><ul class="login-form"><li class="first"><label for="login-field">login lub nr telefonu</label><input type="text" id="login-field" name="/ptk/map/infoportal/portlet/header/formhandler/ProxyProfileFormhandler.userLogin" class="text" value=""><input type="hidden" name="_D:/ptk/map/infoportal/portlet/header/formhandler/ProxyProfileFormhandler.userLogin" value=" "></li><li><label for="password-field">hasło</label><input type="password" id="password-field" name="/ptk/map/infoportal/portlet/header/formhandler/ProxyProfileFormhandler.userPassword" class="text" value="asdasd"><input type="hidden" name="_D:/ptk/map/infoportal/portlet/header/formhandler/ProxyProfileFormhandler.userPassword" value=" "></li><li class="error"><span class="error-box">Podaj poprawny login i hasło</span></li><li class="button"><input type="hidden" name="/ptk/map/infoportal/portlet/header/formhandler/ProxyProfileFormhandler.successUrl" value="/start.phtml"><input type="hidden" name="_D:/ptk/map/infoportal/portlet/header/formhandler/ProxyProfileFormhandler.successUrl" value=" "><input type="hidden" name="/ptk/map/infoportal/portlet/header/formhandler/ProxyProfileFormhandler.errorUrl" value="/start.phtml"><input type="hidden" name="_D:/ptk/map/infoportal/portlet/header/formhandler/ProxyProfileFormhandler.errorUrl" value=" "><input type="hidden" name="/ptk/map/infoportal/portlet/header/formhandler/ProxyProfileFormhandler.login" value="loguj"><input type="hidden" name="_D:/ptk/map/infoportal/portlet/header/formhandler/ProxyProfileFormhandler.login" value=" "><ul class="links"><li><a title="przypomnij mi hasło" href="/portal/map/map/passwd_recovery" class="gray-full-box">przypomnij mi hasło</a></li><li><a title="zarejestruj się" href="/portal/map/map/register?step=1" class="gray-full-box">zarejestruj się</a></li></ul><input type="image" title="zaloguj się" src="https://www.orange.pl/binaries-https/map/infoportal/button/zaloguj_sie.gif" value="loguj" class="button"></li></ul><input type="hidden" name="_DARGS" value="/gear/infoportal/header/user-box.jsp"></form>
<?php $c = curl_init(); curl_setopt($c, CURLOPT_URL, 'http://www.orange.pl/portal/zaloguj.phtml'); curl_setopt($c, CURLOPT_POST, 1); curl_setopt($c, CURLOPT_POSTFIELDS, '_dyncharset=UTF-8&%2Famg%2Fptk%2Fmap%2Fcore%2Fformhandlers%2FAdvancedProfileFormHandler.loginErrorURL=http%3A%2F%2Fwww.orange.pl%2Fzaloguj.phtml&_D%3A%2Famg%2Fptk%2Fmap%2Fcore%2Fformhandlers%2FAdvancedProfileFormHandler.loginErrorURL=+&%2Famg%2Fptk%2Fmap%2Fcore%2Fformhandlers%2FAdvancedProfileFormHandler.value.login=XXXXXXX&_D%3A%2Famg%2Fptk%2Fmap%2Fcore%2Fformhandlers%2FAdvancedProfileFormHandler.value.login=+&%2Famg%2Fptk%2Fmap%2Fcore%2Fformhandlers%2FAdvancedProfileFormHandler.value.password=XXXXXXX&_D%3A%2Famg%2Fptk%2Fmap%2Fcore%2Fformhandlers%2FAdvancedProfileFormHandler.value.password=+&%2Famg%2Fptk%2Fmap%2Fcore%2Fformhandlers%2FAdvancedProfileFormHandler.login.x=0&%2Famg%2Fptk%2Fmap%2Fcore%2Fformhandlers%2FAdvancedProfileFormHandler.login.y=0&_D%3A%2Famg%2Fptk%2Fmap%2Fcore%2Fformhandlers%2FAdvancedProfileFormHandler.login=+&_DARGS=%2Fgear%2Fstatic%2FsignInLoginBox.jsp'); curl_setopt($c, CURLOPT_RETURNTRANSFER, 1); curl_exec($c); curl_close($c); $c = curl_init(); curl_setopt($c, CURLOPT_URL, "https://www.orange.pl/start.phtml"); curl_exec($c); curl_close($c); ?>
<?php $c = curl_init(); curl_setopt($c, CURLOPT_URL, 'http://www.orange.pl/portal/zaloguj.phtml'); curl_setopt($c, CURLOPT_POST, 1); curl_setopt($c, CURLOPT_POSTFIELDS, '_dyncharset=UTF-8&%2Famg%2Fptk%2Fmap%2Fcore%2Fformhandlers%2FAdvancedProfileFormHandler.loginErrorURL=http%3A%2F%2Fwww.orange.pl%2Fzaloguj.phtml&_D%3A%2Famg%2Fptk%2Fmap%2Fcore%2Fformhandlers%2FAdvancedProfileFormHandler.loginErrorURL=+&%2Famg%2Fptk%2Fmap%2Fcore%2Fformhandlers%2FAdvancedProfileFormHandler.value.login=XXXXXXX&_D%3A%2Famg%2Fptk%2Fmap%2Fcore%2Fformhandlers%2FAdvancedProfileFormHandler.value.login=+&%2Famg%2Fptk%2Fmap%2Fcore%2Fformhandlers%2FAdvancedProfileFormHandler.value.password=XXXXXXX&_D%3A%2Famg%2Fptk%2Fmap%2Fcore%2Fformhandlers%2FAdvancedProfileFormHandler.value.password=+&%2Famg%2Fptk%2Fmap%2Fcore%2Fformhandlers%2FAdvancedProfileFormHandler.login.x=0&%2Famg%2Fptk%2Fmap%2Fcore%2Fformhandlers%2FAdvancedProfileFormHandler.login.y=0&_D%3A%2Famg%2Fptk%2Fmap%2Fcore%2Fformhandlers%2FAdvancedProfileFormHandler.login=+&_DARGS=%2Fgear%2Fstatic%2FsignInLoginBox.jsp'); curl_setopt($c, CURLOPT_RETURNTRANSFER, 1); curl_exec($c); curl_close($c); $c = curl_init(); curl_setopt($c, CURLOPT_URL, "https://www.orange.pl/start.phtml"); curl_exec($c); curl_close($c); ?>