eth0 Posted October 4, 2011 Report Posted October 4, 2011 (edited) Rezolvat...................... Edited October 8, 2011 by eth0 Quote
Nytro Posted October 4, 2011 Report Posted October 4, 2011 Cu cURL trimiti datele de logare din formlar.La citirea datelor, va trebui sa salvezi headerele, e optiune pentru asta COOKIE_JAR cred, ca la urmatorul request sa fii logat.Apoi faci direct request catre startpage.php. Quote
Raul Posted October 7, 2011 Report Posted October 7, 2011 (edited) Sau poti pune in home.php urmatoarele linii: $_SESSION['username']=$_POST['username']; $_SESSION['password']=$_POST['password']; if(!empty($_SESSION['username'] && !empty($_SESSION['password'])) echo "redirect"; // redirect Ma rog, nu prea am inteles ce vrei tu de fapt, dar cred ca ceva de genul. Edited July 6, 2018 by rraulinio Quote
UnixDevel Posted October 7, 2011 Report Posted October 7, 2011 Cum sa te loghezi pe un site folosind CURL in PHP? | WorldIT ai mura in gura ..pot sa garantez am facut bot de facebook folosind metoda de mai jos Quote