Re: [PHP-WIN] Relatively simple PHP function to block sql injection

2009-08-21 Thread klaus triendl
n contain quoted values ($_POST, $_GET, $_COOKIE). This is what I do in my scripts - you can be sure at any place you use the function that the value passed is definitely unquoted. Klaus Triendl -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-WIN] Re: php_enchant not loadable

2009-08-21 Thread klaus triendl
n error: > > "Unable to load dynamic library 'C:\PHP\ext\php_enchant.dll' - The > specified module could not be found" > > All other extension are loaded. The extension is in the defined > extension-dir and the settings in php.ini are ok. Does the module depe

[PHP-WIN] PHPSESSID appended completely wrong with session.use_trans_sid enabled

2009-08-20 Thread klaus triendl
due to my tests, that output buffering somehow interferes badly with automatically inserting the session ID. I'm using php-5.2.10 on windows together with apache and IIS. Any help is welcome, I can provide a script reproducing the problem. Klaus Triendl -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-WIN] PHPSESSID appended completely wrong with session.use_trans_sid enabled

2009-08-20 Thread klaus triendl
Hi, it seems to me that I've hit a bug related to the session.use_trans_sid feature when output buffering (output_buffer) is on and configured to be less than the content-size sent to the browser. A self-made template system produces a php script as a string which gets then eval'd. The produced s