Jump to content

count question


adv

Recommended Posts

hello i have a question

i have this

 

$str= "user1,pass1,question1,user2,pass2,question2";
$res=explode(',',$str);
//print_r($explode); debug

 

i`m using curl to login

but in the content of the site

$vars="username=".$res[0]."&password=".$res[1]."&question=".$res[2];

and i  made an input

<input type="text" name="test" value="" size="100">

and in the input i can put the $str and using curl to check

but i dont know how to do after $res[0] $res[1] $res[2] to continue to $res[3] $res[4] $res[5]

 

my main goal is to check 2 users ..

the only thing i dont know how to automatically go after $res[3]  to $res[4] $res[5] $res[6]

 

Link to comment
https://forums.phpfreaks.com/topic/124859-count-question/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.