php-general Digest 6 Aug 2011 08:16:04 -0000 Issue 7431

2011-08-06 Thread php-general-digest-help
php-general Digest 6 Aug 2011 08:16:04 - Issue 7431 Topics (messages 314391 through 314394): Re: using pg_query in a function not working 314391 by: Jim Lucas 314392 by: Marc Fromm Re: PHP frameworks 314393 by: Christopher Lee 314394 by: Lester Caine

php-general Digest 7 Aug 2011 03:50:52 -0000 Issue 7432

2011-08-06 Thread php-general-digest-help
php-general Digest 7 Aug 2011 03:50:52 - Issue 7432 Topics (messages 314395 through 314398): Unanticipated characters returned from multidimensional array 314395 by: David Green 314396 by: Shawn McKenzie Re: testing 314397 by: Judson Vaughn Intentionally generate

Re: [PHP] PHP frameworks

2011-08-06 Thread Lester Caine
Christopher Lee wrote: I am new to PHP and wanted to ask a question which I think is related to this discussion thread. What are you referring to when using the term PHP Framework? I downloaded Eclipse-JEE with PHP Development Tools. Would this development environment constitute a PHP

[PHP] Unanticipated characters returned from multidimensional array

2011-08-06 Thread David Green
Hullo list Like so many of those asking questions I'm new to PHP (in fact, new to programming altogether - I'm a medical doctor in my other life). Some of what I show below is very likely redundant, so any pointers (beyond the question asked) would be most welcome I'm really struggling in the

[PHP] Re: Unanticipated characters returned from multidimensional array

2011-08-06 Thread Shawn McKenzie
On 08/06/2011 08:09 AM, David Green wrote: foreach($tableNews as $headline = $text){ $new_text = $text['text']; echo br; echo $new_text; foreach ($text as $soucre = $description){ $new_description = $description['name']; echo pre; echo

Re: [PHP] Re: testing

2011-08-06 Thread Judson Vaughn
Regardless, I am the beneficiary of someone's good work all these years and I, for one, appreciate it. Jud On 8/5/11 4:45 AM, David Robley wrote: Daniel Brown wrote: On Thu, Aug 4, 2011 at 10:39, Jim Ginerjim.gi...@albanyhandball.com wrote: Mailing list, newsgroup, either one -

[PHP] Intentionally generate an Internal Server Error

2011-08-06 Thread Ghodmode
I'd like to use PHP to intentionally generate an Error 500 Internal Server Error. Here's the problem. My site has this error intermittently and I'd like to monitor the error log to figure out the problem. Unfortunately, I don't get to see the actual Apache error log and my hosting provider's

Re: [PHP] Intentionally generate an Internal Server Error

2011-08-06 Thread shiplu
On Sun, Aug 7, 2011 at 9:50 AM, Ghodmode ghodm...@ghodmode.com wrote: I'd like to use PHP to intentionally generate an Error 500 Internal Server Error. Here's the problem. My site has this error intermittently and I'd like to monitor the error log to figure out the problem. Unfortunately,

Re: [PHP] Intentionally generate an Internal Server Error

2011-08-06 Thread Ghodmode
On Sun, Aug 7, 2011 at 12:05 PM, shiplu shiplu@gmail.com wrote: One way would be, write a php extension and perform segfaults there. Unfortunately, I don't know how to write an extension or intentionally perform a segmentation fault. If I did know how to intentionally perform a

Re: [PHP] Intentionally generate an Internal Server Error

2011-08-06 Thread shiplu
You can search for a buggy extension that has known issue of segmentation faults. -- Shiplu Mokadd.im Follow me, http://twitter.com/shiplu Innovation distinguishes between follower and leader

Re: [PHP] Intentionally generate an Internal Server Error

2011-08-06 Thread shiplu
By the way, You can also try sending proper html page and http header that will copy the Internal Server Error. That is completely possible in php. Just use the header() function. -- Shiplu Mokadd.im My talks, http://talk.cmyweb.net Follow me, http://twitter.com/shiplu Innovation distinguishes

Re: [PHP] Intentionally generate an Internal Server Error

2011-08-06 Thread Ghodmode
On Sun, Aug 7, 2011 at 12:38 PM, shiplu shiplu@gmail.com wrote: By the way, You can also try sending proper html page and http header that will copy the Internal Server Error. That is completely possible in php. Just use the header() function. Actually, I learned from reading a previous