 
Crew algemeen |
|
Jawel, met curl:
<base href="http://www.factoriz.net" />
<?php
// Gegevens
$login = '***';
$password = '***';
// Request maken
$curl = curl_init();
curl_setopt($curl, CURLOPT_URL, 'http://www.factoriz.net/a=login');
curl_setopt($curl, CURLOPT_POSTFIELDS, 'login=' . $login . '&password=' . $password );
curl_setopt($curl, CURLOPT_POST, true);
// Antwoord verwerken
curl_exec($curl);
?>
<base href="http://www.factoriz.net" /> <?php // Gegevens $login = '***'; $password = '***'; // Request maken $curl = curl_init(); curl_setopt($curl, CURLOPT_URL, 'http://www.factoriz.net/a=login'); curl_setopt($curl, CURLOPT_POSTFIELDS, 'login=' . $login . '&password=' . $password ); curl_setopt($curl, CURLOPT_POST, true); // Antwoord verwerken curl_exec($curl); ?>
|