Find Jobs
Hire Freelancers

simple curl connection - php

$30-5000 USD

Zamknięte
Opublikowano około 16 lat temu

$30-5000 USD

Płatne przy odbiorze
Hi, I am trying to link to barclaycard payment gateway using fsockopen (which works fine) but the server I am hosting my website on ([login to view URL]) require to use proxy to connect to any external server. They require to use curl for that. I am having trouble in using curl to make connection with payment gateway server. I want a coder who can make a connection to the server using curl. Please note you will not be doing full integration of payment gateway, all you are required to do is to make a simple connection with the payment gateway server and I will do the rest myself. Below is a coding used for fsockopen connetion. This uses cliient id and password as part of the $postdata. function pullpage( $host, $usepath, $postdata = "" ) { # open socket to filehandle(epdq encryption cgi) $fp = fsockopen( $host, 80, &$errno, &$errstr, 60 ); #check that the socket has been opened successfully if( !$fp ) { print "$errstr ($errno) \n"; } else { #write the data to the encryption cgi fputs( $fp, "POST $usepath HTTP/1.0\n"); $strlength = strlen( $postdata ); fputs( $fp, "Content-type: application/x-www-form-urlencoded\n" ); fputs( $fp, "Content-length: ".$strlength."\n\n" ); fputs( $fp, $postdata."\n\n" ); #clear the response data $output = ""; #read the response from the remote cgi #while content exists, keep retrieving document in 1K chunks while( !feof( $fp ) ) { $output .= fgets( $fp, 1024); } #close the socket connection fclose( $fp); } return $output; } If you have any question then please ask. Thanks, ## Deliverables 1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done. 2) Deliverables must be in ready-to-run condition, as follows? (depending on the nature? of the deliverables): a)? For web sites or? other server-side deliverables intended to only ever exist in one place in the Buyer's environment--Deliverables must be installed by the Seller in ready-to-run condition in the Buyer's environment. b) For all others including desktop software or software the buyer intends to distribute: A software? installation package that will install the software in ready-to-run condition on the platform(s) specified in this bid request. 3) All deliverables will be considered "work made for hire" under U.S. Copyright law. Buyer will receive exclusive and complete copyrights to all work purchased. (No GPL, GNU, 3rd party components, etc. unless all copyright ramifications are explained AND AGREED TO by the buyer on the site per the coder's Seller Legal Agreement). ## Platform php,linux,curl
Identyfikator projektu: 3731886

Informację o projekcie

7 ofert
Zdalny projekt
Aktywny 16 lat temu

Szukasz sposobu na zarobienie pieniędzy?

Korzyści ze składania ofert na Freelancer.com

Ustal budżet i ramy czasowe
Otrzymuj wynagrodzenie za swoją pracę
Przedstaw swoją propozycję
Rejestracja i składanie ofert jest bezpłatne
7 freelancerzy składają oferty o średniej wysokości $16 USD dla tej pracy
Awatar Użytkownika
See private message.
$25,50 USD w 14 dni
4,9 (660 opinii)
8,4
8,4
Awatar Użytkownika
See private message.
$12,75 USD w 14 dni
5,0 (199 opinii)
7,0
7,0
Awatar Użytkownika
See private message.
$12,75 USD w 14 dni
5,0 (306 opinii)
7,1
7,1
Awatar Użytkownika
See private message.
$15,30 USD w 14 dni
5,0 (375 opinii)
6,8
6,8
Awatar Użytkownika
See private message.
$17 USD w 14 dni
4,8 (130 opinii)
6,6
6,6
Awatar Użytkownika
See private message.
$12,75 USD w 14 dni
5,0 (18 opinii)
3,1
3,1
Awatar Użytkownika
See private message.
$17 USD w 14 dni
0,0 (1 opinia)
0,0
0,0

O kliencie

Flaga UNITED KINGDOM
Leeds, United Kingdom
4,9
214
Zweryfikowana metoda płatności
Członek od sie 19, 2009

Weryfikacja Klienta

Dziękujemy! Przesłaliśmy Ci e-mailem link do odebrania darmowego bonusu.
Coś poszło nie tak podczas wysyłania wiadomości e-mail. Proszę spróbować ponownie.
Zarejestrowani Użytkownicy Całkowita Liczba Opublikowanych Projektów
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Wczytywanie podglądu
Udzielono pozwolenia na Geolokalizację.
Twoja sesja logowania wygasła i zostałeś wylogowany. Proszę, zalogować się ponownie.