PHP client stopped working on new php

Marisa J <[email protected]> Tue, 4 Feb 2014 12:24:55 -0800
Newsgroups gmane.comp.gnu.gift.general
Message-ID <CAJDTN=HNWvsb_QDotOs1uAXP-zFe9rpPp8on+H7U24N+K8w=Qg@mail.gmail.com>
--===============5578722091871464940==
Content-Type: multipart/alternative; boundary=e89a8ff1c908f5354404f19a6ef7

--e89a8ff1c908f5354404f19a6ef7
Content-Type: text/plain; charset=ISO-8859-1

I was using php web Client to connect to gift, which is posted here:
http://gnuift.sourcearchive.com/documentation/0.1.13-1/Client_8php-source.html

Since my server was upgraded to a new php 5.4.24 it stopped working. It was
throwing one php error:

PHP Fatal error:  Call-time pass-by-reference has been removed in
/home/me/public_html/Client.php on line 76

But I fixed that by removing "&" here:

$socket = fsockopen ($server,$port, &$errno, &$errstr, 30);

However, the script still wont work. Now it doesn't throw any php errors,
it simply does nothing. When you click on "Accept and Connect", page just
refresh but wont connect to gift and no search form displayed.

Can somebody help to get it work with new php?
Thanks
Mary

--e89a8ff1c908f5354404f19a6ef7
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div><div><div><div><div><div>I was using php web Client t=
o connect to gift, which is posted here: <a href=3D"http://gnuift.sourcearc=
hive.com/documentation/0.1.13-1/Client_8php-source.html">http://gnuift.sour=
cearchive.com/documentation/0.1.13-1/Client_8php-source.html</a><br>
<br></div>Since my server was upgraded to a new php 5.4.24 it stopped worki=
ng. It was throwing one php error: <br><br>PHP Fatal error:=A0 Call-time pa=
ss-by-reference has been removed in /home/me/public_html/Client.php on line=
 76<br>
<br></div>But I fixed that by removing &quot;&amp;&quot; here:<br><br>$sock=
et =3D fsockopen ($server,$port, &amp;$errno, &amp;$errstr, 30);<br><br></d=
iv>However, the script still wont work. Now it doesn&#39;t throw any php er=
rors, it simply does nothing. When you click on &quot;Accept and Connect&qu=
ot;, page just refresh but wont connect to gift and no search form displaye=
d.<br>
<br></div>Can somebody help to get it work with new php?<br></div>Thanks<br=
></div>Mary<br></div>

--e89a8ff1c908f5354404f19a6ef7--


--===============5578722091871464940==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
help-GIFT mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/help-gift
--===============5578722091871464940==--