Re: prepared statement

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



so only benefit for use prepared statement in Web environment is to prevent
SQL 
injection?

regards
 

chris smith-9 wrote:
> 
> ctx2002 wrote:
>> 
>> I mean for each different requests/connection how can i use same prepared
>> statements object that was 
>> generated by PDO lib/mysql Server.
> 
> You can't.
> 
> Resources/connections are done per request and can't be shared - it's
> done that way by design.
> 
> -- 
> Postgresql & php tutorials
> http://www.designmagick.com/
> 
> -- 
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/prepared-statement-tp18123270p18124946.html
Sent from the PHP - General mailing list archive at Nabble.com.


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux