Feature - Implemented visit_url() and POST arrays

bumcheekcity

Active member
Can visit_url() supply POST arrays to the page? In short, I'm trying to visit clan_members.php to modify some ranks, and the form (snippet) looks like this:

Code:
<tr><td><input type=hidden name="pids[]" value=1899866>
<a class=nounder href="showplayer.php?who=1899866">bumcheekcity3</a>  </td>
<td><select name=level1899866>
<option value=0 selected>whatever</option>
<option value=5>and so on</option>
</select></td>
<td><input class=text type=text name=title1899866 size=20 maxlength=40 value=""></td>
<td><input type=checkbox name=boot1899866></td></tr>

And the pids[] element is making it impossible. If it's not possible to use arrays, it should be added as a feature.

Edit: I managed this with

Code:
visit_url("clan_members.php?pid[123456]=123456&...");

I'll add this to the visit_url() page on the wiki. No need to worry about this.
 
Last edited:
Top