You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-commits@lucene.apache.org by Apache Wiki <wi...@apache.org> on 2009/08/12 13:00:18 UTC
[Solr Wiki] Update of "SolPHP" by SebastianCuy
Dear Wiki user,
You have subscribed to a wiki page or wiki category on "Solr Wiki" for change notification.
The following page has been changed by SebastianCuy:
http://wiki.apache.org/solr/SolPHP
The comment on the change is:
Added a slash in eval-Function to escape '$'
------------------------------------------------------------------------------
Example usage:
{{{
$code = file_get_contents('http://localhost:8983/solr/select?q=iPod&wt=php');
- eval("$result = " . $code . ";");
+ eval("\$result = " . $code . ";");
print_r($result);
}}}