Matthias Urlichs wrote:
> Hi,
>
> Brian Fahrlander:
>   
>>     What was missing was this clever and decisive piece of code:
>>
>>     
> Well ...
>
>   
>>     require "/opt/owfs/bin/bcadd.php";
>>     require "bcadd.php";
>>     die("File 'bcadd.php' is not found.\n");
>>     
>
> ... IMHO, placing bcadd.php and ownet.php in /whatever/bin does not make
> much sense. These modules are not callable from the command line.
> (People like the Debian FTP archive maintainer, whose task is to approve
> new packages, look at that stuff -- and go into major fits when they
> notice problems like this one.)
>
> They're libraries. Placing them in /usr/share/php5 seems much more sensible.
>   
   Right: that's precisely what I sought.  I didn't find them on the 
website, though I did, deep inside the tarball.

    I'm now progressing again, and trying to learn how to go about it, best.

    I want to keep fuse/owfs out of the picture; the only time I access 
the network is through loopback, and publish the findings in other ways.

    I'm looking for simple, solid "No response, so I'm quitting" or 
"Here's the value" type of operation from it. I'm very, very, very new 
to OO programming, so Im considering a "get" to get the whole point (as 
an array, including the 'presence' bit), then decide if presence is 
there, validating the point, so I return it.

    But it's not going so well. An attempt to use a "presence" call to 
the libs always returns "true", even with address="/WrongAddress".

    If you're still there (and have time for a newbie) could you help me 
with the syntax of a conditional read?

    Thanks


   

-- 
 ------------------------------------------------------------------------
 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

Reply via email to