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

2011-10-31 Thread Ashley Sheridan
On Mon, 2011-10-31 at 19:29 -0400, Jason Pruim wrote: > Jason Pruim > li...@pruimphotography.com > > > > On Oct 31, 2011, at 7:11 PM, Jim Lucas wrote: > > > On 10/24/2011 5:50 PM, Jason Pruim wrote: > >> Now that I've managed to list 3 separate programming languages and > >> somewhat tie it b

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

2011-10-31 Thread Jason Pruim
Jason Pruim li...@pruimphotography.com On Oct 31, 2011, at 7:11 PM, Jim Lucas wrote: > On 10/24/2011 5:50 PM, Jason Pruim wrote: >> Now that I've managed to list 3 separate programming languages and somewhat >> tie it back into php here's the question... >> >> I have about 89 million records

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

2011-10-31 Thread Jim Lucas
On 10/24/2011 5:50 PM, Jason Pruim wrote: > Now that I've managed to list 3 separate programming languages and somewhat > tie it back into php here's the question... > > I have about 89 million records in mysql... the initial load of the page > takes 2 to 3 minutes, I am using pagination, so I h

Re: [PHP] Dependency Injection containers

2011-10-31 Thread jean-baptiste verrey
Hi, you could simply write your own, you simply need a class or a function that given an identifier such as "database.connector" would return you an instance of it, and and maybe handle singletons. It just a question of taste of how you want it to be. I have just posted a few days ago my implemen

[PHP] Dependency Injection containers

2011-10-31 Thread robert mena
Hi, I am trying to avoid reinventing the wheel so I am looking for dependency injection containers that work with PHP 5.2. So Symphony2 and ZF2 DI are out of question. I found this http://www.potstuck.com/2010/09/09/php-dependency-a-php-dependency-injection-framework/ but I was wondering if an

[PHP] Novice: PHP array by reference question (by C++ programmer)

2011-10-31 Thread Louis Huppenbauer
-- Forwarded message -- From: Louis Huppenbauer Date: 2011/10/31 Subject: Re: [PHP] Novice: PHP array by reference question (by C++ programmer) To: Manish Gupta You have to assign the value by reference too public function __construct(& $bar) { $this->_bar = &$bar; }

[PHP] Novice: PHP array by reference question (by C++ programmer)

2011-10-31 Thread Manish Gupta
I have a class that takes as input, an array by reference and stores it in a member variable. A method in this class later modifies the member variable (which contains reference to the array). When I access the local variable that was passed by reference to the constructor of this class object, I

[PHP] Novice: PHP array by reference question (by C++ programmer)

2011-10-31 Thread Manish Gupta
I have a class that takes as input, an array by reference and stores it in a member variable. A method in this class later modifies the member variable (which contains reference to the array). When I access the local variable that was passed by reference to the constructor of this class object,

Re: [PHP] Array has `trailing comma`, why not the same for function parameter list?

2011-10-31 Thread Daniel Brown
On Sun, Oct 30, 2011 at 08:47, Nam Gi VU wrote: > It is convenient to have a trailing comma when defining an array - so as > easy to add/remove code to add/remove an entry to the array > > array( >    'key00' => 'value00', >    'key01' => 'value01', >    'key02' => 'value02', >    ... > ) > > I su

Re: [PHP] Novice question

2011-10-31 Thread John Allsopp
> cURL is the best one in my experience, but you have to manage security > yourself. Meaning: Remember to escape/encode data. > > http://php.net/manual/en/book.curl.php Thanks everyone, appreciated, I'll investigate .. Cheers J >> -- >> 01723 376477 >> >> Cost-free marketing: http://www.flowmark

Re: [PHP] function.session-start in Webmaster Tools

2011-10-31 Thread Rick Dwyer
But those pages, when loaded, do not display any PHP errors. Only webmaster tools is showing the function.session-start in a link to that page. When I looked up hte meaning of session-start function, I found others who have indicated that white space in front of the session tag can cause

Re: [PHP] function.session-start in Webmaster Tools

2011-10-31 Thread Stuart Dallas
On 30 Oct 2011, at 20:30, Rick Dwyer wrote: > Hello all. > > Not sure just how much of this is PHP related, but hoping someone has come > across this before. > > I Google's webmaster tools for a site I work on, they list more than 100 > crawl errors for pages with URL's as follows: > > http:/