cURL

Links und Informationen zu cURL (libcurl)

cURL steht für Client for URLs und steht über PHP oder Perl/cgi als Funktion zur Verfügung.

Einige Webseiten zum Einstieg in cURL

 "curl is a command line tool for transferring data with URL syntax, supporting DICT, FILE, FTP, FTPS, GOPHER, HTTP, HTTPS, IMAP, IMAPS, LDAP, LDAPS, POP3, POP3S, RTMP, RTSP, SCP, SFTP, SMTP, SMTPS, TELNET and TFTP. curl supports SSL certificates, HTTP POST, HTTP PUT, FTP uploading, HTTP form based upload, proxies, cookies, user+password authentication  ...)" curl.haxx.se

"libcurl is a free and easy-to-use client-side URL transfer library, supporting DICT, FILE, FTP, FTPS, GOPHER, HTTP, HTTPS, IMAP, IMAPS, LDAP, LDAPS, POP3, POP3S, RTMP, RTSP, SCP, SFTP, SMTP, SMTPS, TELNET and TFTP. libcurl supports SSL certificates, HTTP POST, HTTP PUT, FTP uploading, HTTP form based upload, proxies, cookies, user+password authentication (Basic, Digest, NTLM, Negotiate, Kerberos), file transfer resume, http proxy tunneling and more! libcurl is highly portable, it builds and works identically on numerous platforms, including Solaris, NetBSD, FreeBSD, OpenBSD, Darwin, HPUX, IRIX, AIX, Tru64, Linux, UnixWare, HURD, Windows, Amiga, OS/2, BeOs, Mac OS X, Ultrix, QNX, OpenVMS, RISC OS, Novell NetWare, DOS and more...libcurl is free, thread-safe, IPv6 compatible, feature rich, well supported, fast, thoroughly documented (...)" curl.haxx.se

 

Beispiel zur Nutzung von cURL via PHP

----------------------------------------------------------------------

<?php
    ch = curl_init();
    curl_setopt($ch, CURLOPT_URL, "www.example.com");
    curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
    $output = curl_exec($ch);
    curl_close($ch);
?>

----------------------------------------------------------------------

 

Beispiel zur Nutzung von cURL via Perl/CGI

----------------------------------------------------------------------

#! /usr/bin/perl
use strict;
use CGI;
my $q = new CGI;
print $q->header;
system '/usr/bin/curl' '-option1' '-option2' 'argument';

----------------------------------------------------------------------

 

 

 

Fügen Sie dieses Angebot Ihren Online-Bookmarks hinzu:

MisterWong Mister Wong  Digg this! Digg.com  Technorati Technorati  del.icio.us del.icio.us  StumbleUpon StumbleUpon
* Preis pro Monat, zzgl. einmaliger Einrichtungsgebühr (0 Euro - 20 Euro, je nach Domain-Typ).
Setup für Ihren Webspace je nach Domainendung
Setup
Webspace mit .de, .eu, .at, .com, .net, .org, .info, .biz Domain
0.- Euro einmalig
Webspace mit .be, .ch, .co.uk, .es, .in, .li, .pl, .tv, .us, .asia, .mobi, .name Domain
20.- Euro einmalig


** Preis pro .de Domain und pro Jahr inkl. Weiterleitung in Euro, Abrechnung bei .com/.net/.org/.info/.biz-Domains über 2 Jahre.
Es gelten die Registrierungsbedingungen der jeweiligen Vergabestelle (NIC, Network Information Center)
für de eu com net org info biz at be ch cn .co.uk es in li pl tv us asia mobi name
Die Berechnung erfolgt bis die Domain oder der Webspace schriftlich bei Hostweb/Hostserver GmbH gekündigt werden.
Alle Preise inkl. gesetzl. MwSt. (19 %).

Funktionen/Links: Nach oben Suche Sitemap Kontakt