Yngvarr

Generation

generate functionSat, 04 Feb 2023

ajax post this page

$ch = curl_init(); curl_setopt($ch, CURLOPT_URL, "http://www.example.com"); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); curl_setopt($ch, CURLOPT_POST, 1); curl_setopt($ch, CURLOPT_POSTFIELDS, "postvar1=value1&postvar2=value2"); $output = curl_exec($ch); curl_close($ch);

Questions about programming?Chat with your personal AI assistant