Register for your free account! | Forgot your password?

Go Back   elitepvpers > Coders Den > Web Development
You last visited: Today at 15:38

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

Advertisement



PaySafeCard - cURL nicht lösbar?

Discussion on PaySafeCard - cURL nicht lösbar? within the Web Development forum part of the Coders Den category.

Reply
 
Old   #1

 
Synatex's Avatar
 
elite*gold: 25
Join Date: Apr 2010
Posts: 1,019
Received Thanks: 331
PaySafeCard - cURL nicht lösbar?

Moin!

Folgendes Problem: Ich würde gerne ein neues PSC System Releasen welches den Leuten einerseits als Request-Tool, andererseits eventuell auch als Auto Cash-In Tool zur Verfügung stehen soll.

Ich steh aber vor einem Rätsel, mein "Webworker" () der darauf ausgelegt ist solche Requests zu handlen und selbst in Facebook, Amazon und Co funktioniert sowie ganz normale cURL Funktionen

PHP Code:
function get_data($url)
{
$ch curl_init();
$timeout 5;
curl_setopt($ch,CURLOPT_URL,$url);
curl_setopt($ch,CURLOPT_RETURNTRANSFER,1);
curl_setopt($ch,CURLOPT_CONNECTTIMEOUT,$timeout);
$data curl_exec($ch);
curl_close($ch);
return 
$data;

scheinen alle nicht zu funktionieren. Weiß einer etwas darüber ob PSC dementsprechende Requests blocked oder kann selbst mal einer Probieren die Guthaben Seite zu laden? Falls einer den Webworker benutzen will, Source Code:

PHP Code:
<?php
    
include 'webworker.class.php';

    
$ww = new Webworker();
    
    
$ww->Load('https://customer.cc.at.paysafecard.com/psccustomer/GetWelcomePanelServlet');
    
$cur $ww->Current();

    echo 
$cur['content'];
?>
Synatex is offline  
Old 12/31/2012, 19:20   #2
 
beefm4ker's Avatar
 
elite*gold: 0
Join Date: Dec 2009
Posts: 572
Received Thanks: 90
Curl kann mit https glaube ich nur bedingt was anfangen

Mein Freund google sagt mir dass man diese zwei Zeilen noch hinzufügen soll und dass es dann funktionieren würde:
Code:
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 0);
curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 0);
Mfg
beefm4ker is offline  
Thanks
1 User
Old 12/31/2012, 19:28   #3

 
Synatex's Avatar
 
elite*gold: 25
Join Date: Apr 2010
Posts: 1,019
Received Thanks: 331
Danke dir! Das hat das Problem gelöst.
Synatex is offline  
Reply


Similar Threads Similar Threads
cURL - Wie erstellen?
12/10/2012 - Web Development - 1 Replies
Hallo, Wie kann ich so dynamische URLs erstellen. Example: /register.php?step=1 /register.php?step=2 /register.php?step=done und halt für Benutzer:
PHP upload mittels curl
09/10/2012 - Web Development - 1 Replies
Hi, ich habe folgendes Problem, ich möchte gerne eine Datei von meinem Server auf einen anderen Server (Video Hoster) hochladen nur will dies nicht funktionieren. Es werden auch keine Errors angezeigt. Hier ist einmal das Script: <?php class curl { function __construct($use = 1)
help with curl
05/20/2011 - CO2 Programming - 0 Replies
im trying to log in to a page using curl to modify one of my post like updating that specific post with new information over the time i dont understand very much curl and most of the examples i search are in php and i need it to use with autoit or the cmd directly right now im trying from the start, to get logged in the webpage i have found that i need the names of the inputs user and password and that i need a cookie to receive and to send, but when i check the curl.txt in a browser it...
[PHP] cUrl Login
04/19/2010 - Web Development - 0 Replies
So ich hab ein kleines Problem. Und zwar versuche ich für das Browsergame Space Pioneers einen Bot mit PHP zu schreiben was generell auch kein Problem wäre, allerdings habe ich ein kleines Problem. Und zwar gibt es zwei möglichkeiten sich einzuloggen, das wäre einmal auf Looki und einmal der Notfall Login Login. Nun zu meinem Problem. Das Einloggen im ersten Link klappt soweit ganz gut, ich habe meines errachtens auch alle Inputs mit übergeben, hat mir allerdings keinen Acceskey...
kann kein fantasymt2 mehr zocken...3d bug auch nicht lösbar.
02/07/2010 - Metin2 Private Server - 15 Replies
servus, ich hab vor dem serverdown noch fantasymt2 gezockt.habs jetzt neu installiert...alle 3 dateien. kann aber net zocken. da steht: sry, your system don't support 3d graphics, bla bla bla. als auflösung kann ich nur 800x600 oder 1024x768 einstellen...geht bei allen 4 net (17bpp/32bpp)



All times are GMT +1. The time now is 15:41.


Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

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