Re: [PHP] cache_control_limiter

2010-07-06 Thread Alexandre SIMON
If you want to manipulate cache control on PHP side, you must set PHP directive "session.cache_limiter" to an empty value. Be then sure to always set cache control headers to the right value according what your scripts do. 2010/7/6 Guus Ellenkamp > I'm trying to set the cache_control_limiter to

Re: [PHP] What's wrong in this function? Does not work for me.

2010-07-03 Thread Alexandre Simon
Hello, multiple things: - escape your values: 1. if some of the user input contains '\'' for instance, your query is not well formed 2. if some evil user want to do anything with your DB, he can do it => See mysql_escape_string or PDO prepared statements - Use "else" part of the if statement

[PHP] Re: Curious PHP cli output in context of bash completion ?

2010-01-28 Thread Alexandre SIMON
ill do not know what exactly differs and makes the problem appear. Maybe some PHP expert could orient me to the right direction (I'm not a Guru of compilation, especiallly for PHP ...) ? Thanks 2010/1/27 Alexandre Simon > Hello, > > I'm pretty "sure" (in r

Re: [PHP] Curious PHP cli output in context of bash completion ?

2010-01-27 Thread Alexandre Simon
Le 28 janv. 2010 à 00:42, Ashley Sheridan a écrit : On Wed, 2010-01-27 at 23:27 +0100, Rene Veerman wrote: > My initial goal is to complete a PHP script, using the PHP script itselfs as function for bash completion. Mechanism that works perfectly on some other platforms (with different PHP AND b

Re: [PHP] Curious PHP cli output in context of bash completion ?

2010-01-27 Thread Alexandre Simon
as newline ? > > On Wed, Jan 27, 2010 at 10:46 PM, Alexandre Simon wrote: >> Hello, >> >> I'm pretty "sure" (in realty I do not understand a lot about the problem... >> :( ) this is a distribution or a version problem but maybe some PHP/bash >

[PHP] Curious PHP cli output in context of bash completion ?

2010-01-27 Thread Alexandre Simon
Hello, I'm pretty "sure" (in realty I do not understand a lot about the problem... :( ) this is a distribution or a version problem but maybe some PHP/bash expert here could have some idea and tell me what I could try to solve the problem described here : http://ubuntuforums.org/showthread.ph