SimpleRedisClient icon indicating copy to clipboard operation
SimpleRedisClient copied to clipboard

Hi, can you teach me how to make it work on cpoll_cppsp?

Open hwongcom opened this issue 11 years ago • 2 comments

Would like to make it work on http://sourceforge.net/projects/cpollcppsp/

Can you please provide the instructions on how to get it done for the latest 1.0 version? Thanks

hwongcom avatar Dec 26 '14 15:12 hwongcom

I had not worked with cpoll_cppsp. But I would be interested to learn it. If I can, then give instructions.

VictorTrapenok avatar Dec 27 '14 02:12 VictorTrapenok

This is my file index.cppsp. On my computer it works.

<%# #include < iostream> #include < unistd.h> #include < sys/types.h> #include < stdexcept> #include < cppsp/common.H> #include < delegate.H> #include < iostream> #include < iostream>

#include "SimpleRedisClient.h" #include "SimpleRedisClient.cpp"

void init() { doReadPost=true; }

SimpleRedisClient rc;
rc.setHost("127.0.0.1"); rc = "cppspKEY cppspTest";

rc.get("cppspKEY");

%>

redis['cppspKEY]'= <%=rc.getData()%>

<% rc.redis_close(); %>

VictorTrapenok avatar Dec 27 '14 07:12 VictorTrapenok