Search the Community
Showing results for tags '3dchat'.
-
I am trying to make are autologin for http://www.secretcity.de that i can get information of me Profile in realtime,The Problem are that he sende the data like username and Password to the page but the login not work, he not loged me in, Php not give any error Back, that are the url wo you see what i meen, Demo Test Script I Hope you know what i try to do That are the curl code i use: <?php //Die Session initialisieren $post_array = array( '__VIEWSTATE'=>'dDyphjgAQgsmw340QQiytu4WpJR3SwNCVqFZnz3ZCzbHsHQ/3oejJI3febr/AqRuqEdJvDLN9BwfHYKmO/avLklA6K0I180MHFePUgQl73IW4MGFq537vaQP/FfHV8uA+bimMr00R4tC5IpCYlMYKC8+HAY6Hxz3T7zAvAs63V6s4bQ2RLbCnQgb+rzYrYnogiXoxy4nPQbYHnVJ/XwvY5gM+428ntHIAf6aIXU5HrLF+na6V1StvUTahQ/7Am7Oas0Brk1lGfWgjEwcJyHogAmAwDwhUoD7+x3e3jsGI9pXUoPcih8WJxAMMT+2N8Y71IuOUko5Hmdk1Knr3Yy7qRY8OqGCZH7c29EQ9lnu1jo9EvWTTW8UI7HkOYBgijIhB2ppLrNEz4aRab1AxjIoOzVG4ioMjyiTycyZRsfpgpo1S5cH8p/FBmuU5grW7148o1bjvWx1N293fV5ptVWY2BOqsOYxsPpcfpzosVmRx1NyxPFIF3sownxzU8mUgRhePKB2pOzaIbZ3lN8FjdE/IEWXefFq9vYS0/DOU5qrfbgEswkSoqTiZEuIkBj6EOk2bPP7dFGJIDDeQISFfYyPUs5ZfeEmRcP+kIpgpxgUoEF+eJOkyi9b08elhBZ3LGakZdq5TiVQo2wiQli4E4eDvq54IxMZsO1xhlvAnIdDHv6wJAjr7F2WMl0gf14zXuLF7mXmuvxLWzFwNtocszMtxoY0y5SDx7qwGJwEcjnJnjab6Vu', '__EVENTTARGET'=>'', '__EVENTARGUMENT'=>'', '__VIEWSTATEENCRYPTED'=>'', '__EVENTVALIDATION'=>'Veg3M2INmpZ/vT80g0p8R8Qftlk4zBGw2hQcCuOp8bc0/2AhwQ0s9J0BYFRoL2VQzj+CDamE9C8kPEq37xkvNoEXFoxGEy1B78LDLyV7gbFtL9Ft/G9NTCzNjXK7/R0fSS9EMg==', 'ctl00$oCPH1$txtEmail'=>'USERNAME', 'ctl00$oCPH1$txtPassword'=>'PASSWORD', 'ctl00$oCPH1$butLogin'=>'Go!', 'ctl00$cbMerker'=>'', 'image'=>'', ); $url="http://www.secretcity.de/login.aspx?error=1&ref=Net/RayTransHistory.aspx?aid=389463"; $header = array("POST /login.aspx?error=1&ref=Net/RayTransHistory.aspx?aid=389463 HTTP/1.1", "Host: www.secretcity.de", "Connection: close", "User-Agent: Mozilla/6.0 (Windows NT 6.2; WOW64; rv:16.0.1) Gecko/20121011 Firefox/16.0.1", "Accept-Encoding: gzip", "Accept-Charset: ISO-8859-1,UTF-8;q=0.7,*;q=0.7", "Cache-Control: no", "Accept-Language: de,en;q=0.7,en-us;q=0.3", "Referer: ".$url, "Content-type: application/x-www-form-urlencoded", "Content-length: 0" ); $cookie="cookie.txt"; $cookieFile="cookies.txt"; $ch = curl_init(); curl_setopt ($ch, CURLOPT_URL, $url); curl_setopt ($ch, CURLOPT_TIMEOUT, 60); curl_setopt ($ch, CURLOPT_FOLLOWLOCATION, 1); curl_setopt ($ch, CURLOPT_RETURNTRANSFER, 1); curl_setopt ($ch, CURLOPT_COOKIEFILE, $cookieFile); curl_setopt ($ch, CURLOPT_COOKIEJAR, $cookie); curl_setopt ($ch, CURLOPT_REFERER, $url); curl_setopt ($ch, CURLOPT_POST, TRUE); curl_setopt ($ch, CURLOPT_POSTFIELDS, $post_array); $result = curl_exec ($ch); $info = curl_getinfo($ch); $errorMessage = curl_errno($ch); $errorNumber = curl_error($ch); curl_close($ch); ?> <?=$result?> and that are the login code on ther page: <div align="center" style=""> <div class="SCLoginHeader" style="text-align: left;"><img src="App_Themes/SecretCity/Images/SCLogin-Title.png" alt="Member's Login" border="0" /></div> <div class="SCLoginBody" style="text-align: left;"> <div align="center"> <table border="0" cellspacing="0" cellpadding="0" class="SCLoginTable"> <tr> <td class="SCLoginDesc">Avatarname:</td> <td class="SCLoginData"><input name="ctl00$oCPH1$txtEmail" type="text" value="sct doc hardi" maxlength="128" size="25" id="ctl00_oCPH1_txtEmail" class="SCLoginField" /></td> </tr> <tr> <td class="SCLoginDesc">Passwort:</td> <td class="SCLoginData"><input name="ctl00$oCPH1$txtPassword" type="password" maxlength="32" size="20" id="ctl00_oCPH1_txtPassword" class="SCLoginField" /></td> </tr> <tr> <td class="SCLoginDesc"> </td> <td class="SCLoginData"><input type="image" name="ctl00$oCPH1$butLogin" id="ctl00_oCPH1_butLogin" src="App_Themes/SecretCity/Buttons/BTN-90-SignIn.png" alt="Go!" border="0" /></td> </tr> </table> </div> <div align="center" style="text-align: center;"> <ul class="SCLoginBullet" style="text-align: left;"> <li><a id="ctl00_oCPH1_lnkSignup" class="SCLoginLink" href="/signup.aspx">Neuen Benutzer anlegen</a></li> <li><a href="lost_password.aspx" class="SCLoginLink">Passwort vergessen?</a></li> <li><a href="resendvalticket.aspx" class="SCLoginLink">Bestätigungsmail nochmal senden</a></li> <li><a href="validate.aspx?noerror=true" class="SCLoginLink">Bestätigungs PIN eingeben</a></li> <li><a href="validated_email.aspx" class="SCLoginLink">Emailbestätigung überprüfen</a></li> </ul> </div> </div> </div><br /><br /> </div> <input name="ctl00$cbMerker" type="hidden" id="ctl00_cbMerker" onfocus="alert(this.id)" /> <div id="ctl00_divUtherverseTrackingIframe"></div> </form> Oki maby you can help me withe that issus doc hardi