Jump to content
eth0

Ajutor bot php

Recommended Posts

Posted

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.

Posted (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 by rraulinio

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...