Register for your free account! | Forgot your password?

You last visited: Today at 01:46

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



HTTP Pingback

Discussion on HTTP Pingback within the Web Development forum part of the Coders Den category.

Reply
 
Old   #1

 
Hupfi10's Avatar
 
elite*gold: 76
Join Date: Aug 2011
Posts: 2,548
Received Thanks: 1,442
HTTP Pingback

Hi

ich versuche gerade per PHP an einen externen Server eine GET anfrage zu senden OHNE dass der Nutzer etwas davon mitbekommt. Also eine Art Pingback.
Hat jemand eine Idee wich ich das lösen könnte?

Würde das gehen:

PHP Code:
include "config.php";
        
$curl_val $_SESSION['val'];
        
$curl_uid $_SESSION['uid'];
        
$postfields "uid=$curl_uid&val=$curl_val";
        
$ch curl_init();
        
        
curl_setopt($chCURLOPT_URL$pingbackurl);
        
curl_setopt($chCURLOPT_POSTFIELDS$postfields);
        
        
curl_exec($ch);
        
        
curl_close($ch); 
Hupfi10 is offline  
Old 02/09/2013, 14:42   #2
 
kissein's Avatar
 
elite*gold: 0
Join Date: Sep 2005
Posts: 427
Received Thanks: 87
PHP Code:
$url "www.example.com";
print_r(get_headers($url1)); 
oder mit curl so in etwa

PHP Code:
    $url 'www.example.com';
    
$ch curl_init($url);
    
curl_setopt($chCURLOPT_NOBODYtrue);
    
curl_setopt($chCURLOPT_FOLLOWLOCATIONtrue);
    
curl_exec($ch);
    
$retcode curl_getinfo($chCURLINFO_HTTP_CODE);
    
curl_close($ch);
    if (
200==$retcode) {
        
// HTTP 200 OK
    
} else {
        
//  fehler
    

kissein is offline  
Old 02/09/2013, 16:46   #3

 
Hupfi10's Avatar
 
elite*gold: 76
Join Date: Aug 2011
Posts: 2,548
Received Thanks: 1,442
Übergibt deine cURL Lösung überhaupt die Parameter?
Hupfi10 is offline  
Reply


Similar Threads Similar Threads
hello any one cann give me paymentwall pingback scripte
07/31/2012 - Last Chaos Private Server - 3 Replies
hello any one cann give me pingback for paymentwall scripte i pay 10 euro paypal if any one give me the scripte



All times are GMT +2. The time now is 01:47.


Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2026 elitepvpers All Rights Reserved.