Hi Mark, See http://www.openser.org/dokuwiki/doku.php/core-cookbook:1.3.x#while for how to use the while statement.
For the IP of the openser server , try $Ri (reference to IP address of the interface where the request has been received). Regards, Bogdan mark morreny wrote: > Hi, > > If I want to walk through a resultset of numbers, how can I do that? > I have tried: > > $var(index) = 1 > while (is_avp_set($var(i:$index) ) > $var(index) = $var(index) +1; > > However $var(i:$index) won't work. I am wondering if someone can tell > me how I can correct it. > > The other question I have is about psuedo-variable. Is there any > psuedo-variable can give me the IP of the Openser server? > > Thanks, > Mark > ------------------------------------------------------------------------ > > _______________________________________________ > Users mailing list > [email protected] > http://lists.openser.org/cgi-bin/mailman/listinfo/users > _______________________________________________ Users mailing list [email protected] http://lists.openser.org/cgi-bin/mailman/listinfo/users
