[PHP-DEV] return from ftp_site ()

2002-08-18 Thread Bjoern Frantzen

Is there a reason that the function ftp_site only returns a bool value and
not the output from the command?

bool ftp_site ( resource ftp_stream, string cmd )

Will a patch that changes this behaviour be accepted? If we return 0/false
on error this shouldn't break any applications I think.

-- 
   Bjørn Frantzen



msg40788/pgp0.pgp
Description: PGP signature


[PHP-DEV] Bug #12298: transparent sid doesn't work with transparent gzip compression

2001-07-21 Thread bjoern

From: [EMAIL PROTECTED]
Operating system: Linux 2.2.14
PHP version:  4.0.6
PHP Bug Type: Session related
Bug description:  transparent sid doesn't work with transparent gzip compression

As already mentioned on PHP-DEV, transparent session-id propagation doesn't
work when transparent gzip output compression is enabled.
-- 
Edit bug report at: http://bugs.php.net/?id=12298edit=1


-- 
PHP Development 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-DEV] wrong implementation of isset()?

2001-02-06 Thread Bjoern Hoehrmann

* Andrei Zmievski wrote:
 ?php
 $a = NULL;
 if (isset($a)) { print "ok, du hast recht"; }
 ?
 
 Shouldn't this script generate some output? IMO $a is set
 and isset() should return true.

NULL == not set

Great analysis. What about answering the question? Stanislav Malyshev
said some months ago this is 'strange', see the discussion around bug
6076. Tell us at least, why this actually isn't strange.
-- 
Bjrn Hhrmann ^ mailto:[EMAIL PROTECTED] ^ http://www.bjoernsworld.de
am Badedeich 7  Telefon: +49(0)4667/981028  http://bjoern.hoehrmann.de
25899 Dagebll # PGP Pub. KeyID: 0xA4357E78 # http://learn.to/quote [!]e
~~ will code for food. ~~   

-- 
PHP Development 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-DEV] PHP 4.0 Bug #8688: compile error in exec.c

2001-01-13 Thread bjoern

From: [EMAIL PROTECTED]
Operating system: Linux 2.2.14 (SuSE 6.2)
PHP version:  4.0 Latest CVS (13/01/2001)
PHP Bug Type: Compile Failure
Bug description:  compile error in exec.c

Hi,

with latest CVS, make fails:

exec.c: In function `_Exec':
exec.c:202: `ret' undeclared (first use in this function)
exec.c:202: (Each undeclared identifier is reported only once
exec.c:202: for each function it appears in.) 

configure line:

./configure \
  --with-apxs=/usr/sbin/apxs \
  --with-mysql=/usr \
  --with-swf=/usr/local \
  --with-gd=/usr \
  --with-dbase=yes \
  --with-dom=/usr/local \
  --enable-dba \
  --enable-sysvshm \
  --enable-sysvsem \
  --enable-debug=no \
  --enable-safe-mode=no \
  --enable-ftp \
  --enable-url-fopen-wrapper=yes \
  --enable-track-vars=yes \
  --enable-versioning \
  --enable-session \
  --with-zlib=/usr 

TIA, Björn.
  


-- 
Edit Bug report at: http://bugs.php.net/?id=8688edit=1



-- 
PHP Development 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]