downlaod the source code 2009/5/31 Brian Fahrlander <[email protected]>
> Roberto Spadim wrote: > > see ownet.php examples > I've been doing that; four days now. Documentation is incomplete. > > > ownet.php: > http://owfs.org/index.php?page=ownet-php > > owphp: > http://owfs.org/index.php?page=owphp > > These are the closest examples to working code Google knows about. > Functions are listed, but no 'setup' for PHP to tell it to use the > appropriate module. > > THIS: > "$ow=new OWNet("tcp://172.16.1.100:1234"); > print_r($ow->dir("/")); > print_r($ow->read("/10.E8C1C9000800/temperature")); > print_r($ow->presence("/10.E8C1C9000800")); > print_r($ow->set("/10.E8C1C9000800/temphigh",35)); // any value will be > converted to string by fwrite function or socket_write > > no problems setting ownet class variable to another type, no memory leak > present when unsetting without unset() function > $ow=false or > $ow=NULL or > $ow="" or > unset($ow)" > > Does not run. As far as I can tell, no portion of it does. Taking out > the obvious English wording, $ow=new OWNet("tcp://172.16.1.100:1234"); > generates nothing but a syntax error in a blank file. > > There's a discussion about "bcmath" that very nearly gives me what I > need, and another on setting timeouts properly, but no suggestion of > code actually _works_. I have umteen copies of manual pages for > devices; I'm floating in them. But scant few mentions of PHP. > > You guys are gods; you don't have to think about the code anymore- the > invocations are part of your reflexes. I don't have that luxury; for the > last year I've been focusing on Perl development making calls to the > OWFS directories. Worse yet, I've never been a professional programmer > 'cause I'm just not that good at it. > > This is all new for me; can ya throw me a rope? > > -- > ------------------------------------------------------------------------ > Brian Fahrländer Christian, Conservative, and Technomad > Evansville, IN > ICQ: 5119262 AOL/Yahoo/GoogleTalk: WheelDweller > ------------------------------------------------------------------------ > > > > ------------------------------------------------------------------------------ > Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT > is a gathering of tech-side developers & brand creativity professionals. > Meet > the minds behind Google Creative Lab, Visual Complexity, Processing, & > iPhoneDevCamp as they present alongside digital heavyweights like Barbarian > Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com > _______________________________________________ > Owfs-developers mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/owfs-developers > > Esta mensagem foi verificada pelo E-mail Protegido Terra. > Atualizado em 30/05/2009 > > > -- Roberto Spadim Spadim Technology / SPAEmpresarial
------------------------------------------------------------------------------ Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp as they present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com
_______________________________________________ Owfs-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/owfs-developers
