Re: [PHP] Placing the masterpassword

2011-11-03 Thread tamouse mailing lists
On Tue, Nov 1, 2011 at 8:24 AM, Florian Müller wrote: > > Hi all > I got a little question about a good application design in PHP. > If I use a mysql connection for example, I have to store my mysql-password > somewhere in the code. If it's just in the mysql-class, that's not that good, > becaus

Re: [PHP] Re: Writing out errors to a file

2011-11-03 Thread Adam Richardson
On Thu, Nov 3, 2011 at 9:04 PM, Jim Giner wrote: > Try reading the manual on "set_error_handler". I've never needed to do > this > kind of thing, but this sure looks like something that could do it. > Basically, I'm imagining that it would open a file handle on some text file > in some folder, th

[PHP] Re: Writing out errors to a file

2011-11-03 Thread Jim Giner
Try reading the manual on "set_error_handler". I've never needed to do this kind of thing, but this sure looks like something that could do it. Basically, I'm imagining that it would open a file handle on some text file in some folder, then append a write of mysql_error() to that file and prob

[PHP] Writing out errors to a file

2011-11-03 Thread Rick Dwyer
Hello all. How do I get PHP to write out any errors or warnings to a text file that I can review and go through to troubleshoot issues? I don't have access to the ini file... so I was hoping for a simple write to a file at the web root. Thanks, --Rick -- PHP General Mailing List (http:

[PHP] PHP 5.3.9RC1 Released for Testing

2011-11-03 Thread Johannes Schlüter
The first release candidates of 5.3.9 was just released for testing and can be downloaded here: http://downloads.php.net/johannes/php-5.3.9RC1.tar.bz2 (md5sum: 5e8564008606edfab6a81137c1daf354) The windows binaries are available at: http://windows.php.net/qa/ This is the first step in the releas

[PHP] session_start(), memcache taking too much resources

2011-11-03 Thread Ing. Branislav Geržo
Hi, I am running high loaded website and I did some profiling, because webservers got high load. PHP Version 5.3.8, running FreeBSD 8.2-STABLE, on lighttpd 1.4.29, running php-fpm on 3 servers xdebug is showing, that calling line "session_start()" is taking too much time, which I am really surpr

[PHP] Google Search Appliance and PHP

2011-11-03 Thread Gates, Jeff
I am a newbie in PHP. I need to create a search using Google's Search Appliance for a site I'm designing but don't have the slightest idea on how to do it. Because I want to incorporate the site's design into the search results page I can't use the GSA's simple page layout wizard. Here's what

Re: [PHP] Exporting large data from mysql to html using php

2011-11-03 Thread Ashley Sheridan
On Wed, 2011-11-02 at 19:47 -0400, Jason Pruim wrote: > Jason Pruim > li...@pruimphotography.com > > > > On Oct 31, 2011, at 7:52 PM, Ashley Sheridan wrote: > > > On Mon, 2011-10-31 at 19:29 -0400, Jason Pruim wrote: > >> > >> Jason Pruim > >> li...@pruimphotography.com > >> > >> > >> > >>