[PHP-DEV] nl2br is broken in PHP4.3.0pre1

2002-10-16 Thread Sagi Bashari

Hi,

It seems like the nl2br() function is broken when the input string does 
not contain any newlines.
[sagi@domino tmp]$ php -v
PHP 4.3.0-pre1 (cli), Copyright (c) 1997-2002 The PHP Group
Zend Engine v1.3.0, Copyright (c) 1998-2002 Zend Technologies
[sagi@domino tmp]$ cat test.php
?php
print nl2br('hello world').\n;
print nl2br(hello world\n).\n;
?
[sagi@domino tmp]$ php test.php
!x7
hello worldbr /

[sagi@domino tmp]$

It looks like someone already filed a bug report: 
http://bugs.php.net/bug.php?id=19858

Any news about this?

Sagi




-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP-DEV] CVS Account Request: sagi

2002-05-10 Thread Sagi Bashari

phpdoc - Help with the hebrew translation of the PHP manual.
pear - Hopefully, help in the development of pear (contribute some classes that I 
wrote).



-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP-DEV] Re: Why conditionally define SID?

2002-03-26 Thread Sagi Bashari

From: Sterling Hughes [EMAIL PROTECTED]

 I actually can't find the reason that SID is not registered...  I know
 that its main use is for appending the session ID onto a URL, but I'd
 find it useful for logging purposes and such (i guess I could just use
 the session_name() and session_id() functions though).

I think that it'll be really nice to have it defined all the time.

I had some cases where I needed to point a user to a different server, say
from normal http to https server, and I wanted to keep his session, I ended
up writing function that returns the variable from session_id(), but defined
SID should be much nicer.

Sagi




-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP-DEV] Translation of PHP Docs To Hebrew

2002-03-16 Thread Sagi Bashari

Hi,

Some guys already started to translate the manual to hebrew.

See
http://www.guides.co.il/forums/index.php?board=3;action=display;threadid=56

Sagi

- Original Message -
From: Hadar Porat
To: [EMAIL PROTECTED]
Sent: Saturday, March 16, 2002 3:31 PM
Subject: [PHP-DEV] Translation of PHP Docs To Hebrew


Hello to all,

I want to start translate PHP Docs to Hebrew, but I don't know where to
start.
I don't have CVS access, so I can't upload translated files. I also don't
know where to get the source of the docs.

I have some free time, and I know English and Hebrew languages very well.

Please guide me how to start, and where to send the Hebrew Docs I made.
I want to start today, so if someone can e-mail me (and not the list), it
will be great.

Hadar Porat
[EMAIL PROTECTED]
http://www.igames.co.il



-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP-DEV] ImageCopyResampleBicubic()

2002-02-04 Thread Sagi Bashari

Hi,

Someone has posted ImageCopyResampleBicubic() function to the comments
section in the PHP manual a while
ago.(http://www.php.net/manual/en/function.imagecopyresized.php)

The image resize quality of this function is much better than normal
ImageCopyResized(), and many people have used this function for a while now,
instead of the normal resize function.

Is it possible to add it to the main PHP distribution?

Sagi





-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, visit: http://www.php.net/unsub.php