Re: [PHP] simple division.. but how?
--- [EMAIL PROTECTED] wrote: > if you want to do > 10 / 3 > i want it to show 3 and not 3.3 > > how do I control that? > $a= 10/3; echo (int)$a; echo $a; Result 3 3.3 regards = Ing. Alejandro Garín Telecom Internet __ Do You Yahoo!? Get email at your own domain with Yahoo! Mail. http://personal.mail.yahoo.com/ -- 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] Zend Optimizer
--- Marcus Ouimet <[EMAIL PROTECTED]> wrote: > I have download the Zend Optimizer (Running Apache > 1.3.14 and PHP 4.04) and untarred it. Then I copied > the ZendOptimizer.so to usr/local/Zend/lib Then I > edited the PHP.ini and added: > > zend_optimizer.optimization_level=15 > zend_extension="/usr/local/Zend/lib/ZendOptimizer.so" > > > Somewhere near the top. Then I restarted the server > using apachectl restart. I also tried stopping and > starting as well. It still isn't running? Any ideas. > Is there anything else that needs to be done? > with phpinfo() you see: This program makes use of the Zend scripting language engine: Zend Engine v1.0.3, Copyright (c) 1998-2000 Zend Technologies with Zend Optimizer v0.99, Copyright (c) 1998-2000, by Zend Technologies regards = == Ing. Alejandro Garín Telecom Internet __ Do You Yahoo!? Get email at your own domain with Yahoo! Mail. http://personal.mail.yahoo.com/ -- 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] Help with IMAP_open please
--- Dezider Góra <[EMAIL PROTECTED]> wrote: > I always get this error when trying to connect to > the mailbox. I have > installed uw imap server. > > Warning: Couldn't open stream {localhost:143} in > /home/httpd/html/webmail/mailbox.php on line 12 > > Affected line is: > > $connection = IMAP_Open("{localhost:143}", $name, > $psw); Try with : $connection = IMAP_Open("{localhost:143}INBOX", $name, $psw); regards = == Ing. Alejandro Garín Telecom Internet __ Do You Yahoo!? Get email at your own domain with Yahoo! Mail. http://personal.mail.yahoo.com/ -- 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]