PHP ile bir siteye CURL isteği mi gönderiyorsunuz, ve istek gönderirken ilgili headerları eklemeniz lazım? Eğer böyleyse yapılabilir, hatta örnek kod bırakayım:
$ch = curl_init('https://siteadresi.com');
curl_setopt($ch, CURLOPT_HTTPHEADER, [
'X-Requested-With: com.facebook.katana',
'X-Https:1'
]);
$response = curl_exec($ch);
ilgili phpye girince curl atarsa olmaz hocam o phpye girince yönlendiriyor sayfayı set ettiğim header ile yönlenmesini istiyorum sanırım mümkün değil