Hi,
I'm using PHP 5.2. I am looking for some library or framework that
can map/generate PHP objects to MySQL database tables. I found
Propel, though a Google search, but it requires me to turn off magic
quotes in my php.ini file and too many of my applications depend on
that setting.
Anyway, your experiences and recommendations are greatly appreciated,
- Dave 5 1535 la***********@gmail.com schrieb:
Hi,
I'm using PHP 5.2. I am looking for some library or framework that
can map/generate PHP objects to MySQL database tables. I found
Propel, though a Google search, but it requires me to turn off magic
quotes in my php.ini file and too many of my applications depend on
that setting.
Are you sure?
I found in the code:
--------------------------------
this->value = $_POST[$varName];
if ( ini_get( 'magic_quotes_gpc' ) )
$this->value = $this->rStripSlashes( $this->value );
--------------------------------
So it will checked, if MQ is on or not. la***********@gmail.com wrote:
Hi,
I'm using PHP 5.2. I am looking for some library or framework that
can map/generate PHP objects to MySQL database tables. I found
Propel, though a Google search, but it requires me to turn off magic
quotes in my php.ini file and too many of my applications depend on
that setting.
Anyway, your experiences and recommendations are greatly appreciated,
- Dave
So, fix your applications. Test for magic quotes as Olaf suggested,
then turn them off.
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp. js*******@attglobal.net
==================
..oO(la***********@gmail.com)
>I'm using PHP 5.2. I am looking for some library or framework that can map/generate PHP objects to MySQL database tables. I found Propel, though a Google search, but it requires me to turn off magic quotes in my php.ini file and too many of my applications depend on that setting.
You should start fixing your applications, because magic quotes will
be completely removed from PHP 6. They never worked properly and won't
prevent SQL injection.
Micha
On Jul 3, 9:53*pm, Olaf Schinkel <tr...@schinkel.tvwrote:
laredotorn...@gmail.com schrieb:Hi,
I'm using PHP 5.2. *I am looking for some library or framework that
can map/generate PHP objects to MySQL database tables. *I found
Propel, though a Google search, but it requires me to turn off magic
quotes in my php.ini file and too many of my applications depend on
that setting.
Are you sure?
I found in the code:
--------------------------------
this->value *= * * * $_POST[$varName];
* * * * * * * * * * * * if ( ini_get( 'magic_quotes_gpc' ) )
* * * * * * * * * * * * * * * * $this->value = $this->rStripSlashes( $this->value );
--------------------------------
So it will checked, if MQ is on or not.
Oh, I hadn't looked at the Propel source code. I just read from their
installation page that it was a requirement for that to be turned
off. So have you used Propel as an ORM tool and is it working well
for you? Thanks, - Dave
On Jul 3, 10:23*pm, "laredotorn...@gmail.com"
<laredotorn...@gmail.comwrote:
Hi,
I'm using PHP 5.2. *I am looking for some library or framework that
can map/generate PHP objects to MySQL database tables. *I found
Propel, though a Google search, but it requires me to turn off magic
quotes in my php.ini file and too many of my applications depend on
that setting.
Anyway, your experiences and recommendations are greatly appreciated,
- Dave
I use Propel with the symfony PHP framework. I think it is excellent
but it does have some drawbacks like limited support for many to many
relationships. Also, if not coded correctly it can make some simple
database query go very slowly due to have to create many objects.
Joins for example are done very slow if not used correctly.
If you do use Propel be sure to read the docs. If done correctly it
can be a blast! This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Allan Bruce |
last post by:
Hi there,
I am wanting to learn c++ better. I can get by in c, and have really just
used c++ as a 'c with classes' approach. I want to learn the
object-oriented approach, STL and streams. ...
|
by: D. Alvarado |
last post by:
Hello,
DOes anyone have a recommendation for some free code to send out
HTML-formatted emails? The code does not have to be cross-browser
compatible.
Thanks for any advice, - Dave
|
by: Peter Brause |
last post by:
Hello,
my stylesheet shows different colors for visited, active and hovered links.
It works fine in IE 6, but in Opera 7 the color for the active link (red
background) is never shown. How to...
|
by: Marc Ouellette |
last post by:
Hi Everyone,
I need to get some components for some tasks and would like to know what you
recommend.
-Chart Control(Dundas,ComponentOne,xceed chart?)
-Flow Chart(Diagram Control)
-Image...
|
by: Markus Dehmann |
last post by:
Is there a good book on STL containers and how to use the STL efficiently,
in general?
I often don't know if a map, hash_map (not STL?), or vector would be more
efficient. Or list? What is a...
|
by: PCHOME |
last post by:
Hi!
I have a Waite Group Turbo C++ bilble(1990) ISBN 0-672-22742-8.
I like it because it gives me examples of most of C library I may use.
But that book is a little bit old. Does anyone know any...
|
by: msnews.microsoft.com |
last post by:
I am a C# programmer with a little C++ experience from a few years ago. I
need to write some ISAPI filters and extensions to run on the latest version
of IIS on .net Server 2003. Can anyone...
|
by: ted |
last post by:
Hi,
I have been programming for about 5 years mainly on client apps that are
standalone and n-tier. I have very little experience with web development.
I need a recommendation on a book that...
|
by: Ratbert |
last post by:
Hi,
I'm searching for a portable library, providing some sort of
parsing functionality. The library should help to encode and
decodes command phrases. Commands are plain text C-strings,...
|
by: Sudo Nim |
last post by:
Does anyone have a recommendation for a good javascript encryption library?
Preferably AES and well tested.
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
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,...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
|
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...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
| |