473,545 Members | 1,956 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

[zend framework] Zend_Db::factor y

Hello,
when i declare a db connection using

try {
$db = Zend_Db::factor y('Pdo_Mysql', array(
'host' ='localhost',
'username' ='xx',
'password' ='yy',
'dbname' ='zz'
));
$db->getConnection( );
} catch (Zend_Db_Adapte r_Exception $e) {
die("Zend_Db_Ad apter_Exception : ".$e->getMessage() );
} catch (Zend_Exception $e) {
die("Zend_Excep tion".$e->getMessage() );
}

is it possible, in your opinion, to set that i want to use case
sensitive comparisons for all the queries?

Thanks,
Renzo
Dec 12 '07 #1
1 6065
Greetings, RenzoG.
In reply to Your message dated Wednesday, December 12, 2007, 12:20:35,
when i declare a db connection using
try {
$db = Zend_Db::factor y('Pdo_Mysql', array(
'host' ='localhost',
'username' ='xx',
'password' ='yy',
'dbname' ='zz'
));
$db->getConnection( );
} catch (Zend_Db_Adapte r_Exception $e) {
die("Zend_Db_Ad apter_Exception : ".$e->getMessage() );
} catch (Zend_Exception $e) {
die("Zend_Excep tion".$e->getMessage() );
}
is it possible, in your opinion, to set that i want to use case
sensitive comparisons for all the queries?
Force Your tables to use *-binary collation. But it is MySQL question.
What is Your PHP question?
--
Sincerely Yours, AnrDaemon <an*******@free mail.ru>

Dec 12 '07 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
1599
by: HakonB | last post by:
Hi all I get an exception when trying to deserialize a simple configuration file using XML Serialization. The very long stacktrace can be seen at the bottom of this message. I've see other messages related a similar error but none of the solutions suggested are valid in case :/ I have tracked the problem down to the compilation of the...
17
3295
by: Andreas Huber | last post by:
What follows is a discussion of my experience with .NET generics & the ..NET framework (as implemented in the Visual Studio 2005 Beta 1), which leads to questions as to why certain things are the way they are. ***** Summary & Questions ***** In a nutshell, the current .NET generics & .NET framework make it sometimes difficult or even...
8
254
by: Craig Buchanan | last post by:
I've seen design patterns for class factories that work well to create (fetch) objects, but I haven't seen anything about how to persist the class' data when it has changed. Is this done thru the factory? What about security? I'm assuming that the factory should enforce security. Has anyone seen examples of this? Thanks, Craig...
6
3298
by: Nindi | last post by:
5 Files Singleton.h The Singleton Factory.h The factory creating new objects. The Base class of the hierachy stores a typelist identifying the signature of the constructors to be called in the hierachy by the Factory StaticFactory Returning refernences to a static object .. typelist as above.
5
1321
by: Sir Galahad | last post by:
Hi all! This is the first message here... I'have a question for you. I never played with php frameworks and surfing the web I discovered those "characters": - Seagull - Blueshoes - P4A (PHP For Applications)
2
1869
by: Larry | last post by:
Hello, I am about to write an app for Pocket PC 2003 / Windows CE / Mobile 5 (don't know which yet) from which I need to query both SQL Server Express 2005 and SQLCe. I would like to be able to use a provider factory to not have to duplicate code. ADO 2.0 has DbProviderFactory, but it is not available in the .NET Compact framework. I...
0
2054
by: JoeT | last post by:
Hi... OK...I'm having difficulty understanding a problem with installing Zend Studio 5.5 on an Intel Mac. Prior to the install, I had the zend /library installed, and was able to successfully run Zend_Db commands against a local mysql server (5.1) from the commandline (e.g. php testdb.php). This stuff ran just fine. The code is simply:
3
4601
by: suresh_rai | last post by:
Hello I am hoping someone can give me very needed help. I am wanting some C+ + code for 'C++ Abstract Factory'. I need code to be free. I am been learning Design patterns. I found some code on web but dont know which is one is ok. http://programmerjoe.com/2007/03/18/the-abstract-factory-pattern-in-c/...
1
2161
by: Puja Patel | last post by:
hi all, am not sure if this is the right place for this post. I created a website on .net framework 2.0 using visual studio 2005 and web service software factory. I created all my business components and data access classes using web service software factory. Now my problem is there is a new version of web service software factory...
0
7484
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7415
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
7928
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
0
7775
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
1
5344
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
3470
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3451
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1030
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
726
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.