first: i m sure i enable php and phps in my solrconfig.xml two: i can't get answer.
*phps: *<?php $url = ' http://localhost:8080/solr1/select/?q=2&version=2.2&start=0&rows=10&indent=on&wt=phps '; $a = file_get_contents($url); echo 'before unserialize....<br/>'; var_dump($a); $a = unserialize($a); echo 'after unserialize...<br/>'; var_dump($a); ?>* * On 11/6/07, Stu Hood <[EMAIL PROTECTED]> wrote: > > Did you enable the PHP serialized response writer in your solrconfig.xml? > It is not enabled by default. > > Thanks, > Stu > > > -----Original Message----- > From: James liu <[EMAIL PROTECTED]> > Sent: Monday, November 5, 2007 9:03am > To: solr-user@lucene.apache.org > Subject: Re: how to use PHP AND PHPS? > > i know it...but u try it,,u will find simlar question. > > On 11/5/07, Robert Young <[EMAIL PROTECTED]> wrote: > > > > I would imagine you have to unserialize > > > > On 11/5/07, James liu <[EMAIL PROTECTED]> wrote: > > > i find they all return string.... > > > > > > <?php > > > $url = ' > > > > > > http://localhost:8080/solr/select/?q=solr&version=2.2&start=0&rows=10&indent=on&wt=php > > > '; > > > var_dump(file_get_contents($url); > > > ?> > > > > > > > > > -- > > > regards > > > jl > > > > > > > > > -- > regards > jl > > > -- regards jl