Bug fix? of php scriptable browser source


I am making some php program, using

simple test browser (PHP scriptable browser).

[url removed, login to view]

I am accessing from [url removed, login to view] to [url removed, login to view] below.


$browser = new SimpleBrowser();

$browser->addHeader('User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows CE; IEMobile 7.11)');

$browser-> useCookies();

$browser-> useFrames();

$browser->get("http://foobar/[url removed, login to view]");

$browser->setField("aa", "2");



echo $browser->getContent();



<form name="test" method="post" action="">

<input type="radio" name="aa"


<input type="radio" name="aa" VALUE="2">


<OPTION VALUE="2014/05/30">z

<OPTION VALUE="2014/06/02">a

<OPTION VALUE="2014/06/03">b

<OPTION VALUE="2014/06/04">c

<OPTION VALUE="2014/06/05">d

<OPTION VALUE="2014/06/06">e

<OPTION VALUE="2014/06/09">f

<OPTION VALUE="2014/06/10">g

</SELECT> <input type="submit" value="se"








But the var_dump() of [url removed, login to view] (result of [url removed, login to view]) gets like this



'aa' => string '2' (length=1)

'bb' => string '' (length=0)

'send' => string 'se' (length=2)


The problem is it gets empty data of 'bb'.

The last post() method does not output proper data against select sentence of html.

So, please fix this setField() function bug of scriptable browser class source,

At last, I will rewrite the source of class by own.

So please tell me where to rewrite.

If this is just my mistaken or misunderstandinga of using this php scriptable browser,

then please notify me.

At that time, I will send milestone to you as fee of the information.

If there is some comments or notifications,

I'm glad to hear.


Evner: PHP, Software Arkitektur

Se mere: php string to html, php bb, mozilla bug, form php, clicksubmit, bug html, bb me, program test php, submit data php simple, windows send notifications, bug fix php, php post array, php post value, rewrite function php, php form array, php form post array, php form action, notifications php, php value post, php form array post, simple user access php, php form input data, browser test, select name, php mysql bug fix

Om arbejdsgiveren:
( 8 bedømmelser ) ichihara-shi, Japan

Projekt ID: #6006575

Tildelt til:


You aren't closing your option tags. You'll need to do that and then the code should work properly. Example: <select name="bb"> <option value="2014/05/30">z</option> <option value="2014/06/02">a</option> </se Flere

$15 USD på 1 dag
(7 bedømmelser)

2 freelancere byder i gennemsnit $25 på dette job



$34 USD på 1 dag
(16 bedømmelser)