Re: [PHP] Re: utf-8 ?

2009-04-27 Thread Robert Cummings
On Mon, 2009-04-27 at 20:56 +0600, 9el wrote: > > I looked at http://developer.loftdigital.com/blog/php-utf-8-cheatsheet > > which suggests this: > > ALTER DATABASE db_name > > CHARACTER SET utf8 > > DEFAULT CHARACTER SET utf8 > > COLLATE utf8_general_ci > > DEFAULT COLLATE utf8_general_ci > > ; >

Re: [PHP] Change color of anything in double/single quotes

2009-04-26 Thread Robert Cummings
On Sun, 2009-04-26 at 22:52 +0530, Sudheer Satyanarayana wrote: > Robert Cummings wrote: > > I was about to say the same thing *lol*. tis true though, the class > > should be "doubleQuoted" or something similar. What happens when they > > decide it should be blue

Re: [PHP] Change color of anything in double/single quotes

2009-04-26 Thread Robert Cummings
On Sun, 2009-04-26 at 11:40 -0400, tedd wrote: > At 9:47 AM -0400 4/26/09, Robert Cummings wrote: > >On Sun, 2009-04-26 at 14:49 +0100, Ashley Sheridan wrote: > > > On Sun, 2009-04-26 at 09:41 -0400, tedd wrote: > > > > > ?> > > > > > >

Re: [PHP] Change color of anything in double/single quotes

2009-04-26 Thread Robert Cummings
On Sun, 2009-04-26 at 14:49 +0100, Ashley Sheridan wrote: > On Sun, 2009-04-26 at 09:41 -0400, tedd wrote: > > At 1:40 PM -0400 4/25/09, Andrew Hucks wrote: > > >If I have something like $string = '"hello" there'; (the word hello is > > >in double quotes, if you can't see it), how would I output it

Re: [PHP] Multiple return statements in a function.

2009-04-23 Thread Robert Cummings
On Thu, 2009-04-23 at 10:14 -0400, tedd wrote: > At 2:19 PM +0100 4/23/09, Tony Marston wrote: > >"tedd" wrote in message > > > It's called "Structured programming" -- one way in and one way out of a > >> function. > >> > >> There are, of course, exceptions where it might help others reviewing

Re: [PHP] What was the unix timestamp of last week, Monday 12:00 am?

2009-04-12 Thread Robert Cummings
On Sun, 2009-04-12 at 20:12 -0600, René Fournier wrote: > I'm trying to write a [simple] function, such that: > > function earlier_unix_timestamp () { > $now = mktime(); > [...] > return $then; // e.g., 1238983107 > } > > Anyone have something already made? There seem t

RE: [PHP] Workflow app for software

2009-04-01 Thread Robert Cummings
| > | > On Wed, Apr 1, 2009 at 1:38 PM, | > Robert Cummings | > wrote: | &

Re: [PHP] Workflow app for software

2009-04-01 Thread Robert Cummings
On Wed, 2009-04-01 at 13:42 -0500, haliphax wrote: > On Wed, Apr 1, 2009 at 1:38 PM, Robert Cummings wrote: > > On Wed, 2009-04-01 at 13:30 -0500, haliphax wrote: > >> On Wed, Apr 1, 2009 at 11:53 AM, bruce wrote: > >> > and haliphax... > >> > > &

Re: [PHP] Workflow app for software

2009-04-01 Thread Robert Cummings
On Wed, 2009-04-01 at 13:30 -0500, haliphax wrote: > On Wed, Apr 1, 2009 at 11:53 AM, bruce wrote: > > and haliphax... > > > > i specifically sent the reply to only you.. you then felt the need to reply > > to the list as a whole > > > > hmm.. ok.. this thread is officially dead!! > > > > unle

Re: [PHP] Workflow app for software

2009-04-01 Thread Robert Cummings
On Wed, 2009-04-01 at 11:25 -0500, haliphax wrote: > On Wed, Apr 1, 2009 at 8:33 AM, bruce wrote: > > not another top/side/bottom post thread again!!! > > > > > > > > -Original Message- > > From: haliphax [mailto:halip...@gmail.com] > > Sent: Wednesday, April 01, 2009 5:38 AM > > To: php-g

Re: [PHP] Frameworks / obstinate?

2009-03-23 Thread Robert Cummings
On Mon, 2009-03-23 at 10:43 -0400, tedd wrote: > At 10:24 AM -0400 3/23/09, Robert Cummings wrote: > > > >My point is, just because new techniques and technoloigies > >come out, is in no way a boundary condition on an existing technology's > >lifespan or efficacy in

Re: [PHP] Frameworks / obstinate?

2009-03-23 Thread Robert Cummings
On Mon, 2009-03-23 at 15:58 +0200, Sancar Saran wrote: > On Monday 23 March 2009 12:33:58 Robert Cummings wrote: > > On Mon, 2009-03-23 at 11:52 +0200, Sancar Saran wrote: > > > Probably a bit off topic and > > > > > > The Game is over man. > > > &

Re: [PHP] Frameworks / obstinate?

2009-03-23 Thread Robert Cummings
On Mon, 2009-03-23 at 11:52 +0200, Sancar Saran wrote: > Probably a bit off topic and > > The Game is over man. > > Javascript coming with flank speed. Next generation JS Framworks will take > html generation jobs from server side. > > Whole thing of Server Side MVC and other yada yada was beca

Re: [PHP] Frameworks / obstinate?

2009-03-22 Thread Robert Cummings
On Sun, 2009-03-22 at 10:54 -1000, Daniel Kolbo wrote: > > Hello, > > I changed the subject because I did not want to steal Nitsan's thread. I hope you started a "New" email and didn't just change the subject... otherwise you've hijacked the thread. I can't tell I keep threading off. > There see

Re: [PHP] Select Query with Multiple Optional Values

2009-03-22 Thread Robert Cummings
On Sun, 2009-03-22 at 09:22 +0800, Virgilio Quilario wrote: > >> Trying to find best way to accomplish following scenario. Looking to > >> search > >> inventory through a POST form, have the following optional fields to search > >> by: Product Name, Color, Size, and Status. Search maybe for the

Re: [PHP] mysql_real_escape_string paranoid enough?

2009-03-21 Thread Robert Cummings
On Sat, 2009-03-21 at 15:37 -0700, mike wrote: > 2009/3/21 Nisse Engström : > > > I tend to use the escape functions in very close proximity to > > the actual query, so I don't see a problem with supplying a > > connection identifier. > > Except unless explicitly specified, my applications do not

Re: [PHP] Select Query with Multiple Optional Values

2009-03-21 Thread Robert Cummings
On Sat, 2009-03-21 at 10:30 -0700, ben...@gmail.com wrote: > Trying to find best way to accomplish following scenario. Looking to search > inventory through a POST form, have the following optional fields to search > by: Product Name, Color, Size, and Status. Search maybe for the Product > Name a

Re: [PHP] So called "PHP Expert"

2009-03-21 Thread Robert Cummings
On Sat, 2009-03-21 at 10:48 -0400, tedd wrote: > At 10:37 AM -0400 3/21/09, Robert Cummings wrote: > >On Sat, 2009-03-21 at 09:29 -0400, tedd wrote: > > > From my perspective, once you realize how much > >> you don't know, then you can grow. I am amazed >

Re: [PHP] So called "PHP Expert"

2009-03-21 Thread Robert Cummings
On Sat, 2009-03-21 at 16:40 +0200, Dotan Cohen wrote: > > tedd kids you not. I'm standing at the edge of his ignorance and I just > > droppped a rock... I've yet to hear it hit the bottom. I'll let you know > > when I do. > > That was you?!? I'm stand right here in the middle of ignorance and > BA

Re: [PHP] So called "PHP Expert"

2009-03-21 Thread Robert Cummings
On Sat, 2009-03-21 at 09:29 -0400, tedd wrote: > At 12:27 AM +0200 3/21/09, “•ÈýÏÝ“•ÂÔ wrote: > > > >Help me find something to say to him - I am not so good at that kind of > >stuff > > Daniel: > > It's pointless to say anything at all. People who > claim to know everything, probably do -- in th

Re: [PHP] Script Analysis (was Conclusion of "use strict"...)

2009-03-20 Thread Robert Cummings
On Fri, 2009-03-20 at 11:47 +0100, Pierre Lilliman wrote: > I have been using same program for some (not very long time), and I find it > very useful, although it has some annoying things (inability to work with all > kinds of include expressions). Still I think every serious PHP developer > sho

Re: [PHP] Web Development/Application Analysis

2009-03-20 Thread Robert Cummings
On Fri, 2009-03-20 at 11:34 +0300, OOzy Pal wrote: > Hello, > > I have just hired a remote PHP programmer. His main job is web > development and applications. > > I have few concerns, I would be happy if someone can point me to the > right direction. > >1. How can I provide him the requireme

RE: [PHP] Smarty Tips and Techniques

2009-03-20 Thread Robert Cummings
On Thu, 2009-03-19 at 22:54 -0400, Bob McConnell wrote: > From: Robert Cummings > >On Thu, 2009-03-19 at 12:14 -0400, Bob McConnell wrote: > >> From: Bastien Koert > >> > On Thu, Mar 19, 2009 at 11:06 AM, Bob McConnell > wrote: > >> > > >> &

Re: [PHP] Smarty Tips and Techniques

2009-03-19 Thread Robert Cummings
On Thu, 2009-03-19 at 18:05 -0700, Michael A. Peters wrote: > Robert Cummings wrote: > > On Thu, 2009-03-19 at 16:27 -0700, Michael A. Peters wrote: > >> Marc Christopher Hall wrote: > >>> The following comment is not intended to be helpful > >>

Re: [PHP] Smarty Tips and Techniques

2009-03-19 Thread Robert Cummings
On Thu, 2009-03-19 at 16:27 -0700, Michael A. Peters wrote: > Marc Christopher Hall wrote: > > The following comment is not intended to be helpful > > > > *smacks head on desk repeatedly...* > > > > > > This comment is.. > > > > I would hazard to say that if you are unwilling or unable to g

RE: [PHP] Smarty Tips and Techniques

2009-03-19 Thread Robert Cummings
On Thu, 2009-03-19 at 12:14 -0400, Bob McConnell wrote: > From: Bastien Koert > > On Thu, Mar 19, 2009 at 11:06 AM, Bob McConnell wrote: > > > > From: Virgilio Quilario > > >> That looks nice, but how do I get to the point where I can > understand > > >> how to use it? > > >> > >

RE: [PHP] Calendar/Date

2009-03-18 Thread Robert Cummings
On Wed, 2009-03-18 at 11:46 -0400, Bob McConnell wrote: > From: Paul M Foster > > On Tue, Mar 17, 2009 at 08:52:11PM -0700, Jason Todd Slack-Moehrle > wrote: > > > >> Hi All, > >> > >> Does anyone have code and/or advice for how to get get the current > >> week (with a passed current day, say) and

Re: [PHP] preg_replace() question

2009-03-18 Thread Robert Cummings
On Wed, 2009-03-18 at 22:55 +0800, Virgilio Quilario wrote: > > 1. What is the overhead on preg_replace? > > it really depends on your operation. when you think it can be done > using str* functions then go for it as they are much faster than preg* > functions. > > > 2. Is there a better way to s

Re: [PHP] PHP-CLI issue

2009-03-18 Thread Robert Cummings
On Wed, 2009-03-18 at 06:52 -0700, jesse.ha...@arvatousa.com wrote: > private function getSelection() { > > fwrite(STDOUT,"Mode: "); > > $input = strtoupper(fgetc(STDIN)); > > return $input; > > } Use fgets(

RE: [PHP] PHP-CLI issue

2009-03-18 Thread Robert Cummings
On Wed, 2009-03-18 at 07:10 -0700, jesse.ha...@arvatousa.com wrote: > Rob, > > Thanks for the quick reply. I did try that before, but now my issue is > that the if-else section does not recognize the data as being valid. So, > I changed it to fgets(), and reran, this time using valid data. The > i

Re: [PHP] Calendar/Date

2009-03-18 Thread Robert Cummings
On Tue, 2009-03-17 at 20:52 -0700, Jason Todd Slack-Moehrle wrote: > Hi All, > > Does anyone have code and/or advice for how to get get the current > week (with a passed current day, say) and what then end date is at > Saturday. > > So take today: Tuesday March 17, 2009 > > I want to get: >

Re: [PHP] Re: strcmp() versus ==

2009-03-17 Thread Robert Cummings
On Tue, 2009-03-17 at 08:09 +0200, Alpár Török wrote: > 2009/3/17 Shawn McKenzie : > > Shawn McKenzie wrote: > >> Paul M Foster wrote: > >>> I had never completely read over the rules with regard to comparisons in > >>> PHP, and was recently alarmed to find that $str1 == $str2 might not > >>> compa

Re: [PHP] Anyone fancy getting paid to improve my PHP in London?

2009-03-14 Thread Robert Cummings
On Fri, 2009-03-13 at 17:39 -0500, Shawn McKenzie wrote: > Tom Chubb wrote: > > 2009/3/13 Robert Cummings > > > >> On Fri, 2009-03-13 at 17:16 +, Tom Chubb wrote: > >>> Do any experienced PHP programmers in London fancy helping me improve my > >&g

Re: [PHP] Sanitizing Numbers

2009-03-13 Thread Robert Cummings
On Fri, 2009-03-13 at 15:45 -0400, Robert Cummings wrote: > On Fri, 2009-03-13 at 19:09 +, Richard Heyes wrote: > > > ereg > > > > [Gasps and runs off shouting "PCRE"] ... > > You know... Until somewhat recently I preferred POSIX over PCRE... > rat

Re: [PHP] Anyone fancy getting paid to improve my PHP in London?

2009-03-13 Thread Robert Cummings
On Fri, 2009-03-13 at 20:17 +0100, Jochem Maas wrote: > Robert Cummings schreef: > > On Fri, 2009-03-13 at 17:16 +, Tom Chubb wrote: > >> Do any experienced PHP programmers in London fancy helping me improve my > >> PHP? > >> I'd like to know where my c

Re: [PHP] Sanitizing Numbers

2009-03-13 Thread Robert Cummings
On Fri, 2009-03-13 at 19:09 +, Richard Heyes wrote: > > ereg > > [Gasps and runs off shouting "PCRE"] ... You know... Until somewhat recently I preferred POSIX over PCRE... rationale being it's "POSIX" that's a standard!!! But recently I came across some legacy code in a site I maintain that

Re: [PHP] Anyone fancy getting paid to improve my PHP in London?

2009-03-13 Thread Robert Cummings
On Fri, 2009-03-13 at 17:16 +, Tom Chubb wrote: > Do any experienced PHP programmers in London fancy helping me improve my > PHP? > I'd like to know where my code could be improved and to be shown how an > experienced programmer would approach a new site. > I'd rather pay the right person a hig

Re: [PHP] Re: [PHP-DEV] How expensive are function_exists() calls?

2009-03-12 Thread Robert Cummings
On Thu, 2009-03-12 at 22:27 -0700, mike wrote: > On Thu, Mar 12, 2009 at 10:10 PM, Robert Cummings > wrote: > > > I thought we covered a question just like this a week ago... yes this > > will not pose a problem for a bytecode cache. > > Apologies. I saw an exa

Re: [PHP] Re: [PHP-DEV] How expensive are function_exists() calls?

2009-03-12 Thread Robert Cummings
On Thu, 2009-03-12 at 21:55 -0700, mike wrote: > For templating ideas ... > > Would bytecode caches (APC) be able to work properly with this: > > function print_something($args, $output = 'html') { > switch($output) { >'iphone': >print_something_iphone($args); >

Re: [PHP] ltrim behavior.

2009-03-12 Thread Robert Cummings
On Thu, 2009-03-12 at 12:46 -0400, tedd wrote: > At 10:18 AM -0400 3/12/09, Steve Holmes wrote: > >On Thu, Mar 12, 2009 at 9:47 AM, tedd > ><tedd.sperl...@gmail.com> wrote: > > > > > >Tedd, > >Just because I'm a nit-picker, your comments are wrong. > >Exchange the r

Re: [PHP] Silly question - include vs. eval

2009-03-12 Thread Robert Cummings
On Wed, 2009-03-11 at 19:50 -0500, Shawn McKenzie wrote: > Robert Cummings wrote: > > On Wed, 2009-03-11 at 16:16 -0500, Shawn McKenzie wrote: > >> Shawn McKenzie wrote: > >>> Robert Cummings wrote: > >>>> On Wed, 2009-03-11 at 13:20 -0500, Shawn

Re: [PHP] Silly question - include vs. eval

2009-03-11 Thread Robert Cummings
On Wed, 2009-03-11 at 16:16 -0500, Shawn McKenzie wrote: > Shawn McKenzie wrote: > > Robert Cummings wrote: > >> On Wed, 2009-03-11 at 13:20 -0500, Shawn McKenzie wrote: > >>> Robert Cummings wrote: > >>>> On Wed, 2009-03-11 at 12:19 -0500, Shawn McKen

Re: [PHP] ltrim behavior.

2009-03-11 Thread Robert Cummings
On Wed, 2009-03-11 at 15:34 -0400, Robert Cummings wrote: > On Wed, 2009-03-11 at 15:07 -0400, Peter van der Does wrote: > > php > $a='data[options][name]'; > > php > echo ltrim($a,'data['); > > options][name] > > > > Just as I expec

Re: [PHP] ltrim behavior.

2009-03-11 Thread Robert Cummings
On Wed, 2009-03-11 at 15:07 -0400, Peter van der Does wrote: > php > $a='data[options][name]'; > php > echo ltrim($a,'data['); > options][name] > > Just as I expected. > > Next one: > php > $a='options[options][name]'; > php > echo ltrim($a,'options['); > ][name] > > UH, what? > Not exactly what

Re: [PHP] Silly question - include vs. eval

2009-03-11 Thread Robert Cummings
On Wed, 2009-03-11 at 13:20 -0500, Shawn McKenzie wrote: > Robert Cummings wrote: > > On Wed, 2009-03-11 at 12:19 -0500, Shawn McKenzie wrote: > >> Sándor Tamás (HostWare Kft . ) wrote: > >>> Yes, Rob is right. My original question is about the difference between

Re: [PHP] Silly question - include vs. eval

2009-03-11 Thread Robert Cummings
On Wed, 2009-03-11 at 12:19 -0500, Shawn McKenzie wrote: > Sándor Tamás (HostWare Kft . ) wrote: > > Yes, Rob is right. My original question is about the difference between > > the processing of a file-based site with include() OR eval(). In that > > case, if I understood it correctly, the results

Re: [PHP] Silly question - include vs. eval

2009-03-11 Thread Robert Cummings
On Wed, 2009-03-11 at 14:03 +0100, Sándor Tamás (HostWare Kft.) wrote: > Yes, Rob is right. My original question is about the difference between the > processing of a file-based site with include() OR eval(). In that case, if I > understood it correctly, the results are the same. > > But! If the

Re: [PHP] Silly question - include vs. eval

2009-03-11 Thread Robert Cummings
On Wed, 2009-03-11 at 20:49 +0800, Virgilio Quilario wrote: > >> Hi, > >> > >> I wondering what is the difference between include(), and eval(' > >> ?>'.file_get_content().' >> > >> If there is something I should be aware, please, let me know. > > > > Use include since it allows a cache like eAcc

Re: [PHP] Silly question - include vs. eval

2009-03-11 Thread Robert Cummings
On Wed, 2009-03-11 at 08:33 -0400, Robert Cummings wrote: > On Wed, 2009-03-11 at 13:07 +0100, Sándor Tamás (HostWare Kft.) wrote: > > Hi, > > > > I wondering what is the difference between include(), and eval(' > > ?>'.file_get_content().' > >

Re: [PHP] Silly question - include vs. eval

2009-03-11 Thread Robert Cummings
On Wed, 2009-03-11 at 13:07 +0100, Sándor Tamás (HostWare Kft.) wrote: > Hi, > > I wondering what is the difference between include(), and eval(' > ?>'.file_get_content().' > If there is something I should be aware, please, let me know. Use include since it allows a cache like eAccelerator or

Re: [PHP] Re: if elseif elseif elseif....

2009-03-07 Thread Robert Cummings
On Sun, 2009-03-08 at 01:54 +0600, 9el wrote: > > > > > > They probably thought you couldn't handle the responsibility... and if > > you can't think for yourself then they may be right ;) > > > > > Once we have goto, it's a short slide down a slippery slope to setjmp > > > and longjmp. And thence,

Re: [PHP] Re: if elseif elseif elseif....

2009-03-07 Thread Robert Cummings
On Sat, 2009-03-07 at 11:39 -0500, Paul M Foster wrote: > On Sat, Mar 07, 2009 at 05:52:55AM -0500, Robert Cummings wrote: > > > On Sat, 2009-03-07 at 02:12 -0500, Paul M Foster wrote: > > > On Sat, Mar 07, 2009 at 11:29:41AM +1100, Clancy wrote: > > > > > &

Re: [PHP] Re: if elseif elseif elseif....

2009-03-07 Thread Robert Cummings
On Sat, 2009-03-07 at 02:12 -0500, Paul M Foster wrote: > On Sat, Mar 07, 2009 at 11:29:41AM +1100, Clancy wrote: > > > On Fri, 6 Mar 2009 08:53:44 -0500, danbr...@php.net (Daniel Brown) wrote: > > > > >On Fri, Mar 6, 2009 at 00:12, Clancy wrote: > > > > > > > > >Then you'll be happy with

Re: [PHP] Re: if elseif elseif elseif....

2009-03-06 Thread Robert Cummings
On Fri, 2009-03-06 at 08:51 -0600, haliphax wrote: > On Fri, Mar 6, 2009 at 8:46 AM, Robert Cummings wrote: > > On Fri, 2009-03-06 at 08:38 -0600, haliphax wrote: > >> On Fri, Mar 6, 2009 at 8:19 AM, Daniel Brown wrote: > >> > On Fri, Mar 6, 2009 at 09:15,

Re: [PHP] Re: if elseif elseif elseif....

2009-03-06 Thread Robert Cummings
On Fri, 2009-03-06 at 08:54 -0500, Daniel Brown wrote: > On Fri, Mar 6, 2009 at 08:53, Daniel Brown wrote: > > > >Then you'll be happy with the advent of PHP6: > > > >http://php.net/goto > > Uhh yeah, and 5.3 before that even. Duh. I remember the internals debate about 2 or

Re: [PHP] Re: if elseif elseif elseif....

2009-03-06 Thread Robert Cummings
On Fri, 2009-03-06 at 08:38 -0600, haliphax wrote: > On Fri, Mar 6, 2009 at 8:19 AM, Daniel Brown wrote: > > On Fri, Mar 6, 2009 at 09:15, Robert Cummings wrote: > >> > >> I remember the internals debate about 2 or 3 years ago. I was on the pro > >> goto

Re: [PHP] Website on a USB key?

2009-03-06 Thread Robert Cummings
On Fri, 2009-03-06 at 01:40 -0500, Paul M Foster wrote: > On Fri, Mar 06, 2009 at 04:24:24PM +1100, Clancy wrote: > > > I bought some appliance recently, and found that they had thrown in a 2G > > USB key for good > > luck. I guess I ought to be able to put a PHP server plus a copy of my > > webs

Re: [PHP] Re: Question about template systems

2009-03-05 Thread Robert Cummings
On Thu, 2009-03-05 at 03:08 -0800, Michael A. Peters wrote: > Robert Cummings wrote: > > >> > >> function hiddenInput($document,$name,$value) { > >> $input = $document->createElement("input"); > >> $input->setAttribute(&qu

Re: [PHP] Re: Question about template systems

2009-03-05 Thread Robert Cummings
On Thu, 2009-03-05 at 02:04 -0800, Michael A. Peters wrote: > Robert Cummings wrote: > > On Wed, 2009-03-04 at 18:01 -0800, Michael A. Peters wrote: > >> Robert Cummings wrote: > >>> On Wed, 2009-03-04 at 15:21 -0800, Michael A. Peters wrote: > >>>>

Re: [PHP] whoami explanation

2009-03-05 Thread Robert Cummings
On Thu, 2009-03-05 at 08:21 +, Ashley Sheridan wrote: > On Wed, 2009-03-04 at 19:54 -0500, Robert Cummings wrote: > > On Wed, 2009-03-04 at 23:21 +, Ashley Sheridan wrote: > > > On Wed, 2009-03-04 at 18:14 -0500, PJ wrote: > > > > Ashley Sheridan wrote: >

Re: [PHP] Re: Question about template systems

2009-03-05 Thread Robert Cummings
On Wed, 2009-03-04 at 21:42 -0700, Nathan Nobbe wrote: > On Wed, Mar 4, 2009 at 7:01 PM, Michael A. Peters wrote: > > > echoing html involves mixing html and php. > > Using an XML class (like DOMDocument) to build the document does not. > > > ive actually written a little templating system which

Re: [PHP] Re: Question about template systems

2009-03-05 Thread Robert Cummings
On Wed, 2009-03-04 at 18:01 -0800, Michael A. Peters wrote: > Robert Cummings wrote: > > On Wed, 2009-03-04 at 15:21 -0800, Michael A. Peters wrote: > >> Robert Cummings wrote: > >> > >>> To punt what is repeated over and over during runtime to a single &g

Re: [PHP] Re: Question about template systems

2009-03-04 Thread Robert Cummings
On Wed, 2009-03-04 at 15:21 -0800, Michael A. Peters wrote: > Robert Cummings wrote: > > > > > To punt what is repeated over and over during runtime to a single > > compilation phase when building the template target. To simplify the use > > of parameters so that

Re: [PHP] whoami explanation

2009-03-04 Thread Robert Cummings
On Wed, 2009-03-04 at 23:21 +, Ashley Sheridan wrote: > On Wed, 2009-03-04 at 18:14 -0500, PJ wrote: > > Ashley Sheridan wrote: > > > On Wed, 2009-03-04 at 17:46 -0500, Robert Cummings wrote: > > > > > >> On Wed, 2009-03-04 at 21:55 +, Ashley She

Re: [PHP] whoami explanation

2009-03-04 Thread Robert Cummings
On Wed, 2009-03-04 at 23:02 +, Ashley Sheridan wrote: > On Wed, 2009-03-04 at 17:40 -0500, PJ wrote: > > Yuck. But then there are people who are more resistant to crap than > > cockroaches. But we will not outlast them! > > You might try to get informed... > > Unfortunately, Americans are a sad

Re: [PHP] whoami explanation

2009-03-04 Thread Robert Cummings
On Wed, 2009-03-04 at 21:55 +, Ashley Sheridan wrote: > > Whilst we're on the subject, what about cows, pigs and sheep, which are > the biggest contributors to global warming through their, erm, gases? > Global warming is a huge problem, so I call upon all vegetarians to eat > as much meat as p

Re: [PHP] whoami explanation

2009-03-04 Thread Robert Cummings
On Wed, 2009-03-04 at 17:43 -0500, PJ wrote: > Robert Cummings wrote: > > On Wed, 2009-03-04 at 15:48 -0600, Shawn McKenzie wrote: > > > >> Whatever you do, please, please, please, for the love of all that is > >> holy, please, do not

Re: [PHP] whoami explanation

2009-03-04 Thread Robert Cummings
On Wed, 2009-03-04 at 15:48 -0600, Shawn McKenzie wrote: > > Whatever you do, please, please, please, for the love of all that is > holy, please, do not vilify potatoes! ...or the Irish :-) Potatoes are best served sliced into sticks, pan-fried, covered in cheese curds, and then finally doused in

Re: [PHP] whoami explanation

2009-03-04 Thread Robert Cummings
On Wed, 2009-03-04 at 16:16 -0500, PJ wrote: > Shawn McKenzie wrote: > > PJ wrote: > > > >> Daniel Brown wrote: > >> > >>> On Wed, Mar 4, 2009 at 10:42, PJ wrote: > >>> > >>> > Right on. Good comments. > No offense taken and none intended. > I am enoying the list

Re: [PHP] How Much Data Can Be Written to a Database In One Instance?

2009-03-04 Thread Robert Cummings
On Wed, 2009-03-04 at 15:05 -0500, Alice Wei wrote: > Hi, > > I am working on a series of long files that contain 4 or 5 MB each, each of > them is encoded in UTF-8 saved as .dat format. > However, I have noticed that when I do insert statements, the file only > reads up to around 1MB and

Re: [PHP] Re: [PHP-DEV] How expensive are function_exists() calls?

2009-03-04 Thread Robert Cummings
On Wed, 2009-03-04 at 11:45 -0800, mike wrote: > On Wed, Mar 4, 2009 at 4:01 AM, Jochem Maas wrote: > > ..not an internals question me thinks ... redirecting to generals mailing > > list > > Actually, I do think it is somewhat internals related. > > I want to know from the internals/experts ang

Re: [PHP] Re: Question about template systems

2009-03-04 Thread Robert Cummings
On Wed, 2009-03-04 at 12:15 -0700, Nathan Nobbe wrote: > On Wed, Mar 4, 2009 at 11:51 AM, Robert Cummings wrote: > > > On Wed, 2009-03-04 at 12:46 -0600, Shawn McKenzie wrote: > > > Robert Cummings wrote: > > > > On Wed, 2009-03-04 at 10:55 -0600, Shawn McKenzi

Re: [PHP] Re: Question about template systems

2009-03-04 Thread Robert Cummings
On Wed, 2009-03-04 at 12:46 -0600, Shawn McKenzie wrote: > Robert Cummings wrote: > > On Wed, 2009-03-04 at 10:55 -0600, Shawn McKenzie wrote: > >> Robert Cummings wrote: > >>> On Tue, 2009-03-03 at 21:18 -0600, Shawn McKenzie wrote: > >>>> Matthew Crou

Re: [PHP] Re: Question about template systems

2009-03-04 Thread Robert Cummings
On Wed, 2009-03-04 at 10:55 -0600, Shawn McKenzie wrote: > Robert Cummings wrote: > > On Tue, 2009-03-03 at 21:18 -0600, Shawn McKenzie wrote: > >> Matthew Croud wrote: > >>> Hello, > >>> > >>> First post here, I'm in the process of

Re: [PHP] whoami explanation

2009-03-04 Thread Robert Cummings
On Wed, 2009-03-04 at 11:15 -0500, Daniel Brown wrote: > On Wed, Mar 4, 2009 at 10:52, Robert Cummings wrote: > > > > *runs away while lightning bolts strike him over and over* > > Would the sound to accompany this mental image be one of a Daffy > Duck or Woody Wo

Re: [PHP] whoami explanation

2009-03-04 Thread Robert Cummings
> Daniel Brown wrote: > > The way I see it, life is little more than a game played in a > > dream; win or lose, it's still going to end, so enjoy it while it > > lasts. Speak for yourself THERE CAN BE ONLY ONE!!! *chops off Dan's head* *runs away while lightning bolts strike him over an

Re: [PHP] Re: Question about template systems

2009-03-04 Thread Robert Cummings
On Tue, 2009-03-03 at 21:18 -0600, Shawn McKenzie wrote: > Matthew Croud wrote: > > Hello, > > > > First post here, I'm in the process of learning PHP , I'm digesting a > > few books as we speak. > > I'm working on a content heavy website that provides a lot of > > information, a template system w

Re: [PHP] Re: Can't set expect.timeout

2009-03-03 Thread Robert Cummings
On Tue, 2009-03-03 at 14:49 -0500, Clement Yui-Wah Lee wrote: > Dear friends, > > I am still hoping to get an answer to this question (see > below). Kindly please see if you can run the test on your site. > > Any insight is very much welcome! > > Clement > > Clement Yui-Wah Lee wrote: > > Hi,

Re: [PHP] Cache engines in a multi-tenant environment (a bit long)

2009-03-03 Thread Robert Cummings
On Tue, 2009-03-03 at 11:41 -0800, Damon Miller wrote: > > My question then becomes the following: Is there a cache engine > available which can store multiple (different) copies of a source file > and serve them only to the appropriate request? Perhaps a better way > to > describe this would be

Re: [PHP] whoami explanation

2009-03-03 Thread Robert Cummings
On Tue, 2009-03-03 at 12:17 -0500, Daniel Brown wrote: > On Tue, Mar 3, 2009 at 12:13, PJ wrote: > >> > > Let's not get too personnal here... it was meant to blow a kiss of > > appreciation to all... ;-) > > I may not be gay, but I love my gay friends... and I do not mean in the > > way Jimmy Car

Re: [PHP] Re: whoami explanation

2009-03-03 Thread Robert Cummings
On Tue, 2009-03-03 at 11:27 -0500, PJ wrote: > Shawn McKenzie wrote: > > PJ wrote: > > > >> This really needs some explanation > >> I found this on the web: > >> > >> with it there was the comment "the direction of those single-quotes > >> matters" > >> (WHY ?) > >> and it works > >> > >>

Re: [PHP] whoami explanation

2009-03-03 Thread Robert Cummings
On Tue, 2009-03-03 at 11:03 -0500, PJ wrote: > > ok, ok, I found it but you guys are assuming that this is something > everybody should know... hell, I've been tinkering with programming and > unix etc. for many, many years and this is the first time I ran into > back quotes. > SORRY! You're not t

Re: [PHP] possible session bug - Mantis Bug Tracker

2009-03-03 Thread Robert Cummings
On Tue, 2009-03-03 at 11:01 -0500, Edsall, William (WJ) wrote: > Hello list! > I'm having a strange problem with php after installing Mantis Bug > Tracker. I'm not sure if this is a Mantis bug or a PHP bug but I'm > leaning toward PHP. > > Here's what's going on. When I view an issue in Mantis,

Re: [PHP] whoami explanation

2009-03-03 Thread Robert Cummings
On Tue, 2009-03-03 at 10:57 -0500, PJ wrote: > Per Jessen wrote: > > PJ wrote: > > > > > >> This really needs some explanation > >> I found this on the web: > >> > >> with it there was the comment "the direction of those single-quotes > >> matters" (WHY ?) and it works > >> > >> > > >

Re: [PHP] whoami explanation

2009-03-03 Thread Robert Cummings
On Tue, 2009-03-03 at 10:42 -0500, PJ wrote: > This really needs some explanation > I found this on the web: > > with it there was the comment "the direction of those single-quotes matters" > (WHY ?) > and it works > > But this (_*FROM THE PHP MANUAL***_ * - exec()* executes the given > /com

Re: [PHP] Javascript question

2009-03-02 Thread Robert Cummings
On Mon, 2009-03-02 at 16:11 -0600, Boyd, Todd M. wrote: > Before some of you newbies feel like being heroes and jump all over me: > > I KNOW THIS IS A PHP-RELATED LIST. IF YOU DON'T LIKE MY QUESTION, DON'T > ANSWER IT. > > Now that that's out of the way... I have a Javascript question (and > mayb

Re: [PHP] A puzzler (well, for me at least)

2009-03-02 Thread Robert Cummings
On Mon, 2009-03-02 at 22:30 +0100, Jochem Maas wrote: > Robert Cummings schreef: > > On Thu, 2009-02-26 at 15:50 +0100, Ondrej Kulaty wrote: > >> Your answer is neither relevant nor funny. :-| > > > > It was very relevant. You cannot easily ascertain the time at

RE: [PHP] file locking...

2009-03-01 Thread Robert Cummings
On Sun, 2009-03-01 at 10:05 -0800, bruce wrote: > hi rob... > > what you have written is similar to my initial approach... my question, and > the reason for posting this to a few different groups.. is to see if someone > has pointers/thoughts for something much quicker... > > this is going to han

RE: [PHP] file locking...

2009-03-01 Thread Robert Cummings
On Sun, 2009-03-01 at 09:09 -0800, bruce wrote: > hi rob... > > here's the issue in more detail.. > > i have multiple processes that are generated/created and run in a > simultaneous manner. each process wants to get XX number of files from the > same batch of files... assume i have a batch of 50

Re: [PHP] Re: "use strict" or similar in PHP?

2009-03-01 Thread Robert Cummings
On Sun, 2009-03-01 at 09:57 -0500, Robert Cummings wrote: > On Sun, 2009-03-01 at 09:48 -0500, tedd wrote: > > At 9:21 AM -0500 3/1/09, Robert Cummings wrote: > > >On Sun, 2009-03-01 at 08:36 -0500, tedd wrote: > > >> The OP asked: > > >> > > >&

Re: [PHP] Re: "use strict" or similar in PHP?

2009-03-01 Thread Robert Cummings
On Sun, 2009-03-01 at 09:48 -0500, tedd wrote: > At 9:21 AM -0500 3/1/09, Robert Cummings wrote: > >On Sun, 2009-03-01 at 08:36 -0500, tedd wrote: > >> The OP asked: > >> > >> >Is there in PHP something like "use strict" from perl? I find it pret

Re: [PHP] Re: "use strict" or similar in PHP?

2009-03-01 Thread Robert Cummings
On Sun, 2009-03-01 at 08:36 -0500, tedd wrote: > The OP asked: > > >Is there in PHP something like "use strict" from perl? I find it pretty > >annoying to need to run script over and over again just to find out that I > >made typo in variable name. > > And I've been waiting for an answer myself,

Re: [PHP] file locking...

2009-03-01 Thread Robert Cummings
On Sat, 2009-02-28 at 21:46 -0800, bruce wrote: > Hi. > > Got a bit of a question/issue that I'm trying to resolve. I'm asking this of > a few groups so bear with me. > > I'm considering a situation where I have multiple processes running, and > each process is going to access a number of files i

Re: [PHP] Re: "use strict" or similar in PHP?

2009-03-01 Thread Robert Cummings
On Sat, 2009-02-28 at 18:57 -0600, Shawn McKenzie wrote: > Stuart wrote: > > 2009/2/28 Shawn McKenzie > > > >> Robert Cummings wrote: > >>> On Sat, 2009-02-28 at 00:11 +, Ashley Sheridan wrote: > >>>> On Fri, 2009-02-27 at 14:32 -0500, Robe

Re: [PHP] A puzzler (well, for me at least)

2009-02-28 Thread Robert Cummings
On Sat, 2009-02-28 at 12:35 -0500, Daniel Brown wrote: > On Thu, Feb 26, 2009 at 09:50, Ondrej Kulaty wrote: > > Your answer is neither relevant nor funny. :-| > > And your response wasn't welcome. So there, everyone's even. I'm even?? You sure? People been telling me my entire life that I'

Re: [PHP] Re: "use strict" or similar in PHP?

2009-02-28 Thread Robert Cummings
On Sat, 2009-02-28 at 09:04 -0600, Shawn McKenzie wrote: > Robert Cummings wrote: > > On Sat, 2009-02-28 at 00:11 +, Ashley Sheridan wrote: > >> On Fri, 2009-02-27 at 14:32 -0500, Robert Cummings wrote: > >>> On Sat, 2009-0

Re: [PHP] Re: "use strict" or similar in PHP?

2009-02-28 Thread Robert Cummings
On Sat, 2009-02-28 at 00:11 +, Ashley Sheridan wrote: > On Fri, 2009-02-27 at 14:32 -0500, Robert Cummings wrote: > > On Sat, 2009-02-28 at 00:02 +0600, 9el wrote: > > > --- > > > Use FreeOpenSource

Re: [PHP] Re: "use strict" or similar in PHP?

2009-02-27 Thread Robert Cummings
On Fri, 2009-02-27 at 14:32 -0800, Michael A. Peters wrote: > Robert Cummings wrote: > ... the line between the > > definition of interpreted language and compiled language is quite blurry > > these days. > > #include > main() > { > printf("Hello World&

Re: [PHP] Re: "use strict" or similar in PHP?

2009-02-27 Thread Robert Cummings
w.ubuntu.com > -- > > > On Fri, Feb 27, 2009 at 11:46 PM, Robert Cummings wrote: > > > On Fri, 2009-02-27 at 09:28 -0700, LuKreme wrote: > > > On Feb 27, 2009, at 6:12, Hans Schultz wrote: > >

Re: [PHP] Re: "use strict" or similar in PHP?

2009-02-27 Thread Robert Cummings
On Fri, 2009-02-27 at 09:28 -0700, LuKreme wrote: > On Feb 27, 2009, at 6:12, Hans Schultz wrote: > > > Hahahah,I was thinking the same thing > > >> > >> > > > The trouble is most people mean "compile a source file to an > executable binary" when they sat compile. By this measure, PHP does >

<    3   4   5   6   7   8   9   10   11   12   >