summaryrefslogtreecommitdiffstats
path: root/zarb-ml/mageia-dev/attachments/20110208
diff options
context:
space:
mode:
authorNicolas Vigier <boklm@mageia.org>2013-04-14 13:46:12 +0000
committerNicolas Vigier <boklm@mageia.org>2013-04-14 13:46:12 +0000
commit1be510f9529cb082f802408b472a77d074b394c0 (patch)
treeb175f9d5fcb107576dabc768e7bd04d4a3e491a0 /zarb-ml/mageia-dev/attachments/20110208
parentfa5098cf210b23ab4f419913e28af7b1b07dafb2 (diff)
downloadarchives-master.tar
archives-master.tar.gz
archives-master.tar.bz2
archives-master.tar.xz
archives-master.zip
Add zarb MLs html archivesHEADmaster
Diffstat (limited to 'zarb-ml/mageia-dev/attachments/20110208')
-rw-r--r--zarb-ml/mageia-dev/attachments/20110208/35d7df18/attachment-0001.html20
-rw-r--r--zarb-ml/mageia-dev/attachments/20110208/35d7df18/attachment.html20
-rw-r--r--zarb-ml/mageia-dev/attachments/20110208/69d2df41/attachment-0001.bin44
-rw-r--r--zarb-ml/mageia-dev/attachments/20110208/69d2df41/attachment.bin44
4 files changed, 128 insertions, 0 deletions
diff --git a/zarb-ml/mageia-dev/attachments/20110208/35d7df18/attachment-0001.html b/zarb-ml/mageia-dev/attachments/20110208/35d7df18/attachment-0001.html
new file mode 100644
index 000000000..ff981ab8b
--- /dev/null
+++ b/zarb-ml/mageia-dev/attachments/20110208/35d7df18/attachment-0001.html
@@ -0,0 +1,20 @@
+<br><br><div class="gmail_quote">On Tue, Feb 8, 2011 at 17:08, Michael Scherer <span dir="ltr">&lt;<a href="mailto:misc@zarb.org">misc@zarb.org</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
+<br><div><div class="h5">
+&gt;<br>
+&gt; (find / xmlrpc.inc gives nothing)<br>
+<br>
+</div></div>&gt; So the question is : which package provides &#39;xmlrpc.inc&#39; ?<br>$ urpmf &#39;/xmlrpc\.inc&#39;<br>
+mmc-web-base:/usr/share/mmc/includes/xmlrpc.inc.php<br>
+tikiwiki:/usr/share/tikiwiki/lib/xmlrpc.inc<br>
+drupal:/var/www/drupal/includes/xmlrpc.inc<br>
+drupal:/var/www/drupal/includes/xmlrpc.inc<br>
+<br>
+so I think nothing provides it, or it is some kind of file that is cut<br>
+and paste everywhere.<br>
+<br>
+IIRC, xml rpc on php is kinda painful and too low level<br>
+<br>
+--<br>
+<font color="#888888">Michael Scherer<br>
+<br>
+</font></blockquote></div>Ok. But I have none of those files.<br>Is there no way to know how it comes that my script works on my system ?<br><br clear="all"><br>-- <br><br>Frederic<br>
diff --git a/zarb-ml/mageia-dev/attachments/20110208/35d7df18/attachment.html b/zarb-ml/mageia-dev/attachments/20110208/35d7df18/attachment.html
new file mode 100644
index 000000000..ff981ab8b
--- /dev/null
+++ b/zarb-ml/mageia-dev/attachments/20110208/35d7df18/attachment.html
@@ -0,0 +1,20 @@
+<br><br><div class="gmail_quote">On Tue, Feb 8, 2011 at 17:08, Michael Scherer <span dir="ltr">&lt;<a href="mailto:misc@zarb.org">misc@zarb.org</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
+<br><div><div class="h5">
+&gt;<br>
+&gt; (find / xmlrpc.inc gives nothing)<br>
+<br>
+</div></div>&gt; So the question is : which package provides &#39;xmlrpc.inc&#39; ?<br>$ urpmf &#39;/xmlrpc\.inc&#39;<br>
+mmc-web-base:/usr/share/mmc/includes/xmlrpc.inc.php<br>
+tikiwiki:/usr/share/tikiwiki/lib/xmlrpc.inc<br>
+drupal:/var/www/drupal/includes/xmlrpc.inc<br>
+drupal:/var/www/drupal/includes/xmlrpc.inc<br>
+<br>
+so I think nothing provides it, or it is some kind of file that is cut<br>
+and paste everywhere.<br>
+<br>
+IIRC, xml rpc on php is kinda painful and too low level<br>
+<br>
+--<br>
+<font color="#888888">Michael Scherer<br>
+<br>
+</font></blockquote></div>Ok. But I have none of those files.<br>Is there no way to know how it comes that my script works on my system ?<br><br clear="all"><br>-- <br><br>Frederic<br>
diff --git a/zarb-ml/mageia-dev/attachments/20110208/69d2df41/attachment-0001.bin b/zarb-ml/mageia-dev/attachments/20110208/69d2df41/attachment-0001.bin
new file mode 100644
index 000000000..193390946
--- /dev/null
+++ b/zarb-ml/mageia-dev/attachments/20110208/69d2df41/attachment-0001.bin
@@ -0,0 +1,44 @@
+<?php
+
+require_once('xmlrpc.inc');
+
+# prepare the call parameters
+$server = "http://sophie2.aero.jussieu.fr/rpc";
+
+$method = "rpms.info";
+
+$pkgid = $_SERVER['argv'][1];
+# the Sophie pkgid of a package must be given at the command line
+# example : $ php sophieinfo.php 4727e94730113216e19d04592bbc4cec
+
+$parameters = new xmlrpcval("$pkgid") ;
+
+print_r($server);
+print_r("\n");
+print_r($method);
+print_r("\n");
+
+print_r($parameters);
+print_r("\n");
+
+$message = new xmlrpcmsg($method, array($parameters));
+
+# create the client, telling it which server to call
+$client = new xmlrpc_client($server);
+# (eventually) set options of the client
+$client->setDebug(2);
+
+# ask the client to send the message to the server
+$response = $client->send($message);
+
+# handle the response
+if (!$response->faultCode()) {
+ print "<HR>I got this value back<BR><PRE>" .
+ htmlentities($response->serialize()). "</PRE><HR>\n";
+} else {
+ print "Fault <BR>";
+ print "Code: " . htmlentities($response->faultCode()) . "<BR>" .
+ "Reason: '" . htmlentities($response->faultString()) . "'<BR>";
+}
+
+?> \ No newline at end of file
diff --git a/zarb-ml/mageia-dev/attachments/20110208/69d2df41/attachment.bin b/zarb-ml/mageia-dev/attachments/20110208/69d2df41/attachment.bin
new file mode 100644
index 000000000..193390946
--- /dev/null
+++ b/zarb-ml/mageia-dev/attachments/20110208/69d2df41/attachment.bin
@@ -0,0 +1,44 @@
+<?php
+
+require_once('xmlrpc.inc');
+
+# prepare the call parameters
+$server = "http://sophie2.aero.jussieu.fr/rpc";
+
+$method = "rpms.info";
+
+$pkgid = $_SERVER['argv'][1];
+# the Sophie pkgid of a package must be given at the command line
+# example : $ php sophieinfo.php 4727e94730113216e19d04592bbc4cec
+
+$parameters = new xmlrpcval("$pkgid") ;
+
+print_r($server);
+print_r("\n");
+print_r($method);
+print_r("\n");
+
+print_r($parameters);
+print_r("\n");
+
+$message = new xmlrpcmsg($method, array($parameters));
+
+# create the client, telling it which server to call
+$client = new xmlrpc_client($server);
+# (eventually) set options of the client
+$client->setDebug(2);
+
+# ask the client to send the message to the server
+$response = $client->send($message);
+
+# handle the response
+if (!$response->faultCode()) {
+ print "<HR>I got this value back<BR><PRE>" .
+ htmlentities($response->serialize()). "</PRE><HR>\n";
+} else {
+ print "Fault <BR>";
+ print "Code: " . htmlentities($response->faultCode()) . "<BR>" .
+ "Reason: '" . htmlentities($response->faultString()) . "'<BR>";
+}
+
+?> \ No newline at end of file