Ich habe das Problem das ich mich zwar mithilfe von _WinHTTP in ein Forum einloggen kann, ich allerdings sobald ich auf das Profil eines Users möchte sofort ausgeloggt werde.
Auf jede andere Seite des Forums komm ich Problemlos nach dem Login ohne Fehlermeldung drauf.
Versuche ich aber auf das Profil eines Users zu gehen, so bin ich wieder ausgeloggt.
Im Browser ist dies nicht der Fall.
Da ich da ziemlich ratlos bin, hoffe ich das vllt schonmal jemand ein ähnliches Problem hatte
PHP Code:
#include <Winhttp.au3>
$HTTP_AGENT = _WINHTTPOPEN("Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.9.1.5) Gecko/20091102 Firefox/3.5.5")
$HTTP_CONNECT = _WINHTTPCONNECT($HTTP_AGENT, "board.nostale.de")
$HTTP_REQUEST = _WINHTTPOPENREQUEST($HTTP_CONNECT, "POST", "index.php?form=UserLogin", "HTTP/1.1","board.nostale.de")
_WINHTTPSENDREQUEST($HTTP_REQUEST, "Content-Type: application/x-www-form-urlencoded" &@CRLF, "loginUsername=*zensiert*&loginPassword=*zensiert*")
_WINHTTPRECEIVERESPONSE($HTTP_REQUEST)
$HTTP_REQUEST = _WINHTTPOPENREQUEST($HTTP_CONNECT, "GET", "/user/1-admin", "HTTP/1.1","board.nostale.de")
_WINHTTPSENDREQUEST($HTTP_REQUEST, "Content-Type: application/x-www-form-urlencoded")
_WINHTTPRECEIVERESPONSE($HTTP_REQUEST)
$HTML = ""
Do
$HTML &= _WINHTTPREADDATA($HTTP_REQUEST)
Until @error
FileWrite("test.html",$HTML)
ShellExecute("test.html")
(Ich hab auch schon versucht die session mit zu senden und mithilfe von index.php?page=User&userID=1 ein Profil zu besuchen, beides Erfolglos)