[PHP] xpath_eval causes Segmentation fault error

2001-04-26 Thread Grishick

I was trying the xpath expression like ancestor::* it always causes the
Segmentation error by PHP (both in Apache static moduel and stand-alone
executable).
But expressions like ancestor::para work fine. Only when I try to get all
the ancestors of the node PHP fails.
Does anyone has any idea?
Thanks.
Grishick.



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] PHP Editor

2001-05-10 Thread Grishick

Nothing is better then HomeSite
Gregory.
"Daniel" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hi,
>
> Just wondering whether you guys use any type of editor when programming in
> PHP? if so what have you found to be useful?
>
>
> Thanks
>
>
> Daniel
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] read($sock, $buf, $n) reads nothing on port 23

2001-05-10 Thread Grishick

I'm trying to make a telnet client with php. The strange thing happens:
"read" does not get anything from socket if I connect to port 23 (telnet),
but with other ports (21, 80) it works OK.
Grishick.
[EMAIL PROTECTED]




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] Has anyone tried to make telnet client with php?

2001-05-10 Thread Grishick

Has anyone ever tried to make a telnet client with PHP? Any ideas how to
make it?
Tried to make it with socket, fsockopen, fputs, freads - does not work for
telnet.
Probably cURL will help?
Deadly need an advice.
Thanks.
Grishick.
[EMAIL PROTECTED]



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] read($sock, $buf, $n) reads nothing on port 23

2001-05-10 Thread Grishick

Thanks a lot.
"Don Read" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
>
> On 11-May-01 Grishick wrote:
> > I'm trying to make a telnet client with php. The strange thing happens:
> > "read" does not get anything from socket if I connect to port 23
(telnet),
> > but with other ports (21, 80) it works OK.
> > Grishick.
> > [EMAIL PROTECTED]
> >
>
> Telnet is a bit more complex than that, look for RFC854 at
> http://www.cis.ohio-state.edu/Services/rfc/rfc.html
>
> Regards,
> --
> Don Read   [EMAIL PROTECTED]
> -- It's always darkest before the dawn. So if you are going to
>steal the neighbor's newspaper, that's the time to do it.
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] Help! OCIFetchInto does not work at all

2001-05-16 Thread Grishick

I'm tryibg to execute a simple query on Oracle:
$cn=OCILogon($DB_USER, $DB_PASSWORD, $DB_NAME);
$stmt=OCIParse($cn,"select * from grisha");
OCIExecute($stmt);
OCIFetchInto ($stmt, &$row, OCI_ASSOC);
But $row is always empty and OCIFetchInto  returns nothing. The table is not
empty, I can execute the same query directly on SQL*Plus Worksheet and it
returns rows, but with PHP it returns nothing.
What is wrong in this code?
Grishick.
[EMAIL PROTECTED]



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]