[PHP] Method argument context resolution syntax

2011-11-25 Thread Dmitry
Hello, everybody. What do you think about this? https://bugs.php.net/bug.php?id=60372

Re: [PHP] php-cli

2010-03-14 Thread Dmitry Ruban
would have tried to execute the contents of the file and the shell would have given several error messages. I repeat: is there more than one way to run a php script from the cli? On *nix, you can add #!/usr/bin/php as first line and make file executable (chmod +x). -- Dmitry -- PHP General

Re: [PHP] php-cli

2010-03-14 Thread Dmitry Ruban
Rick Pasotto wrote: On Mon, Mar 15, 2010 at 01:32:24PM +1300, Dmitry Ruban wrote: Rick Pasotto wrote: I repeat: is there more than one way to run a php script from the cli? On *nix, you can add #!/usr/bin/php as first line and make file executable (chmod +x). Functionally the same. php

Re: [PHP] Division by 0

2010-03-10 Thread Dmitry Ruban
to work. PHP_SELF does not include query string. So it is safe to use it this way. Regards, Dmitry -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] XMLRPC issue

2010-03-03 Thread Dmitry Ruban
advice will be much appreciated. Currently I have temporary workaround for this: $xml = str_replace(array('lt;','gt;'), array('#60;','#62;'), $xml); but would like to fix xmlrpc somehow. Regards, Dmitry Ruban -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

[PHP] Get full url

2005-01-24 Thread Dmitry
How? Dont tell me about simple solutions such as $_SERVER[HTTPS] . $_SERVER[REMOTE_ADDR] . $_SERVER[SERVER_PORT] . $_SERVER[PHP_SELF] . $_SERVER[QUERY_STRING] I want get really good solution. Thanks. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

[PHP] gzip functions and error

2005-01-22 Thread Dmitry
Hello! How disable error messages when i send incorrect data into gzip* extract functions, such as gzinflate or gzuncompress? For example: function _pack($data) { $data = serialize($data); $data = gzdeflate($data,9); $data = base64_encode($data); $data = urlencode($data); return $data; } #

[PHP] Re: Classes and parents.

2005-01-22 Thread Dmitry
Thanks, but I think that this code more easy. class a { function say() { echo A; } function run() { $this-say(); } } class b { function say() { echo B; } function run() { $a = new a; $a-run(); } } $obj = new b; $obj-run(); -- PHP General Mailing List (http://www.php.net/) To

[PHP] Classes and parents.

2005-01-21 Thread Dmitry
Greetings. If i run this code (php5): -- class a { function say() { echo A; } function run() { $this-say(); } } class b extends a { function say() { echo B; } function run() { parent::run(); } } $obj = new b; $obj-run();

[PHP] sessions handling

2004-06-02 Thread Dmitry Ruban
Hi folks, We have two instances of apache/mod_php running on 80 and 443 ports accordingly. For both mod_php we have the same dir (/tmp) to store session information. Is it possible to mix sessions data up if user switches between 80 and 443 ports? I mean what if when user surfs over 80 port and

[PHP] lstdc++ problem

2002-12-29 Thread Dmitry Demczuk
is under /usr/lib. Does anyone knows how to solve this? Thanks and cheers -- Dmitry -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] session.save_path problem again

2002-08-09 Thread Dmitry Beransky
4.1.2/Apache 1.3.26 on MacOSX 10.1.5 Server. Any thoughts? Thanks Dmitry -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] checking url

2001-04-24 Thread Dmitry
Hello all. Can you tell me, how can I check url address? Also I want to know error, which return. Dmitry -- 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

[PHP] Printing

2001-04-22 Thread Dmitry
Hello, all! Do you know, can I print some page using PHP or JavaScript? Dmitry. [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