DrupalBin
Submit Code
About
Recent Posts
Serializable closures
Closures in menu item arguments
dpr($content['field_headshot'])
Fix for Git push error
Проверка
Code
$item['title'] = $item['title'];
Loading specific field
expire give non-aliased paths
Fix for Code
more
User login
Log in using OpenID:
What is OpenID?
Username:
*
Password:
*
Log in using OpenID
Cancel OpenID login
Create new account
Request new password
Tags
CCK
drupal
fapi
jquery
menu
module
php
simpletest
taxonomy
test
theme
views
more tags
Home
Services
Re:
July 4, 2011 - 4:44am — Anonymous
freelance writer
Services
xml-rpc
Re:
June 25, 2011 - 1:28pm — Anonymous
freelance writer
Services
xml-rpc
Fix for XML RPC example for Drupal 6.x Services
August 26, 2010 - 11:43am — Anonymous
<?php
/**
* Function for generating a random string, used for
* generating a token for the XML-RPC session
*/
function
getUniqueCode
(
$length
=
""
)
{
$code
=
md5
(
uniqid
(
rand
(
)
,
true
)
)
;
6.x
drupal
Services
web services
xmlrpc
Read more
user.save with Drupal Services 6.x-2.2
June 28, 2010 - 7:56am — Anonymous
/*
* Now let's retrieve our user to change
*/
// set vars for this connection
$nonce
=
getUniqueCode
(
"10"
)
;
$method_name
=
'user.load'
;
$timestamp
=
(
string
)
strtotime
(
"now"
)
;
$required_args
6.x
drupal
Services
user.save
Read more
Fix for XML RPC example for Drupal 6.x Services
June 17, 2010 - 1:43pm — Anonymous
<?php
/**
* Function for generating a random string, used for
* generating a token for the XML-RPC session
*/
function getUniqueCode
(
$length = ""
)
{
$code = md5
(
uniqid
(
rand
(
)
, true
)
)
;
6.x
drupal
jay
Services
web services
xmlrpc
Read more
XML RPC example for Drupal 6.x Services
October 7, 2009 - 5:34am — Anonymous
<?php
/**
* Function for generating a random string, used for
* generating a token for the XML-RPC session
*/
function
getUniqueCode
(
$length
=
""
)
{
$code
=
md5
(
uniqid
(
rand
(
)
,
true
)
)
;
6.x
drupal
Services
web services
xmlrpc
Read more
services module examples
September 15, 2009 - 11:01am — Anonymous
/**
* service definition
*/
function
cws_service_service
(
)
{
return
array
(
// cws.euid_from_email
array
(
'#method'
=
>
'cws.euid_from_email'
,
'#callback'
=
>
'cws_servi
Services
xml-rpc
Read more
long polling service
March 3, 2009 - 6:40am — Anonymous
$counter
=
0
;
while
(
!
$view
-
>
result
)
{
$view
= views_get_view
(
$view_name
)
;
// Put all arguments and then execute
$view
-
>
set_arguments
(
$args
,
FALSE
)
;
$view
-
>
set_offset
(
$offset
)
;
amfphp
flash
long polling
Services
views
Read more
Fix for Services API key use
March 2, 2009 - 4:38am — Anonymous
Using Services API Keys
Services
Read more
Services API key use
February 28, 2009 - 4:31pm — Anonymous
Using Services API Keys
Services
Read more
1
2
3
next ›
last »