Re: [PHP] caching problem

2011-06-27 Thread Fatih P.
On Tue, Jun 28, 2011 at 7:40 AM, Nilesh Govindarajan wrote: > On 06/28/2011 10:56 AM, Fatih P. wrote: > > Hi guys, > > > > the code files are being cached. and modifications in methods are skipped > > and not executed. is there any parameter that i can pass it from ini > file? > > this has been so

Re: [PHP] caching problem

2011-06-27 Thread Nilesh Govindarajan
On 06/28/2011 10:56 AM, Fatih P. wrote: > Hi guys, > > the code files are being cached. and modifications in methods are skipped > and not executed. is there any parameter that i can pass it from ini file? > this has been so annoying for me. restarting apache, windows, etc does not > even help. im

[PHP] caching problem

2011-06-27 Thread Fatih P.
Hi guys, the code files are being cached. and modifications in methods are skipped and not executed. is there any parameter that i can pass it from ini file? this has been so annoying for me. restarting apache, windows, etc does not even help. im running apache 2.2.19, php ts 5.3.6 on windows 2003

Re: [PHP] header function odd behavior

2011-06-27 Thread Nilesh Govindarajan
On 06/28/2011 09:10 AM, H Rao wrote: > Hi, > > I am trying to understand odd(different) behavior of the header function > under two different environments. > > Here is the code which I am trying to execute from two different servers > > header ("Set-Cookie: c1=value1;path=/; domain=.domain.com");

[PHP] header function odd behavior

2011-06-27 Thread H Rao
Hi, I am trying to understand odd(different) behavior of the header function under two different environments. Here is the code which I am trying to execute from two different servers When executed from server1(OS X), both cookies are set in browser, but when executed from server2(Linux), only

[PHP] Re: help for memcached Segmentation fault

2011-06-27 Thread xucheng
sorry, the right $config['memcached'] variable is $config['memcached']=array(array('host'=>'localhost', port=11211, persistent=1,weight=1)); 2011/6/28 xucheng : > Hi all, >       I wrap pecl-memcache into a class used as a sigleton class . > the code is : > ===

[PHP] help for memcached Segmentation fault

2011-06-27 Thread xucheng
Hi all, I wrap pecl-memcache into a class used as a sigleton class . the code is : ==code=== class Mem{ private static $_instance = null ;//singlton

Re: [PHP] Benchmark two functions against each other?

2011-06-27 Thread Stuart Dallas
On Mon, Jun 27, 2011 at 6:39 PM, Scott Baker wrote: > On 06/27/2011 10:33 AM, Stuart Dallas wrote: > > > > You're not going to find a service that will let you do that - allowing > > arbitrary PHP to be entered into a website to be executed is far too > > dangerous. > > I would have thought so to

Re: [PHP] Benchmark two functions against each other?

2011-06-27 Thread Scott Baker
On 06/27/2011 10:33 AM, Stuart Dallas wrote: > > You're not going to find a service that will let you do that - allowing > arbitrary PHP to be entered into a website to be executed is far too > dangerous. I would have thought so too but I found these: http://codepad.viper-7.com/ http://codepad.o

Re: [PHP] Benchmark two functions against each other?

2011-06-27 Thread Stuart Dallas
On Mon, Jun 27, 2011 at 5:34 PM, Scott Baker wrote: > I have functions that I'd like to benchmark and compare. What are the > best PHP libraries or websites to do that? Something like jsperf.com but > for PHP would be ideal. > You're not going to find a service that will let you do that - allowi

Re: [PHP] PHP as CGI-CLI on FreeBSD/Apache22

2011-06-27 Thread Nilesh Govindarajan
On 06/27/2011 10:13 PM, Grant Peel wrote: > Hi all, > > Up to this point we have been running PHP as an Apache 22 module. > > We would like to rebuild PHP over the next few weeks to run it as a CGI/CLI > PHPSuexec system. > > I am hoping there may be others that have made this migration and might

[PHP] PHP as CGI-CLI on FreeBSD/Apache22

2011-06-27 Thread Grant Peel
Hi all, Up to this point we have been running PHP as an Apache 22 module. We would like to rebuild PHP over the next few weeks to run it as a CGI/CLI PHPSuexec system. I am hoping there may be others that have made this migration and might have a step by step how to (so far research shows it s

Re: [PHP] How to implement Authentication of UNIX users?

2011-06-27 Thread Stuart Dallas
On Mon, Jun 27, 2011 at 5:27 PM, With No Name wrote: > SSH need arround 2-7 seconds to respond to a new connect. > Not PHP-related, but you might want to try adding "UseDNS no" to your sshd_config file on the server. SSH connection delays are commonly caused by SSHd doing an rDNS lookup for a no

[PHP] Benchmark two functions against each other?

2011-06-27 Thread Scott Baker
I have functions that I'd like to benchmark and compare. What are the best PHP libraries or websites to do that? Something like jsperf.com but for PHP would be ideal. - Scott -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] How to implement Authentication of UNIX users?

2011-06-27 Thread With No Name
On Mon, June 27, 2011 5:41 pm, vikash.i...@gmail.com wrote: > This may help: http://php.net/manual/en/book.ssh2.php Unfortunately not, I have only one server on my DSL and using ssh on the same host has a poor performance. I have tried it already and each download or directory change takes ages..

Re: [PHP] Re: Php filter validate url

2011-06-27 Thread Plamen Ivanov
On Mon, Jun 27, 2011 at 11:34 AM, Jim Lucas wrote: > On 6/27/2011 8:25 AM, Plamen Ivanov wrote: >> On Mon, Jun 27, 2011 at 11:14 AM, Shawn McKenzie >> wrote: >>> On 06/27/2011 10:01 AM, Plamen Ivanov wrote: On Sun, Jun 26, 2011 at 5:44 PM, Shawn McKenzie wrote: > > On 06/26/2

Re: [PHP] How to implement Authentication of UNIX users?

2011-06-27 Thread vikash . iitb
This may help: http://php.net/manual/en/book.ssh2.php Thanks, Vikash Kumar -- http://vika.sh On 27 June 2011 21:07, With No Name wrote: > Hello, > > I try to code a Webinterface to access my Server @home which has a > couple of UNIX users. > > However, I like to have only one website where use

[PHP] How to implement Authentication of UNIX users?

2011-06-27 Thread With No Name
Hello, I try to code a Webinterface to access my Server @home which has a couple of UNIX users. However, I like to have only one website where users must go to whatch the content of there Folders, which mean, I need a maping which is not the problem but how must I make the Login/Passwd process, t

Re: [PHP] Re: Php filter validate url

2011-06-27 Thread Jim Lucas
On 6/27/2011 8:25 AM, Plamen Ivanov wrote: > On Mon, Jun 27, 2011 at 11:14 AM, Shawn McKenzie wrote: >> On 06/27/2011 10:01 AM, Plamen Ivanov wrote: >>> On Sun, Jun 26, 2011 at 5:44 PM, Shawn McKenzie >>> wrote: On 06/26/2011 12:31 PM, Adam Tong wrote: > Hi, > > I wanted tu

Re: [PHP] Re: Php filter validate url

2011-06-27 Thread Plamen Ivanov
On Mon, Jun 27, 2011 at 11:14 AM, Shawn McKenzie wrote: > On 06/27/2011 10:01 AM, Plamen Ivanov wrote: >> On Sun, Jun 26, 2011 at 5:44 PM, Shawn McKenzie wrote: >>> >>> On 06/26/2011 12:31 PM, Adam Tong wrote: Hi, I wanted tu use php filters for validation to avoid regular expresio

Re: [PHP] Re: Php filter validate url

2011-06-27 Thread Shawn McKenzie
On 06/27/2011 10:01 AM, Plamen Ivanov wrote: > On Sun, Jun 26, 2011 at 5:44 PM, Shawn McKenzie wrote: >> >> On 06/26/2011 12:31 PM, Adam Tong wrote: >>> Hi, >>> >>> I wanted tu use php filters for validation to avoid regular expresions. >>> Is it possible that FILTER_VALIDATE_URL only checks if th

Re: [PHP] Re: Php filter validate url

2011-06-27 Thread Plamen Ivanov
On Sun, Jun 26, 2011 at 5:44 PM, Shawn McKenzie wrote: > > On 06/26/2011 12:31 PM, Adam Tong wrote: > > Hi, > > > > I wanted tu use php filters for validation to avoid regular expresions. > > Is it possible that FILTER_VALIDATE_URL only checks if the string has > > http:// and do not check for the

Re: [PHP] Memory limit Problem

2011-06-27 Thread Richard Quadling
On 27 June 2011 14:16, Graham Drabble wrote: > On 23 Jun 2011 usene...@drabble.me.uk (Graham Drabble) wrote in > news:xns9f0d980579291grahamdrabbleline...@id-77355.user.dfncis.de: > >> On 23 Jun 2011 ja...@nixsecurity.org wrote in >> news:23a261c.efc7a3a4b4a0468ab221437b2018e...@webmail.lomag.net:

Re: [PHP] Memory limit Problem

2011-06-27 Thread Lester Caine
Graham Drabble wrote: From phpinfo() > > upload_max_filesize 800M 800M > post_max_size 1000M 1000M > > (fwiw the file I'm uploading is ~85MB) Any ideas from anyone? FWIW, the setup works on another server but doesn't work on this server. The upload_max_filesize, post_max_size and memory_lim

Re: Re: [PHP] Re: [PHP-DB] Re: radio form submission

2011-06-27 Thread Tim Streater
On 27 Jun 2011 at 13:18, Steve Staples wrote: > On Sat, 2011-06-25 at 16:11 -0500, Tamara Temple wrote: >> Well played, sir, well played. I think we should go through all the >> xkcd comics that relate to programming somehow and insert them in the >> php.net documentation :) >> >> > Tamara, kin

Re: [PHP] Memory limit Problem

2011-06-27 Thread Graham Drabble
On 23 Jun 2011 usene...@drabble.me.uk (Graham Drabble) wrote in news:xns9f0d980579291grahamdrabbleline...@id-77355.user.dfncis.de: > On 23 Jun 2011 ja...@nixsecurity.org wrote in > news:23a261c.efc7a3a4b4a0468ab221437b2018e...@webmail.lomag.net: > >> >> Check the value of the upload_max_filesi

Re: [PHP] asynchronous launch of a script

2011-06-27 Thread Richard Quadling
On 27 June 2011 03:42, Tamara Temple wrote: > How do I launch a php script from another running php script asynchronously? I'm a windows user. One of the things I wanted to to was to create non-blocking process which I could communicate with using PHP. I use pecl/wincache to allow me to read/wri

Re: [PHP] Re: [PHP-DB] Re: radio form submission

2011-06-27 Thread Steve Staples
On Sat, 2011-06-25 at 16:11 -0500, Tamara Temple wrote: > On Jun 24, 2011, at 1:35 PM, Richard Quadling wrote: > > On 24 June 2011 18:23, Tamara Temple wrote: > >> On Jun 24, 2011, at 10:28 AM, Richard Quadling wrote: > >>> On 24 June 2011 15:44, Vitalii Demianets > >>> wrote: > And furthe

Re: [PHP] Re: [PHP-DB] Re: radio form submission

2011-06-27 Thread Richard Quadling
On 25 June 2011 22:11, Tamara Temple wrote: > On Jun 24, 2011, at 1:35 PM, Richard Quadling wrote: >> >> On 24 June 2011 18:23, Tamara Temple wrote: >>> >>> On Jun 24, 2011, at 10:28 AM, Richard Quadling wrote: On 24 June 2011 15:44, Vitalii Demianets wrote: > > And furthe

Re: [PHP] Re: asynchronous launch of a script

2011-06-27 Thread Stuart Dallas
On Monday, 27 June 2011 at 07:10, Tamara Temple wrote: > > On Jun 26, 2011, at 11:52 PM, Jim Lucas wrote: > > > On 6/26/2011 7:58 PM, Jim Giner wrote: > > > You mean - you want a second thread to run independently of your > > > current > > > "running" script? A wonderful thing to do and helpful

Re: [PHP] Re: Php filter validate url

2011-06-27 Thread Tim Streater
On 27 Jun 2011 at 00:15, Richard Riley wrote: > In addition your content type in your post is incorrect. > > Your header contains > > Content-Type: multipart/alternative; > boundary=00151747b53cf2927204a6a46ebb > > But its not multipart. This happens a lot in this group and I dont > experience i