lucene-solr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Solr Wiki] Update of "SolPHP" by SebastianCuy
Date Wed, 12 Aug 2009 11:00:18 GMT
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);
  }}}
  

Mime
View raw message