Jump to content

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

This thread is more than a year old. Please don't revive it unless you have something important to add.

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.   Restore formatting

  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...

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.