Найдено: 1
Отправка формы в CURL PHP (18.12.2021)
method="post" action="/index.php">
<div>
<label>Email address</label>
<input type="email" name="email" placeholder="Enter email">
</div>
<div>
<label>Password</label>
<input type="password" name="password" placeholder="Password">
</div>
<div>
<input type="checkbox" name="check"> Check me out
</div>
<div>
<button type="submit" name="submit">Submit</button>
<div>
</form>
if (isset($_POST {
$ch = curl_init('https://домен.ru/inbox.php');
curl_setopt($ch, CURLOPT_POST, 1);
curl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query($_POST, '', '&'));
curl_setopt($ch, CURLOPT_RETURNTRANSFER,...
Ragnar Lodbrok 18 дек 2021, в 15:36
php #curl
Ragnar Lodbrok 18 дек 2021, в 15:36
php #curl