php calling problem
chen
chen 2022-11-04 22:56:30
0
0
405

/**

* File: demo.php

* User: Administrator

* Date: 2019/5/15

*/

##require_once dirname(__FILE__) . '/lib/Api.php';

/**

* Change to your own account/password

*/

$username = 'Account';

$password = 'Password';

$api = new Api($username, $password);

##/**

* Domain name

*/

$data = array(

'action' => '/oneprice/?act=buy',

'method' => 'POST',

'body' => array(

'domain' => 'Domain name',

'price' => 500,

)

);

## $resp = $api->fetch_api($data);

echo $resp;

'domain' => 'Domain name',

How to replace "domain name" with a callable interface https://www.test.com/?domain=domain name

chen
chen

reply all (0)
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!