[PHP] database credentials with ini_set() question?

2010-03-12 Thread dsiembab01
I know that phpinfo() will show the pass and username as plain text, but other than that what are the security reasons for not using ini_set() for database credentials? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Want to learn to work with Zend Framework?

2010-03-05 Thread dsiembab01
NOw if they would cover the Zend Library I might pay a dollar. Daniel Brown wrote: On Thu, Mar 4, 2010 at 14:59, mrfroasty wrote: Looks expensive, definately NO Then do not reply. It was an offer to the community at large, not just you and the other top-poster. ;-P -- PHP General Ma

[PHP] Re: Want to learn to work with Zend Framework?

2010-03-04 Thread dsiembab01
no Debbie Otterstetter wrote: Zend has an upcoming Framework: Fundamentals class that some of you may be interested in. You can find more information at this webpage: http://www.zend.com/en/services/training/course-catalog/zend-framework Class dates/times: March 15, 16, 17, 18, 19, 22, 2

Re: [PHP] Re: Memory investigation

2010-03-04 Thread dsiembab01
you could read this http://xdebug.org/docs/execution_trace and then parse trace files to get the memory usage create a global to store user functions, I think user function do not populate get_defined_functions(); until the function is called; $t = get_defined_functions(); $userFunctions = $t['u

Re: [PHP] Re: Memory investigation

2010-03-03 Thread dsiembab01
couple questions Larry is this application composed of classes or straight up no holes barred procedural code? la...@garfieldtech.com wrote: That's not really what I'm after. Let me try an example: function foo($id) { static $foos = array(); if (empty($foos[$id]) { $foos[$id] = load_

[PHP] Re: Database design

2010-03-03 Thread dsiembab01
a good tool for mapping mysql databases is mysql-workbench. the real question is how much normalization is normal? http://wb.mysql.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: Memory investigation

2010-03-03 Thread dsiembab01
function check_memory_usage(&$memory) { $memory[] = memory_get_usage(); return $memory; } something like this? you can put it wherever you like and returns an array for further processing. You could optionally add a second argument to set the index to a name and check if the name exists