Đang Thực Hiện

A script that will log in to a website, enter data & submit

I need a script that would log into a web site, and do 4 things.

-choose the correct tab

-enter in a number

-choose an amount

-submit form

I have attached the page on which the script would act.

My website is on shared hosting in php.

This script would be run, from my site, when an order is successfully completed. The amount, number and provider variables would be passed from my site, to the script, and then run.

Here is an example of the form code on the 3rd party site page:

<form name="form1" method="post" action="[url removed, login to view]" onSubmit="submitForm(this);">

<table width="100%" border="0" align="center" cellpadding="3" cellspacing="3" bgcolor="#FFFFFF">

<tr class="FontThaiNoColor">

<td colspan="2" align="center" valign="middle"><strong>&#3648;&#3605;&#3636;&#3617;&#3648;&#3591;&#3636;&#3609; HAPPY DTAC (3.5%)</strong></td>

</tr>

<tr>

<td width="84" align="right" valign="middle" class="FontMenu">&#3648;&#3610;&#3629;&#3619;&#3660;&#3617;&#3639;&#3629;&#3606;&#3639;&#3629;</td>

<td width="248" align="left" valign="middle"><table width="100%" border="0" cellspacing="0" cellpadding="0">

<tr class="FontThai">

<td>

<input name="mobliedtac" type="text" id="mobliedtac" size="15" maxlength="10">

<input name="h_dtac" type="hidden" id="h_dtac" value="" style="width:25">

<script type="text/javascript">

function make_autocomDtac(autoObj,showObj){

var mkAutoObjDtac=autoObj;

var mkSerValObjDtac=showObj;

new Autocomplete(mkAutoObjDtac, function() {

[url removed, login to view] = function(id) {

[url removed, login to view](mkSerValObjDtac).value = id;

}

if ( [url removed, login to view] )

[url removed, login to view]("");

if ( [url removed, login to view] < 1 && [url removed, login to view] )

return ;

return "include/[url removed, login to view]" + [url removed, login to view];

});

}

// &#3585;&#3634;&#3619;&#3651;&#3594;&#3657;&#3591;&#3634;&#3609;

// make_autocom(" id &#3586;&#3629;&#3591; input &#3605;&#3633;&#3623;&#3607;&#3637;&#3656;&#3605;&#3657;&#3629;&#3591;&#3585;&#3634;&#3619;&#3585;&#3635;&#3627;&#3609;&#3604; "," id &#3586;&#3629;&#3591; input &#3605;&#3633;&#3623;&#3607;&#3637;&#3656;&#3605;&#3657;&#3629;&#3591;&#3585;&#3634;&#3619;&#3619;&#3633;&#3610;&#3588;&#3656;&#3634;");

make_autocomDtac("mobliedtac","h_dtac");

</script>

<input type="checkbox" name="CBdtac" id="CBdtac">

&#3594;&#3656;&#3623;&#3618;&#3592;&#3635;</td>

</tr>

</table></td>

</tr>

<tr>

<td align="right" valign="middle" class="FontMenu">&#3648;&#3605;&#3636;&#3617;&#3648;&#3591;&#3636;&#3609;</td>

<td align="left" valign="middle"><select name="paydtac" id="paydtac">

<option value="10" selected> 10 &#3610;&#3634;&#3607;</option>

<option value="20"> 20 &#3610;&#3634;&#3607;</option>

<option value="30"> 30 &#3610;&#3634;&#3607;</option>

<option value="40"> 40 &#3610;&#3634;&#3607;</option>

<option value="50"> 50 &#3610;&#3634;&#3607;</option>

<option value="60"> 60 &#3610;&#3634;&#3607;</option>

<option value="100"> 100 &#3610;&#3634;&#3607;</option>

<option value="200"> 200 &#3610;&#3634;&#3607;</option>

<option value="300"> 300 &#3610;&#3634;&#3607;</option>

<option value="500"> 500 &#3610;&#3634;&#3607;</option>

<option value="800"> 800 &#3610;&#3634;&#3607;</option>

</select>

<input type="submit" name="button2" id="button2" value="&#3648;&#3605;&#3636;&#3617;&#3648;&#3591;&#3636;&#3609;"></td>

</tr>

</table>

</form>

Something similar to what I need.

A script to log in to a website, parse the contents into objects, click some buttons and tick some checkboxes.

[url removed, login to view]

Kỹ năng: AJAX, Electronic Forms, Javascript, PHP, Web Scraping

Xem thêm: script log website, run script enter data website, script enter data website form, script enter data web form, javascript enter data website form, to do website, php autocomplete, order a website, log in website, log into, script enter data tab website, log in.com, microsoft website, name a website, log post, log in, enter data, data log, php javascript class, parse table javascript, parse table, post form hidden, need option script, autocomplete select, javascript order function

Về Bên Thuê:
( 17 nhận xét ) kewaskum, United States

Mã Dự Án: #1621589

Đã trao cho:

MustafaSR

hello sir please check the PMB.

$120 USD trong 2 ngày
(77 Đánh Giá)
5.8

3 freelancer đang chào giá trung bình $83 cho công việc này

squeezy

Hello. I've done a lot of tasks similar to this one. So I can do it quite fast.

$80 USD trong 1 ngày
(1 Đánh Giá)
2.8
tihal

Please check PMB. Thanks

$50 USD trong 2 ngày
(0 Đánh Giá)
0.0