[PHP] PHP, PDO and MS-SQL ?

2011-12-09 Thread Andreas
Hi, could someone tell me what I need to install and how to configure everything so that I can connect with PHP and PDO to a MS-SQL server? I have an OpenSuse 11.4 installation. I added the Apache-PHP repository and upgraded to PHP 5.3.8. php-mssql, -php-odbc, libfreetds and the freetds-tools

Re: [PHP] Question about performance between for iteration and extension function

2011-12-09 Thread Matijn Woudt
On Fri, Dec 9, 2011 at 5:04 PM, Lin Yo-An wrote: > Hi folks, > > I am in doubt of this, I thought pure php iteration is slower than calling > join or other extension functions. > > but the result shows:  https://gist.github.com/b2a94c94ca66a55814d4 > > Using Pure PHP for iteration is faster than u

[PHP] offline practice

2011-12-09 Thread saeed ahmed
i have learned a bit to work php-mysql but i want to practice to know more.at this moment i only can do primary works.creating users,inserting data,viewing very simple reports.i want to practice any sample php_mysql site offline.any help please. thanks

Re: [PHP] End of session clean-up

2011-12-09 Thread Andre Majorel
On 2011-12-03 18:14 +, Stuart Dallas wrote: > Writing a session handler is pretty straightforward. I wrote > about how to implement one to use MySQL a while back which I'm > sure you could easily adapt to your needs. > > http://stut.net/2008/07/20/mysql-sessions/ Thank you. That's too much c

[PHP] Question about performance between for iteration and extension function

2011-12-09 Thread Lin Yo-An
Hi folks, I am in doubt of this, I thought pure php iteration is slower than calling join or other extension functions. but the result shows: https://gist.github.com/b2a94c94ca66a55814d4 Using Pure PHP for iteration is faster than using join function. why ? because of the php runtime typecastin

Re: [PHP] Re: Think I found a PHP bug

2011-12-09 Thread Lester Caine
Rasmus Lerdorf wrote: This is fixed in PHP 5.4 by completely dropping support for the TZ environment variable. PHP will always use UTC unless you explicitly set it to something. It won't matter which timezone the system is running in. This is the only reliable way to always have consistent behavi