Jump to content
UBot Underground

Reading From Text File > Browser


Recommended Posts

Hey there! Very new to uBot and have a question (search bar doesn't seem to be giving me anything)

I have a file with a bunch of name that are appended by seperate lines. I want to import each name, one line at a time, into a site in the uBot browser. Could anyone help?

 

Thanks!

Link to post
Share on other sites

Cool. The easiest way is to right click on the form field, choose "change attribute" (select "value" from the dropdown) and then use the $read file constant as the content.

 

John

Link to post
Share on other sites

Cool. The easiest way is to right click on the form field, choose "change attribute" (select "value" from the dropdown) and then use the $read file constant as the content.

 

John

I figured it was something like this, but I need it to add one name at a time and then hit a submit button. When doing what you said above, it added the entire text document into the single form.

Link to post
Share on other sites

Ok, I read it as adding them all...no problem...

 

You need to use:

 

Add list to list, $list from file to create the list of names

 

You can then loop through the list and choose $next list item as the content

 

Does that make sense?

 

John

Link to post
Share on other sites

Something like this? When I do this, it starts at the top of the file, then goes down one and keeps entering the 2nd entry over and over.

Link to post
Share on other sites

Make sure you have a clear list in there at the beginning of the script. Everything else looks good.

 

John

I tried adding clear list at the beginning of the loop and outside the loop, but it keeps just adding the first record over and over.

Link to post
Share on other sites

<input type="text" name="login" value="" size="30"><input type="password" name="password" value="" size="30">

your type text element in your pic names "new" do not exists

name="login" & name="password" is the magic :)

Link to post
Share on other sites

<input type="text" name="login" value="" size="30"><input type="password" name="password" value="" size="30">

your type text element in your pic names "new" do not exists

name="login" & name="password" is the magic :)

You must login first. The username is admin, the password is phplist. Once you login, navigate to lists tab, and add a new user. I have a list of emails I'm trying to add to a list on phplist.

Link to post
Share on other sites

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.

Loading...
×
×
  • Create New...