hi again.
it look likes my code is ugly so no one wants to play with it :D.
rewrote the consumer and provider code using only the php provided
classes/methods. I have borrowed code from
http://www.lornajane.net/posts/2011/php-oauth-provider-request-tokens and
http://toys.lerdorf.com/archives/55-W
I've got this error:
*"Fatal error*: Call to undefined method DOMElement::C14N() in..."
My local server has the version 2.7.6 of libxml, and works fine. The
development server has the version 2.6.26
DOM/XML API Version 20031129.
This may be the problem? Or there's a dependency lost? or something l
"Richard Quadling" wrote in message
news:CAKUjMCVwFos-=swewaoyxw2ukvhkwaueh6dahptycj-4wud...@mail.gmail.com...
On 3 October 2011 14:30, Jim Giner wrote:
> Thanks for the code sample - a little more complex than I've ever used.
> Can
> you explain something for me?
>
> The first "unset" line -
On 3 October 2011 14:30, Jim Giner wrote:
> Thanks for the code sample - a little more complex than I've ever used. Can
> you explain something for me?
>
> The first "unset" line - what is it doing? If it is removing the item from
> the $process array, then how can you then reference the value (
>
> if (get_magic_quotes_gpc()) {
> $process = array(&$_GET, &$_POST, &$_COOKIE, &$_REQUEST);
> while (list($key, $val) = each($process)) {
> foreach ($val as $k => $v) {
unset($process[$key][$k]);
> if (is_array($v)) {
> $process[$key]
> -Original Message-
> From: Ron Piggott [mailto:ron@actsministries.org]
> Sent: 01 October 2011 18:59
> To: php-general@lists.php.net
> Subject: [PHP] Variable question
>
>
> If $correct_answer has a value of 3 what is the correct syntax
> needed to use echo to display the value of $
hi All,
I'm trying develop Oauth consumer and provider as very same way of twitter.
I followed the below tutorials. Here is my consumer code
http://pastebin.com/39sxKbuz and here is my provider code
http://pastebin.com/xtEsrTGf
when I run the client it gives error as follow
Array
(
[oauth_p
7 matches
Mail list logo