php-general Digest 27 Mar 2013 07:35:21 -0000 Issue 8175

2013-03-27 Thread php-general-digest-help
php-general Digest 27 Mar 2013 07:35:21 - Issue 8175 Topics (messages 320690 through 320693): Re: target question 320690 by: Matijn Woudt 320691 by: Jim Giner 320692 by: Matijn Woudt MOSSCon in Louisville in May! Submit your proposal this week! 320693 by:

php-general Digest 28 Mar 2013 00:39:07 -0000 Issue 8176

2013-03-27 Thread php-general-digest-help
php-general Digest 28 Mar 2013 00:39:07 - Issue 8176 Topics (messages 320694 through 320704): What is an easiest way to port a PHP Web App to Android? 320694 by: Kevin Peterson 320695 by: Ashley Sheridan Re: MOSSCon in Louisville in May! Submit your proposal this week!

[PHP] MOSSCon in Louisville in May! Submit your proposal this week!

2013-03-27 Thread John List
Preparations are in full swing for the very first Midwest Open Source Software Conference (MOSSCon), to be held in Louisville on May 18-19. Your help in spreading the word and helping us fill out our schedule of presentations and workshops would be appreciated. This is going to be a great

Re: [PHP] What is an easiest way to port a PHP Web App to Android?

2013-03-27 Thread Ashley Sheridan
Kevin Peterson qh.res...@gmail.com wrote: I have a web application written in PHP. It have been running for several years. Now I want to run it as a stand-alone application on an Android smartphone or tablet. How can I do it? There are simple web servers you can run on Android, and also

[PHP] Re: MOSSCon in Louisville in May! Submit your proposal this week!

2013-03-27 Thread Jim Giner
On 3/27/2013 3:35 AM, John List wrote: Preparations are in full swing for the very first Midwest Open Source Software Conference (MOSSCon), to be held in Louisville on May 18-19. Your help in spreading the word and helping us fill out our schedule of presentations and workshops would be

Re: [PHP] Re: MOSSCon in Louisville in May! Submit your proposal this week!

2013-03-27 Thread Sorin Badea
You can unsubscribe. On Wed, Mar 27, 2013 at 3:07 PM, Jim Giner jim.gi...@albanyhandball.comwrote: On 3/27/2013 3:35 AM, John List wrote: Preparations are in full swing for the very first Midwest Open Source Software Conference (MOSSCon), to be held in Louisville on May 18-19. Your help in

[PHP] __autoload not work in cgi?

2013-03-27 Thread Radek Krejča
Hello, I have installed lighttp with php support. It looks like, that function __autoload doesnt work in cgi mode (in the manual I only see, that it should not work in cli mode). I have this code fragment: function __autoload($class) { if(File_Exists(PATH_EXTRAS_CLASSES.$class..php)) {

Re: [PHP] __autoload not work in cgi?

2013-03-27 Thread Sorin Badea
Did you tried with spl_autoload_register ? http://php.net/manual/en/function.spl-autoload-register.php Kind regards, Sorin! On Wed, Mar 27, 2013 at 4:28 PM, Radek Krejča radek.kre...@starnet.czwrote: Hello, I have installed lighttp with php support. It looks like, that function __autoload

RE: [PHP] __autoload not work in cgi?

2013-03-27 Thread Radek Krejča
spl_autoload_register is working. Thank you. So - __autoload isnt already supported? Radek Did you tried with spl_autoload_register ? http://php.net/manual/en/function.spl-autoload-register.php Kind regards,

Re: [PHP] __autoload not work in cgi?

2013-03-27 Thread Sorin Badea
__autoload is kinda old. It allows you a single autoload callback and so on. You can google on this topic to find more details . Sorin! On 03/27/2013 04:40 PM, Radek Krejča wrote: spl_autoload_register is working. Thank you. So - __autoload isnt already supported? Radek Did you tried with

[PHP] wrong open_basedir warning

2013-03-27 Thread Markus Falb
in my test.php I put file_exists('/usr/share/wordpress/wp-config.php'); this throws an error Warning: file_exists(): open_basedir restriction in effect. File(/usr/share/wordpress/wp-config.php) is not within the allowed path(s): (/var/www/blog:/usr/share/wordpress) in /var/www/blog/www/test.php

[PHP] Re: wrong open_basedir warning

2013-03-27 Thread Markus Falb
On 27.3.2013 17:00, Markus Falb wrote: Warning: file_exists(): open_basedir restriction in effect. File(/usr/share/wordpress/wp-config.php) is not within the allowed path(s): (/var/www/blog:/usr/share/wordpress) in /var/www/blog/www/test.php on line 2 I found it out.

[PHP] magic_quotes_gpc stays on even when disabled in php.ini

2013-03-27 Thread Madan Thapa
Hi, I installed php 5.3.23 recently on a CentOS sever and magic_quotes_gpc stays on even when disabled in php.ini root@server [~]# grep magic_quo /usr/local/php5.3/lib/php.ini ; magic_quotes_gpc ;magic_quotes_gpc = Off magic_quotes_runtime = Off magic_quotes_sybase = Off root@server [~]#

Re: [PHP] magic_quotes_gpc stays on even when disabled in php.ini

2013-03-27 Thread Daniel Fenn
I think ;magic_quotes_gpc = Off should be magic_quotes_gpc = Off Then restart apache/php or whatever it is your running Regards, Daniel Fenn On Thu, Mar 28, 2013 at 11:39 AM, Madan Thapa madan.feedb...@gmail.com wrote: Hi, I installed php 5.3.23 recently on a CentOS sever and

Re: [PHP] php, openssl and GOST ciphers

2013-03-27 Thread czirzow
My suggestion is to ensure all the paths to what you use are valid This should help: var_dump('file://'.realpath('./p12.pem')); Does that and the rest of the files Exists? I do hope these files are not in your document root Curt. -- Resistance is futile On Mar 22, 2013, at 12:35 PM, Eugene

Re: [PHP] Compiler for the PHP code

2013-03-27 Thread czirzow
As suggested look at APC, although I expect the problem is not with php but how you wrote things, it could be database related. If you need to compile php to make things faster, you have a problem outside of php Curt. On Mar 19, 2013, at 4:46 AM, Kevin Peterson qh.res...@gmail.com wrote: My