note 78289 added to ref.xmlrpc
| From: | digibrisk at gmail dot NOSPAM dot SPAMNO dot com | Date: | Fri, 05 Oct 2007 10:24:35 +0000 |
| Subject: | note 78289 added to ref.xmlrpc | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-131121@lists.php.net to get a copy of this message | ||
Adding to what giunta dot gaetano at sea-aeroportimilano dot it and astrolox at lawyersonline dot co
dot uk said about the Sourceforge PHP XML-RPC project: You can probably use function_exists() to
determine whether the extension is installed so you don't have to incur performance costs. If
it's not installed, then the function won't exist, and function_exists() returns false.
You can then fall back on the alternative library if that's the case. For example:
<?php
if(!function_exists("xmlrpc_server_create")) {
// include necessary files.
}
?>
----
Server IP: 209.41.74.194
Probable Submitter: 67.81.91.163
----
Manual Page -- http://www.php.net/manual/en/ref.xmlrpc.php
Edit -- https://master.php.net/note/edit/78289
Del: integrated -- https://master.php.net/note/delete/78289/integrated
Del: useless -- https://master.php.net/note/delete/78289/useless
Del: bad code -- https://master.php.net/note/delete/78289/bad+code
Del: spam -- https://master.php.net/note/delete/78289/spam
Del: non-english -- https://master.php.net/note/delete/78289/non-english
Del: in docs -- https://master.php.net/note/delete/78289/in+docs
Del: other reasons-- https://master.php.net/note/delete/78289
Reject -- https://master.php.net/note/reject/78289
Search -- https://master.php.net/manage/user-notes.php