[PHP] proc_open problems

2004-03-01 Thread Rick Ridgeway
Hello, I am using php 4.3.0, and am trying to launch the command line interface for cisco network registrar, and be able to send commands to it and read the output from those commands. Problem I am having is that the commands can take some time to actually respond with output. I can make it

[PHP] Sybase

2001-01-26 Thread Rick Ridgeway
Can someone give me an example of a simple sybase query page? here is what i have: Here is what I get: Warning: -1 is not a Sybase link index in /www/smurfy/include/clumpysql.php on line 7 Warning: -1 is not a Sybase link index in /www/smurfy/include/clumpysql.php on line 8 -- PHP General

Re: [PHP] " " charactor problem

2001-01-21 Thread Rick Ridgeway
> Are you sure $thelinefromfile is actually being set correctly? > > Regards, > > Sean Yes I print it out it says "Array" so i then do print $thelinefromfile[0]; and it prints out the whole line instead of the first field from the line... -- Rick Ridgeway -- PH

[PHP] " " charactor problem

2001-01-20 Thread Rick Ridgeway
im trying to build an array from an entry in a file and im having some trouble with it. in a file i have a line similar to: 1234 hello 123456 12345678 I grab this line and try to make it an array like this: $var1 = trim($thelinefromfile); $var2 = split(" ", $thelinefromfile); $count = count($var