[PHP] Re: Unanticipated characters returned from multidimensional array

2011-08-06 Thread David Green
On Sat, Aug 6, 2011 at 4:44 PM, Shawn McKenzie wrote: > > I haven't look through it long enough to find out about the characters, > but try this: > > foreach($tableNews as $headline => $text){ > echo ""; >echo $text['text']; >echo ""; >echo $text['user']['name']; >echo ""; > }

Re: [PHP] Intentionally generate an "Internal Server Error"

2011-08-06 Thread Ashley Sheridan
Tamara Temple wrote: > >On Aug 6, 2011, at 10:50 PM, Ghodmode 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. >

Re: [PHP] Intentionally generate an "Internal Server Error"

2011-08-06 Thread Tamara Temple
On Aug 6, 2011, at 10:50 PM, Ghodmode 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, I don't get to see the act

Re: [PHP] Intentionally generate an "Internal Server Error"

2011-08-06 Thread Ghodmode
On Sun, Aug 7, 2011 at 12:38 PM, shiplu 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 message on this

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 be

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 Ghodmode
On Sun, Aug 7, 2011 at 12:05 PM, shiplu 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 segmentation fault, wouldn't

Re: [PHP] Intentionally generate an "Internal Server Error"

2011-08-06 Thread shiplu
On Sun, Aug 7, 2011 at 9:50 AM, Ghodmode 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, I don't get to

[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 er

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 Giner wrote: Mailing list, newsgroup, either one - something's changed in the last week o

[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 ""; > echo "$new_text"; > foreach ($text as $soucre => $description){ > $new_description = $description['name']; > echo ""; > echo "$ne

[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

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