php-general Digest 13 Aug 2012 07:01:20 -0000 Issue 7919

2012-08-13 Thread php-general-digest-help
php-general Digest 13 Aug 2012 07:01:20 - Issue 7919 Topics (messages 318672 through 318678): Re: PHP session variables 318672 by: Marco Behnke 318674 by: Tedd Sperling Is PHP unsuitable for HTML5 WebSockets? 318673 by: BRIAN M. FITZPATRICK 318678 by: Jim

php-general Digest 13 Aug 2012 19:09:34 -0000 Issue 7920

2012-08-13 Thread php-general-digest-help
php-general Digest 13 Aug 2012 19:09:34 - Issue 7920 Topics (messages 318679 through 318686): Re: Is PHP unsuitable for HTML5 WebSockets? 318679 by: Matijn Woudt 318680 by: Adam Richardson Re: How to best set per-site PHP session storage under suPHP/WordPress?

Re: [PHP] Is PHP unsuitable for HTML5 WebSockets?

2012-08-13 Thread Jim Lucas
On 8/12/2012 12:06 PM, BRIAN M. FITZPATRICK wrote: I've looked all over the net and I have been unable to find a concrete answer to this question. I am about to start development on a web application that will need to provide real-time updates of data to user's browsers. WebSockets are ideal

Re: [PHP] Is PHP unsuitable for HTML5 WebSockets?

2012-08-13 Thread Matijn Woudt
On Mon, Aug 13, 2012 at 9:01 AM, Jim Lucas li...@cmsws.com wrote: On 8/12/2012 12:06 PM, BRIAN M. FITZPATRICK wrote: I've looked all over the net and I have been unable to find a concrete answer to this question. I am about to start development on a web application that will need to provide

Re: [PHP] Is PHP unsuitable for HTML5 WebSockets?

2012-08-13 Thread Adam Richardson
I have read in some places on the net that PHP is not suitable for WebSockets due to it's nature. That WebSockets are designed for long running threads/processes which each maintain multiple event-driven connections, whereas PHP was designed around the short-lived single process procedural

[PHP] Re: How to best set per-site PHP session storage under suPHP/WordPress?

2012-08-13 Thread Ian
On 13/08/2012 06:01, Philip Amadeo Saeli wrote: I'm administering WordPress sites under suPHP on a CentOS LAMP server and would like to know how I can set PHP to keep the session files under the WP user's dir without having do duplicate the entire php.ini file for each WP site while still

Re: [PHP] Repeated New Object Requests

2012-08-13 Thread Robert Cummings
On 12-08-10 02:24 PM, Al wrote: Off the subject a bit. What does PHP do with repeated new classes, e.g. $mime = new Mail_mime Are they simply ignored or are additional new instances created. PHP won't let you duplicate function names. Hi Al, New isn't defining a class, it's a request for

Re: [PHP] PHP session variables

2012-08-13 Thread Robert Cummings
On 12-08-10 04:42 PM, Tedd Sperling wrote: On Aug 10, 2012, at 1:21 PM, Ege Sertçetin sertce...@itu.edu.tr wrote: Hi. My question will maybe out of topic, I'm sorry. How can you know that one way will be much slower than other one? I mean, how can I learn which function is faster before I

Re: [PHP] Reading class variable value always returns NULL

2012-08-13 Thread Robert Cummings
On 12-08-12 08:32 AM, Reto Kaiser wrote: Hi, So I have this strange situation where I assign a classvariable a value, but when I read the value it is NULL. The class has one variable declared: = class A { private $_cookies; } = That is a private instance variable NOT

Re: [PHP] Reading class variable value always returns NULL

2012-08-13 Thread Volmar Machado
It's only a hint, but You start checking if the Object Ids are the same or not. 2012/8/13 Robert Cummings rob...@interjinn.com: On 12-08-12 08:32 AM, Reto Kaiser wrote: Hi, So I have this strange situation where I assign a classvariable a value, but when I read the value it is NULL. The

[PHP] Re: [PHP-WEBMASTER] php error

2012-08-13 Thread Daniel Brown
On Mon, Aug 13, 2012 at 2:32 PM, tomas lagro tomas.la...@hotmail.com wrote: Hello, my name is tomas, i'm having a problem and i've checked a lot of times the script and it is not that, because in my local xampp server it works correctly, the issue is that i have a form on my webpage and when

Re: [PHP] Re: [PHP-WEBMASTER] php error

2012-08-13 Thread As'ad Djamalilleil
can we see the code of the form ? On Mon, Aug 13, 2012 at 11:09 AM, Daniel Brown danbr...@php.net wrote: On Mon, Aug 13, 2012 at 2:32 PM, tomas lagro tomas.la...@hotmail.com wrote: Hello, my name is tomas, i'm having a problem and i've checked a lot of times the script and it is not that,

[PHP] about unlink

2012-08-13 Thread Tolga
hi, i have a very annoying problem with unlink() i use win7 and wamp server (apache 2.2.22 php 5.4.3) when i try to use unlink: SCREAM: Error suppression ignored for Warning: unlink(aaa/bbb.ccc): Permission denied in C:\wamp\www\ddd\index.php on line /34/ neither the folder, nor the files

Re: [PHP] Re: How to best set per-site PHP session storage under suPHP/WordPress?

2012-08-13 Thread Philip Amadeo Saeli
* Ian php_l...@fishnet.co.uk [2012-08-13 09:50:51 +0100]: On 13/08/2012 06:01, Philip Amadeo Saeli wrote: I'm administering WordPress sites under suPHP on a CentOS LAMP server and would like to know how I can set PHP to keep the session files under the WP user's dir without having do

[PHP] WebCodeSniffer : a web interface for PHP_CodeSniffer

2012-08-13 Thread EasyPHP
Hi I'm developing the WAMP server EasyPHP (www.easyphp.org) and I'm using PHP_CodeSniffer since a while. A lot of users of EasyPHP are confused when it comes to use a program with CLI like PHP_CodeSniffer. Besides, we always try to promote good practices and coding standards. So, I've developed a