Skip to content

Instantly share code, notes, and snippets.

@msdundar msdundar/kartaca.php
Last active Dec 19, 2015

Embed
What would you like to do?
Kartaca başvurusu için betik
<?php
$selam = array('Content-Type: multipart/form-data');
$basvur = 'http://www.kartaca.com/basvur/is_basvuru.php';
$gonder = array(
'fname' => 'Mustafa Serhat',
'lname' => 'Dundar',
'email' => 'msdundars@gmail.com',
'phone' => '5544843760',
'cv'=>'@cv.pdf;type=application/pdf'
);
$msd = curl_init();
curl_setopt($msd, CURLOPT_HTTPHEADER, $selam);
curl_setopt($msd, CURLOPT_URL,$basvur);
curl_setopt($msd, CURLOPT_POST,1);
curl_setopt($msd, CURLOPT_POSTFIELDS, $gonder);
$sonuc = curl_exec ($msd);
curl_close ($msd);
echo $sonuc;
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.