Hallo,
ich habe ein Problem. Ich möchte mich automatisch bei Ebay einloggen. Dazu habe ich folgendes Script gemacht:
<?php
// eBay-Benutzername
$ebuser = "*******";
// eBay-Passwort
$ebpass = "*******";
// eBay-Postfelder
$ebpost = "MfcISAPICommand=SignInWelcome&siteid=77&co_partnerId=2&UsingSSL=1&ru=&pp=&pa1=&pa2=&pa3=&i1=-1&pageType=-1&rtmData=&";
// eBay-URL
$eburl = "https://signin.ebay.de/ws/eBayISAPI.dll";
$ch = curl_init();
curl_setopt($ch, CURLOPT_HEADER, 1);
curl_setopt($ch, CURLOPT_POST,1);
curl_setopt($ch, CURLOPT_POSTFIELDS, $ebpost."userid=".$ebuser."&pass=".$ebpass);
curl_setopt($ch, CURLOPT_URL,$eburl);
curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 2);
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1);
//curl_setopt($ch, CURLOPT_RETURNTRANSFER,1);
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE);
curl_exec($ch);
curl_close($ch);
?>
Er zeigt mir eine Fehlerseite von Ebay! Browser Problem. Das mein Browser keine Cookies akzeptiert. Wie kann ich mit cURL einen Cookie annehmen???
Hoffe auf schnelle Hilfe.
Viele Grüße,
Semy
					ich habe ein Problem. Ich möchte mich automatisch bei Ebay einloggen. Dazu habe ich folgendes Script gemacht:
<?php
// eBay-Benutzername
$ebuser = "*******";
// eBay-Passwort
$ebpass = "*******";
// eBay-Postfelder
$ebpost = "MfcISAPICommand=SignInWelcome&siteid=77&co_partnerId=2&UsingSSL=1&ru=&pp=&pa1=&pa2=&pa3=&i1=-1&pageType=-1&rtmData=&";
// eBay-URL
$eburl = "https://signin.ebay.de/ws/eBayISAPI.dll";
$ch = curl_init();
curl_setopt($ch, CURLOPT_HEADER, 1);
curl_setopt($ch, CURLOPT_POST,1);
curl_setopt($ch, CURLOPT_POSTFIELDS, $ebpost."userid=".$ebuser."&pass=".$ebpass);
curl_setopt($ch, CURLOPT_URL,$eburl);
curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 2);
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1);
//curl_setopt($ch, CURLOPT_RETURNTRANSFER,1);
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE);
curl_exec($ch);
curl_close($ch);
?>
Er zeigt mir eine Fehlerseite von Ebay! Browser Problem. Das mein Browser keine Cookies akzeptiert. Wie kann ich mit cURL einen Cookie annehmen???
Hoffe auf schnelle Hilfe.
Viele Grüße,
Semy
 
          
 
							
						
 
 
							
						 
  
 
							
						
Comment