DrupalBin
Submit Code
About
Recent Posts
Fix for Code
5 hours 43 min
ago
Fix for Code
5 hours 43 min
ago
Code
5 hours 49 min
ago
whole thing
6 hours 40 min
ago
more
Tags
CCK
drupal
fapi
jquery
menu
module
Panels
php
simpletest
test
theme
views
more tags
User login
Log in using OpenID:
What is OpenID?
Username:
*
Password:
*
Create new account
Request new password
Log in using OpenID
Cancel OpenID login
Home
cURL
cURL node create
November 18, 2008 - 4:55am — Anonymous
global
$base_url
;
$ch
= curl_init
(
)
;
curl_setopt
(
$ch
, CURLOPT_TIMEOUT,
60
)
;
curl_setopt
(
$ch
, CURLOPT_FOLLOWLOCATION,
1
)
;
curl_setopt
(
$ch
, CURLOPT_RETURNTRANSFER,
1
)
;
cURL
Add new comment
Read more
get remote image with curl
August 28, 2008 - 12:25am — Anonymous
<?php
$ch
= curl_init
(
"http://static.php.net/www.php.net/images/php.gif"
)
;
curl_setopt
(
$ch
, CurlOPT_HEADER,
0
)
;
curl_setopt
(
$ch
, CurlOPT_RETURNTRANSFER,
1
)
;
cURL
Read more
$this->curl_options and $curl_options for Upload user picture simpletest
August 17, 2008 - 3:47am — Anonymous
array
(
)
array
(
10082
=>
NULL
,
10002
=>
'http://gvs1/7drupal'
,
52
=>
true
,
19913
=>
true
,
10018
=>
'simpletest300270'
,
)
array
(
)
array
(
80
=>
true
,
cURL
simpletest
Read more
Does cURL session starts its life as anonymous?
June 3, 2008 - 1:28pm — Anonymous
<?php
// $Id: security_scanner.module,v 1.2 2008/05/29 19:20:59 ingo86 Exp $
/**
* cURL class
*/
class
drupal_security_scanner_test
{
var
$ch
;
cURL
simpletest security scanner
Read more