[PHP] whoami explanation

2009-03-10 Thread Eduardo
Potatoes: The Instant Recipe
RE: Robert Cummings


Put a washed non peeled medium size potato per person over a oven-plate and
take it to the oven.

When almost done, slice longitudinally and add a piece of hard cheese.

When  cheese melts take the potates from the oven, add salt or whatever
condiment you use, add a litle oil and you have your lunch!


Eduardo
Buenos Aires
24.2 ºC



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] whoami explanation

2009-03-10 Thread Eduardo
Potatoes: The Instant Recipe
RE: Robert Cummings


Put a washed non peeled medium size potato per person over a oven-plate and
take it to the oven.

When almost done, slice longitudinally and add a piece of hard cheese into
the slice.

When  cheese melts take the potates from the oven, add salt or whatever
condiment you use, add a litle oil and you have your lunch!


Eduardo
Buenos Aires
24.2 ºC





-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] whoami explanation

2009-03-10 Thread Paul M Foster
On Tue, Mar 10, 2009 at 12:00:16PM -0300, Eduardo wrote:

 Potatoes: The Instant Recipe
 RE: Robert Cummings
 
 
 Put a washed non peeled medium size potato per person over a oven-plate and
 take it to the oven.
 
 When almost done, slice longitudinally and add a piece of hard cheese.
 
 When  cheese melts take the potates from the oven, add salt or whatever
 condiment you use, add a litle oil and you have your lunch!
 

My mom tried to serve us a meatless meal when I was a kid. After the
outrage of the three boys and dad, that was the last meatless meal she
tried.

Paul

-- 
Paul M. Foster

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] whoami explanation

2009-03-10 Thread 9el
---
Use FreeOpenSourceSoftwares, Stop piracy, Let the developers live. Get
a Free CD of Ubuntu mailed to your door without any cost. Visit :
www.ubuntu.com
--


On Wed, Mar 11, 2009 at 12:34 AM, Paul M Foster pa...@quillandmouse.comwrote:

 On Tue, Mar 10, 2009 at 12:00:16PM -0300, Eduardo wrote:

  Potatoes: The Instant Recipe
  RE: Robert Cummings
 
 
  Put a washed non peeled medium size potato per person over a oven-plate
 and
  take it to the oven.
 
  When almost done, slice longitudinally and add a piece of hard cheese.
 
  When  cheese melts take the potates from the oven, add salt or whatever
  condiment you use, add a litle oil and you have your lunch!
 

 My mom tried to serve us a meatless meal when I was a kid. After the
 outrage of the three boys and dad, that was the last meatless meal she
 tried.


I'm trying to find whoami here :D



 Paul

 --
 Paul M. Foster

 --
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] whoami explanation

2009-03-10 Thread Daniel Brown
On Tue, Mar 10, 2009 at 15:31, 9el le...@phpxperts.net wrote:

 I'm trying to find whoami here :D

You mean to say:

I'm trying to find whyami here.

;-P

-- 
/Daniel P. Brown
daniel.br...@parasane.net || danbr...@php.net
http://www.parasane.net/ || http://www.pilotpig.net/
50% Off All Shared Hosting Plans at PilotPig: Use Coupon DOW1

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] whoami explanation

2009-03-10 Thread Andrew Ballard
On Tue, Mar 10, 2009 at 3:31 PM, 9el le...@phpxperts.net wrote:
 ---
 Use FreeOpenSourceSoftwares, Stop piracy, Let the developers live. Get
 a Free CD of Ubuntu mailed to your door without any cost. Visit :
 www.ubuntu.com
 --


 On Wed, Mar 11, 2009 at 12:34 AM, Paul M Foster 
 pa...@quillandmouse.comwrote:

 On Tue, Mar 10, 2009 at 12:00:16PM -0300, Eduardo wrote:

  Potatoes: The Instant Recipe
  RE: Robert Cummings
 
 
  Put a washed non peeled medium size potato per person over a oven-plate
 and
  take it to the oven.
 
  When almost done, slice longitudinally and add a piece of hard cheese.
 
  When  cheese melts take the potates from the oven, add salt or whatever
  condiment you use, add a litle oil and you have your lunch!
 

 My mom tried to serve us a meatless meal when I was a kid. After the
 outrage of the three boys and dad, that was the last meatless meal she
 tried.


 I'm trying to find whoami here :D

Sorry, but this is a PHP list. If you don't know who you are, we can't
help you.   :-P

Andrew

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] whoami explanation

2009-03-10 Thread Michael A. Peters

Daniel Brown wrote:

On Tue, Mar 10, 2009 at 15:31, 9el le...@phpxperts.net wrote:

I'm trying to find whoami here :D


You mean to say:

I'm trying to find whyami here.


I think I am here therefore I why?

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] whoami explanation

2009-03-05 Thread Ashley Sheridan
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:
On Wed, 2009-03-04 at 17:46 -0500, Robert Cummings wrote:
  
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 possible to rectify this problem! ;)
  
It depends on where you live... for instance the Scotts would say that
the sheep gives the most warmth on a cold night :B
   
Cheers,
Rob.
-- 
http://www.interjinn.com
Application and Templating Framework for PHP
   
   

I'm pretty sure that's the Welsh. The Scots just fill the sheeps'
stomachs with offal and oats and when not cooking this concoction, roll
them down hills for sport...
   
   
Ash
www.ashleysheridan.co.uk
   
   
  
   :-D ;-) :-D ;-) :-D :'( :-D :'(
   
  For the record, I'm actually quite a big fan of Haggis!
 
 Me too :) I grew up in Scotland... that and black pudding (not blood
 pudding though).
 
 Cheers,
 Rob.
 -- 
 http://www.interjinn.com
 Application and Templating Framework for PHP
 
 
What's the difference?


Ash
www.ashleysheridan.co.uk


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



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:
 On Wed, 2009-03-04 at 17:46 -0500, Robert Cummings wrote:
   
 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 possible to rectify this problem! ;)
   
 It depends on where you live... for instance the Scotts would say 
 that
 the sheep gives the most warmth on a cold night :B

 Cheers,
 Rob.
 -- 
 http://www.interjinn.com
 Application and Templating Framework for PHP


 
 I'm pretty sure that's the Welsh. The Scots just fill the sheeps'
 stomachs with offal and oats and when not cooking this concoction, 
 roll
 them down hills for sport...


 Ash
 www.ashleysheridan.co.uk


   
:-D ;-) :-D ;-) :-D :'( :-D :'(

   For the record, I'm actually quite a big fan of Haggis!
  
  Me too :) I grew up in Scotland... that and black pudding (not blood
  pudding though).

Black pudding is a mealy concoction consisting of meat, and spices, and
blood (I guess... unless I got something mixed up as a kid). Blood
pudding is a gelatinized puddle of blood that is disgusting. Maybe it's
a regional thing... but I bought blood pudding here in Canada one time
and I was quite disgusted after I cooked it up and it wasn't what I ate
as a kid.

Cheers,
Rob.
-- 
http://www.interjinn.com
Application and Templating Framework for PHP


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] whoami explanation

2009-03-05 Thread PJ
Shawn McKenzie wrote:
 Shawn McKenzie wrote:
   
 PJ wrote:
 
 Shawn McKenzie 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 vilify potatoes!  ...or the Irish :-)
   
 
 Potatoes are best served sliced into sticks, pan-fried, covered in
 cheese curds, and then finally doused in beef gravy!!

 Cheers,
 Rob.
 
   
 O.K.  you had me hooked until cheese curds :-P

 Potatoes are best served sliced into sticks, pan-fried, covered in
 ground beef, and then finally doused in beef gravy!!

   
 
 Wow, this is really high end gourmet fare... O:-)

   
 Well, the ground beef is actually tartar and it goes without saying that
 it would be topped with foie gras and grape chutney with caviar on the side.


 

 I Left Rob's beef gravy, but normally I see this with a verjus port
 glaze to compliment the chutney.

   
This is heady stuff for 5am (I just had breakfast).
I can see Alain Ducasse turning over in his grave finger in mouth - oh
yes, and he's not even dead yet. :-D

-- 
unheralded genius: A clean desk is the sign of a dull mind. 
-
Phil Jourdan --- p...@ptahhotep.com
   http://www.ptahhotep.com
   http://www.chiccantine.com/andypantry.php


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] whoami explanation

2009-03-04 Thread Peter Ford
PJ wrote:
 Per Jessen wrote:
 PJ wrote:

   
 forgot to add:
 What's the difference between back ticks or quotes and regular single
 quotes?
 
 text in back ticks is executed via a shell, text in single quotes isn't.
   
 Ok, but how does this relate to a command passed from a php Web page?
 I don't understand the processus.
 I use bash on my FreeBSD and have not needed a back quote yet that I can
 recall... and on WinXP?

In your bash shell, you can use backticks in a similar way to how PHP uses them
- to assign the output of a command to a variable. For example:

LIST=`find . -name '*.php'`

will fill up the shell variable $LIST with all the files with extension .php
below the current directory.
You could then do something with that variable, like

for FILE in $LIST
do
cp $FILE $FILE.bak
done

to make a backup copy of each of the files.

In PHP, something like

?php
$list = `find . -name '*.php'`;
foreach (explode(' ',$list) as $file)
{
copy ($file,{$file}.bak);
}
?
should do much the same thing (if permissions etc. allow...)

Note that in both of these examples, filenames with spaces in them will blow the
whole thing up :(


-- 
Peter Ford  phone: 01580 89
Developer   fax:   01580 893399
Justcroft International Ltd., Staplehurst, Kent

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] whoami explanation

2009-03-04 Thread Michael A. Peters

Peter Ford wrote:

PJ wrote:

Per Jessen wrote:

PJ wrote:

  

forgot to add:
What's the difference between back ticks or quotes and regular single
quotes?


text in back ticks is executed via a shell, text in single quotes isn't.
  

Ok, but how does this relate to a command passed from a php Web page?
I don't understand the processus.
I use bash on my FreeBSD and have not needed a back quote yet that I can
recall... and on WinXP?


In your bash shell, you can use backticks in a similar way to how PHP uses them
- to assign the output of a command to a variable. For example:

LIST=`find . -name '*.php'`

will fill up the shell variable $LIST with all the files with extension .php
below the current directory.
You could then do something with that variable, like

for FILE in $LIST
do
cp $FILE $FILE.bak
done


which works as long as you can guarantee that none your file names 
contain spaces ... ;)


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



RE: [PHP] whoami explanation

2009-03-04 Thread Boyd, Todd M.
 -Original Message-
 From: PJ [mailto:af.gour...@videotron.ca]
 Sent: Tuesday, March 03, 2009 5:56 PM
 To: Boyd, Todd M.
 Cc: php-general@lists.php.net
 Subject: Re: [PHP] whoami explanation
 
 Boyd, Todd M. wrote:
  -Original Message-
  From: Ashley Sheridan [mailto:a...@ashleysheridan.co.uk]
  Sent: Tuesday, March 03, 2009 2:07 PM
  To: PJ
  Cc: Daniel Brown; Per Jessen; php-general@lists.php.net
  Subject: Re: [PHP] whoami explanation
 
  On Tue, 2009-03-03 at 11:16 -0500, PJ wrote:
 
  Daniel Brown wrote:
 
  On Tue, Mar 3, 2009 at 10:57, PJ af.gour...@videotron.ca wrote:
 
 
  forgot to add:
  What's the difference between back ticks or quotes and regular
 
  single
 
  quotes?
  How does one enter back quotes from the keyboard?
 
 
  Welcome to the Internet!
 
  The first place you should look when you have a question is
on
  Google.  The first result that comes up for backtick operator
is
 
  the
 
  PHP manual itself:
 
  http://php.net/language.operators.execution
 
  If you don't know where a key is on your keyboard, please
look
 
  down.
 
 
  I don't think it's necessary to be sarcastic...
  Hate to disappoint you, but on my computer (FreeBSD 7.0) on
Firefox
  Google does not go directly to the php manual... it goes to some
 
  nitwit
 
  site thinkexist.com
  So, this list is a much better source of information that waddling
  through the crap that's thrown at you on G.
  And I find that Googie is getting pretty garbagy even if there is
  nothing better around ;-)
  As for the keyboard, this is the first time I have ever, ever
 needed
 
  the
 
  back quote key although I have occasionally needed the ~ key for
 
  Windows
 
  stuff.
 
  --
 
  Phil Jourdan --- p...@ptahhotep.com
 http://www.ptahhotep.com
 http://www.chiccantine.com
 
 
 
  You tinker on Unix and you only ever use ~ for Windows?!
 
 
  I realize this thread is old and dead and buried, but I have to get
 my
  licks in on the new guy, too... but Ash beat me to it. I was going
to
  talk about how ~ was an alias for the current user context's home
  directory in any POSIX system I've ever used. :)
 
  Welcome aboard, PJ.
 
 Gee, thanks. So, when was I supposed to have used this alias? Hell, I
 can live with my ignorance. What's a POSIX system and why is it a
POSIX
 - a language, I think I heard
 
 But I'm sorry I missed the fun earlier about the American foibles...
 unfortunately that should go on some other list and I wish I knew
which
 one - one that had some smarts to it (like this one) and I'd like to
 really hear what people think about us and what's really going on in
 the world... oooh, well

http://lmgtfy.com/?q=posix

;)


// Todd

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] whoami explanation

2009-03-04 Thread Daniel Brown
[Inhales]

On Wed, Mar 4, 2009 at 01:01, PJ af.gour...@videotron.ca wrote:
 Ok. You asked for it... I have to rant a bit get this off my chest as it
 has been bugging me for a while and this is not directed at anyone in
 particular.

I'm noting for a while here

 I do not appreciate it when there is doubt cast on my credibility. If I
 say that I am getting a different output from Google, for example, the
 that is what I am getting! And I certainly do not need to be told in
 sopohomoric terms what Google is or how it works - I am not that
 ignorant. Perhaps one should check as to what the input to Google was -
 to compare and find why there might be a discrepancy. This is jumping to
 conclusions without proper empirical research.

First of all, Sally (it's not directed at you, PJ), if you want to
say that you're not casting this toward anyone, don't make it so
blindingly obvious.  I'm the one who said it, and I stand absolutely,
completely, and FIRMLY behind it.  You are just one of many, many,
many people who come through here asking extremely basic questions on
a list that assumes - yes, *assumes* - some prior technical knowledge.
 It is a technical list, not a Complete Idiot's Guide to Keyboard
Character Mapping.  Now, by no means whatsoever does that insinuate
that I think you're an idiot, so if you're not familiar with the
series of books, don't take the title to heart; the publisher was not
thinking of you and your feelings when they put it on paper.

Secondly, if you are getting a different response from Google,
Sally, then you didn't use the same input, and thus you may very well
need an explanation as to what a search engine is and how to use it
--- and it may very well make you ignorant.  People use ignorant
interchangeably with moronic or inept, when it means nothing more
than that you were unaware or uninformed.  Ignorance is not always the
fault of the ignorant.

Thirdly:
 Perhaps one should check as to what the input to Google was -
 to compare and find why there might be a discrepancy. This
is jumping to
 conclusions without proper empirical research.

Considering I *gave* PJ the search term to use at input, I'll
consider my research to be done, complete and accurate, to the best of
my knowledge and the collective knowledge of the community, as it's
publicly-archived in its entirety.  It's not jumping to conclusions
when the conclusions were already at our feet from the beginning.  The
answer was there before he even asked the question.


 Now, that I am started, I do notice that sometimes, in response to my
 questions, responders have not grasped the entire problem and pick on
 some small detail as a typo and forget the larger picture. I understand
 the importance of the details and the consequences of misplaced dots and
 other glitches (see Brazil the movie). I know I am rather impatient
 and thus make hasty typos; but I must note that I have also had answers
 that were flawed and where glitches were not caught; luckily, I did
 resolve problem by trying various alternatives. I guess I just don't
 like to be thought of as some bimbo.

I read through all 157 of your posts to the various lists.  Yes,
exactly 157.  The responses you got from the PHP list in particular in
your rare and sporadic posts since 2007 were technical responses,
perhaps of varying quality, but DAMN good for an all-volunteer
community.  If you made a typo, big deal --- it happens.  If someone
chooses to pick on it, then go have a nice cry and come back fresh.
It's not at all minimizing your skill and ability, nor making you look
like a bimbo.

If you expect to receive *only* high-quality answers and will
criticize those who give you answers that are flawed and where
glitches were not caught, then I highly suggest that you continue to
resolve problems by trying various alternatives, because I can speak
very loudly for the community and say that you would never be welcome
here with an attitude like that, unless your words haven't properly
captured what you're trying to convey.

This list has people in a wide array of stages in the programming
and development education life-cycle, from just doing the research
to this is the sixth programming language I've truly mastered and use
daily.  Further, everyone here is a VOLUNTEER --- a word that has to
be kept in mind.  If you don't like a response and have a gripe, hire
someone to help you and then you can be more than justified in
complaining.

 In defense of my non-bimbo-ism, I have may accomplishments to my credit
[snip=irrelevant]
 so, there... :-P

Yeah.

 And now for the cherry on top of the cake
[snip=politics]

I may agree, I may disagree, or align/counter-align with different
points, but I have no issue in that.  I love the argument of politics
regardless of the angle, if a person is willing to debate back and
forth and not just assert their beliefs as the *only* answer (which
you did not, by 

Re: [PHP] whoami explanation

2009-03-04 Thread PJ
Daniel Brown wrote:
 [Inhales]

 On Wed, Mar 4, 2009 at 01:01, PJ af.gour...@videotron.ca wrote:
   
 Ok. You asked for it... I have to rant a bit get this off my chest as it
 has been bugging me for a while and this is not directed at anyone in
 particular.
 

 I'm noting for a while here

   
 I do not appreciate it when there is doubt cast on my credibility. If I
 say that I am getting a different output from Google, for example, the
 that is what I am getting! And I certainly do not need to be told in
 sopohomoric terms what Google is or how it works - I am not that
 ignorant. Perhaps one should check as to what the input to Google was -
 to compare and find why there might be a discrepancy. This is jumping to
 conclusions without proper empirical research.
 

 First of all, Sally (it's not directed at you, PJ), if you want to
 say that you're not casting this toward anyone, don't make it so
 blindingly obvious.  I'm the one who said it, and I stand absolutely,
 completely, and FIRMLY behind it.  You are just one of many, many,
 many people who come through here asking extremely basic questions on
 a list that assumes - yes, *assumes* - some prior technical knowledge.
  It is a technical list, not a Complete Idiot's Guide to Keyboard
 Character Mapping.  Now, by no means whatsoever does that insinuate
 that I think you're an idiot, so if you're not familiar with the
 series of books, don't take the title to heart; the publisher was not
 thinking of you and your feelings when they put it on paper.

 Secondly, if you are getting a different response from Google,
 Sally, then you didn't use the same input, and thus you may very well
 need an explanation as to what a search engine is and how to use it
 --- and it may very well make you ignorant.  People use ignorant
 interchangeably with moronic or inept, when it means nothing more
 than that you were unaware or uninformed.  Ignorance is not always the
 fault of the ignorant.

 Thirdly:
  Perhaps one should check as to what the input to Google was -
  to compare and find why there might be a discrepancy. This
 is jumping to
  conclusions without proper empirical research.

 Considering I *gave* PJ the search term to use at input, I'll
 consider my research to be done, complete and accurate, to the best of
 my knowledge and the collective knowledge of the community, as it's
 publicly-archived in its entirety.  It's not jumping to conclusions
 when the conclusions were already at our feet from the beginning.  The
 answer was there before he even asked the question.


   
 Now, that I am started, I do notice that sometimes, in response to my
 questions, responders have not grasped the entire problem and pick on
 some small detail as a typo and forget the larger picture. I understand
 the importance of the details and the consequences of misplaced dots and
 other glitches (see Brazil the movie). I know I am rather impatient
 and thus make hasty typos; but I must note that I have also had answers
 that were flawed and where glitches were not caught; luckily, I did
 resolve problem by trying various alternatives. I guess I just don't
 like to be thought of as some bimbo.
 

 I read through all 157 of your posts to the various lists.  Yes,
 exactly 157.  The responses you got from the PHP list in particular in
 your rare and sporadic posts since 2007 were technical responses,
 perhaps of varying quality, but DAMN good for an all-volunteer
 community.  If you made a typo, big deal --- it happens.  If someone
 chooses to pick on it, then go have a nice cry and come back fresh.
 It's not at all minimizing your skill and ability, nor making you look
 like a bimbo.

 If you expect to receive *only* high-quality answers and will
 criticize those who give you answers that are flawed and where
 glitches were not caught, then I highly suggest that you continue to
 resolve problems by trying various alternatives, because I can speak
 very loudly for the community and say that you would never be welcome
 here with an attitude like that, unless your words haven't properly
 captured what you're trying to convey.

 This list has people in a wide array of stages in the programming
 and development education life-cycle, from just doing the research
 to this is the sixth programming language I've truly mastered and use
 daily.  Further, everyone here is a VOLUNTEER --- a word that has to
 be kept in mind.  If you don't like a response and have a gripe, hire
 someone to help you and then you can be more than justified in
 complaining.

   
 In defense of my non-bimbo-ism, I have may accomplishments to my credit
 
 [snip=irrelevant]
   
 so, there... :-P
 

 Yeah.

   
 And now for the cherry on top of the cake
 
 [snip=politics]

 I may agree, I may disagree, or align/counter-align with different
 points, but I have no issue in that.  I love the argument of politics
 regardless 

Re: [PHP] whoami explanation

2009-03-04 Thread Daniel Brown
On Wed, Mar 4, 2009 at 10:42, PJ af.gour...@videotron.ca wrote:
 Right on.  Good comments.
 No offense taken and none intended.
 I am enoying the list and will continue to participate, if i may.
 I have learned a great deal already and really do appreciate the help.

So you mentioned your involvement in television production and
briefly touched on cooking shows and such what brought you into
the insanity of web programming?  New stage in life, or specifically
to work on your daughter's site?  It's a really interesting property,
by the way; ancient Egypt, Mesopotamia, and that region enthralls me.
Those folks were truly inspiring, and put the civil engineers of the
20th and 21st centuries to utter shame.

-- 
/Daniel P. Brown
daniel.br...@parasane.net || danbr...@php.net
http://www.parasane.net/ || http://www.pilotpig.net/
50% Off All Shared Hosting Plans at PilotPig: Use Coupon DOW1

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



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 and over*

Cheers,
Rob.
-- 
http://www.interjinn.com
Application and Templating Framework for PHP


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] whoami explanation

2009-03-04 Thread Daniel Brown
On Wed, Mar 4, 2009 at 10:52, Robert Cummings rob...@interjinn.com 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 Woodpecker nature?

-- 
/Daniel P. Brown
daniel.br...@parasane.net || danbr...@php.net
http://www.parasane.net/ || http://www.pilotpig.net/
50% Off All Shared Hosting Plans at PilotPig: Use Coupon DOW1

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



RE: [PHP] whoami explanation

2009-03-04 Thread Boyd, Todd M.
 -Original Message-
 From: paras...@gmail.com [mailto:paras...@gmail.com] On Behalf Of
 Daniel Brown
 Sent: Wednesday, March 04, 2009 10:16 AM
 To: Robert Cummings
 Cc: PJ; Boyd, Todd M.; php-general@lists.php.net
 Subject: Re: [PHP] whoami explanation
 
 On Wed, Mar 4, 2009 at 10:52, Robert Cummings rob...@interjinn.com
 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 Woodpecker nature?

I think it's a Queen song, actually...

;)


// Todd

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



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 rob...@interjinn.com 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 Woodpecker nature?

I'd go with Woody :)

Cheers,
Rob.
-- 
http://www.interjinn.com
Application and Templating Framework for PHP


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] whoami explanation

2009-03-04 Thread Daniel Brown
On Wed, Mar 4, 2009 at 11:20, Boyd, Todd M. tmbo...@ccis.edu wrote:

 I think it's a Queen song, actually...

Mama-mia.

-- 
/Daniel P. Brown
daniel.br...@parasane.net || danbr...@php.net
http://www.parasane.net/ || http://www.pilotpig.net/
50% Off All Shared Hosting Plans at PilotPig: Use Coupon DOW1

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] whoami explanation

2009-03-04 Thread Stuart
Cracking response Dan, and I agree fully with most of it. A while back I was
a far more active contributor to the PHP lists than I am now (promotion ==
more responsibility == less spare time) and the reason I do it is because it
never seems like work - it's fun!!

But I feel I must correct you on one point...

2009/3/4 Daniel Brown danbr...@php.net

Thirdly:
  Perhaps one should check as to what the input to Google was -
 to compare and find why there might be a discrepancy. This
 is jumping to
 conclusions without proper empirical research.

 Considering I *gave* PJ the search term to use at input, I'll
 consider my research to be done, complete and accurate, to the best of
 my knowledge and the collective knowledge of the community, as it's
 publicly-archived in its entirety.  It's not jumping to conclusions
 when the conclusions were already at our feet from the beginning.  The
 answer was there before he even asked the question.


The results returned by Google are not constant. They vary based on your
location, which domain you're using, which index instance you hit and a
number of other things, most of which are not public. It is more than
possible that PJ did get different results to you from the same search term.
Hell, I get different results on my machine than the guy the other side of
the office.

That was all.

-Stuart

-- 
http://stut.net/


Re: [PHP] whoami explanation

2009-03-04 Thread Daniel Brown
On Wed, Mar 4, 2009 at 11:31, Stuart stut...@gmail.com wrote:

 The results returned by Google are not constant. They vary based on your
 location, which domain you're using, which index instance you hit and a
 number of other things, most of which are not public. It is more than
 possible that PJ did get different results to you from the same search term.
 Hell, I get different results on my machine than the guy the other side of
 the office.

Yeah, that's true.  In the original message I noted locale and
other preference settings, but I did fail to mention it again here.

The other option is that I'm wrong, but as we all know, that is
such a rare occurrence that it may as well be a nonexistent option.
If it were the case, though, I would certainly need to concede the
point

It's interesting that you mention getting different results from
someone on the other side of the same office.  I would guess that it's
the difference between preferences, perhaps even default language
settings, but in all honesty, I don't purport to understand more than
a fraction of the Google algorithms I'm just glad they're there.

And finally, you may not contribute (nearly!) as often as you once
did, but your responses haven't lessened in quality by any means.
It's Stut, Concentrated.

-- 
/Daniel P. Brown
daniel.br...@parasane.net || danbr...@php.net
http://www.parasane.net/ || http://www.pilotpig.net/
50% Off All Shared Hosting Plans at PilotPig: Use Coupon DOW1

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] whoami explanation

2009-03-04 Thread Stuart
2009/3/4 Daniel Brown danbr...@php.net

 On Wed, Mar 4, 2009 at 11:31, Stuart stut...@gmail.com wrote:
 
  The results returned by Google are not constant. They vary based on your
  location, which domain you're using, which index instance you hit and a
  number of other things, most of which are not public. It is more than
  possible that PJ did get different results to you from the same search
 term.
  Hell, I get different results on my machine than the guy the other side
 of
  the office.

 Yeah, that's true.  In the original message I noted locale and
 other preference settings, but I did fail to mention it again here.

The other option is that I'm wrong, but as we all know, that is
 such a rare occurrence that it may as well be a nonexistent option.
 If it were the case, though, I would certainly need to concede the
 point


That is indeed unlikely your Royal Smart Arse! ;-)


It's interesting that you mention getting different results from
 someone on the other side of the same office.  I would guess that it's
 the difference between preferences, perhaps even default language
 settings, but in all honesty, I don't purport to understand more than
 a fraction of the Google algorithms I'm just glad they're there.


As I understand it, and like you I certainly don't claim to know for sure,
clusters within the Google infrastructure sometimes fall behind with their
copy of the the index which can mean different results even between page
reloads. Never seen that but I've certainly seen different results within
the same office. Could be dependent on the browser I guess - my CEO uses IE,
I use Safari and Firefox.

   And finally, you may not contribute (nearly!) as often as you once
 did, but your responses haven't lessened in quality by any means.
 It's Stut, Concentrated.


I'm trying to save the environment. Stut, concentrated - less packaging,
more power!!

-Stuart

-- 
http://stut.net/


Re: [PHP] whoami explanation

2009-03-04 Thread Daniel Brown
On Wed, Mar 4, 2009 at 12:28, Stuart stut...@gmail.com wrote:

 As I understand it, and like you I certainly don't claim to know for sure,
 clusters within the Google infrastructure sometimes fall behind with their
 copy of the the index which can mean different results even between page
 reloads. Never seen that but I've certainly seen different results within
 the same office. Could be dependent on the browser I guess - my CEO uses IE,
 I use Safari and Firefox.

Based upon the point of clusters not being in synchrony (data
replication and IP-geolocation-based load-balancing comes immediately
to mind), it's enough of a reason for me to retract my original
statement.  Excellent point, and one I admit I didn't consider.

 I'm trying to save the environment. Stut, concentrated - less packaging,
 more power!!

Just wait: some day the Green folks will claim that high amounts
of email using googolplexes of processor cycles worldwide, leading to
greater carbon emissions, is a leading cause of global warming.  I'd
say that you're just doing your part by reducing your carbon
footprint.

-- 
/Daniel P. Brown
daniel.br...@parasane.net || danbr...@php.net
http://www.parasane.net/ || http://www.pilotpig.net/
50% Off All Shared Hosting Plans at PilotPig: Use Coupon DOW1

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] whoami explanation

2009-03-04 Thread Thodoris



This really needs some explanation
I found this on the web:
?php echo `whoami`; ?
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
/command/ ) does not,
COPIED AND PASTED:
|?php
// outputs the username that owns the running php/httpd process
// (on a system with the whoami executable in the path)
echo exec('whoami');
? |
What is going on here?
And I often find such discrepancies in examples - and some wonder why I
seem to be so stupid... and don't know the fundamentals... :-\
  

Didn't have the time to read the whole thread. Sorry for being so lame.

I will have to mention that whoami is actually id -un and probably if 
you need to get user information from the shell IMHO you should better 
use the id command or a better solution could be the posix_getuid() 
function.


If you need to find the owner of the current script you could use 
something like get_current_user().


?php
echo 'Current script owner: ' . get_current_user();
echo brCurrent proccess id from the shell: ;
echo `id`;
echo brCurrent proccess id from the posix getuid: ;
echo posix_getuid();
?

btw I think it would be nice to have a function that can give you the 
user that actually runs the script  (apache ,www) instead of using the 
command line. The posix functions AFAIK can give you only the ids 
(uid,gid etc) about a process.


--
Thodoris


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] whoami explanation

2009-03-04 Thread PJ
Daniel Brown wrote:
 On Wed, Mar 4, 2009 at 10:42, PJ af.gour...@videotron.ca wrote:
   
 Right on.  Good comments.
 No offense taken and none intended.
 I am enoying the list and will continue to participate, if i may.
 I have learned a great deal already and really do appreciate the help.
 

 So you mentioned your involvement in television production and
 briefly touched on cooking shows and such what brought you into
 the insanity of web programming?  New stage in life, or specifically
 to work on your daughter's site? 
Her necessity and my curiosity coupled with an interesting challenge. :-)
After this, there's the other site http://www.chiccantine.com - that's
just a start for now... we're aiming for a really great site on food
that will be instuctional as well as enlightening for all to learn how
to really deal with great food - what it is all really about take a
look at the link below the signature. You might learn something about
vanilla.
BTW, we'll be looking for great programmers and designers who will want
to participate in the adventure (as that is what it will be) - we'll
surely be doing this as a non-profit thing and hope to develop something
profitable along the way. The startup will require dedication and some
time with the hope of worthwhile earnings once things are rolling.
Requirements are: love of food (the real, natural stuff), a hate for
Monsanto, corn and just plain stupidity, appreciation of common sense
and then, of course, programming knowledge - we'll be using a log of
video clips - flash  probably streaming - oh yes, and not to forget, a
sense of adventure, the thrill of a challenge (to do something different
if not off the wall) and, well, some time to risk for this great
opportunity. 8-)
I get the impression that this (list) is where we'll find such great
minds, wits and dreamers - for you gotta have a vision!
  It's a really interesting property,
 by the way; ancient Egypt, Mesopotamia, and that region enthralls me.
 Those folks were truly inspiring, and put the civil engineers of the
 20th and 21st centuries to utter shame.
   
Indeed. Makes you wonder, doesn't it.

-- 
unheralded genius: A clean desk is the sign of a dull mind. 
-
Phil Jourdan --- p...@ptahhotep.com
   http://www.ptahhotep.com
   http://www.chiccantine.com/andypantry.php


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] whoami explanation

2009-03-04 Thread PJ
Stuart wrote:
 Cracking response Dan, and I agree fully with most of it. A while back
 I was a far more active contributor to the PHP lists than I am now
 (promotion == more responsibility == less spare time) and the reason I
 do it is because it never seems like work - it's fun!!

 But I feel I must correct you on one point...

 2009/3/4 Daniel Brown danbr...@php.net mailto:danbr...@php.net

 Â Â  Thirdly:
 Â  Â  Â  Â  Perhaps one should check as to what the input to
 Google was -
 Â  Â  Â  Â  to compare and find why there might be a discrepancy.
 This
 is jumping to
 Â  Â  Â  Â  conclusions without proper empirical research.

 Â  Â Considering I *gave* PJ the search term to use at input, I'll
 consider my research to be done, complete and accurate, to the best of
 my knowledge and the collective knowledge of the community, as it's
 publicly-archived in its entirety. Â It's not jumping to conclusions
 when the conclusions were already at our feet from the beginning.
 Â The
 answer was there before he even asked the question.


 The results returned by Google are not constant. They vary based on
 your location, which domain you're using, which index instance you hit
 and a number of other things, most of which are not public. It is more
 than possible that PJ did get different results to you from the same
 search term. Hell, I get different results on my machine than the guy
 the other side of the office.

 That was all.
am I vindicated  ;-)

-- 
unheralded genius: A clean desk is the sign of a dull mind. 
-
Phil Jourdan --- p...@ptahhotep.com
   http://www.ptahhotep.com
   http://www.chiccantine.com/andypantry.php


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] whoami explanation

2009-03-04 Thread Shawn McKenzie
PJ wrote:
 Daniel Brown wrote:
 On Wed, Mar 4, 2009 at 10:42, PJ af.gour...@videotron.ca wrote:
   
 Right on.  Good comments.
 No offense taken and none intended.
 I am enoying the list and will continue to participate, if i may.
 I have learned a great deal already and really do appreciate the help.
 
 So you mentioned your involvement in television production and
 briefly touched on cooking shows and such what brought you into
 the insanity of web programming?  New stage in life, or specifically
 to work on your daughter's site? 
 Her necessity and my curiosity coupled with an interesting challenge. :-)
 After this, there's the other site http://www.chiccantine.com - that's
 just a start for now... we're aiming for a really great site on food
 that will be instuctional as well as enlightening for all to learn how
 to really deal with great food - what it is all really about take a
 look at the link below the signature. You might learn something about
 vanilla.
 BTW, we'll be looking for great programmers and designers who will want
 to participate in the adventure (as that is what it will be) - we'll
 surely be doing this as a non-profit thing and hope to develop something
 profitable along the way. The startup will require dedication and some
 time with the hope of worthwhile earnings once things are rolling.
 Requirements are: love of food (the real, natural stuff), a hate for
 Monsanto, corn

What?  Monsanto makes great weed killers and what the hell is wrong with
corn?!?!  Have you seriously never roated a cob in the husk over a wood
fire and then submerged the cob into a vat of melted butter?  Plus pigs,
cows and chickens eat it.  Mmmm...

 and just plain stupidity, appreciation of common sense
 and then, of course, programming knowledge - we'll be using a log of
 video clips - flash  probably streaming - oh yes, and not to forget, a
 sense of adventure, the thrill of a challenge (to do something different
 if not off the wall) and, well, some time to risk for this great
 opportunity. 8-)
 I get the impression that this (list) is where we'll find such great
 minds, wits and dreamers - for you gotta have a vision!
  It's a really interesting property,
 by the way; ancient Egypt, Mesopotamia, and that region enthralls me.
 Those folks were truly inspiring, and put the civil engineers of the
 20th and 21st centuries to utter shame.
   
 Indeed. Makes you wonder, doesn't it.
 

-- 
Thanks!
-Shawn
http://www.spidean.com

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] whoami explanation

2009-03-04 Thread Daniel Brown
On Wed, Mar 4, 2009 at 13:31, PJ af.gour...@videotron.ca wrote:
 am I vindicated  ;-)

Eh.

Whether or not it is true in practice, in theory it certainly
sounds plausible to have varying results.  However, your argument,
verbatim, wasn't entirely with merit.  ;-P

All in all, sure.  At the least, it shows that I (probably) was
not entirely correct in my statement of how Google's results are
uniform even without user-defined influence.

-- 
/Daniel P. Brown
daniel.br...@parasane.net || danbr...@php.net
http://www.parasane.net/ || http://www.pilotpig.net/
50% Off All Shared Hosting Plans at PilotPig: Use Coupon DOW1

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] whoami explanation

2009-03-04 Thread Shawn McKenzie
Thodoris wrote:
 Didn't have the time to read the whole thread. Sorry for being so lame.

Obviously, or you would have known that this thread has very little if
anything to do with whoami!  :-)

-- 
Thanks!
-Shawn
http://www.spidean.com

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] whoami explanation

2009-03-04 Thread Stuart
2009/3/4 PJ af.gour...@videotron.ca

 Stuart wrote:
  Cracking response Dan, and I agree fully with most of it. A while back
  I was a far more active contributor to the PHP lists than I am now
  (promotion == more responsibility == less spare time) and the reason I
  do it is because it never seems like work - it's fun!!
 
  But I feel I must correct you on one point...
 
  2009/3/4 Daniel Brown danbr...@php.net mailto:danbr...@php.net
 
  Â Â  Thirdly:
  Â  Â  Â  Â  Perhaps one should check as to what the input to
  Google was -
  Â  Â  Â  Â  to compare and find why there might be a discrepancy.
  This
  is jumping to
  Â  Â  Â  Â  conclusions without proper empirical research.
 
  Â  Â Considering I *gave* PJ the search term to use at input, I'll
  consider my research to be done, complete and accurate, to the best
 of
  my knowledge and the collective knowledge of the community, as it's
  publicly-archived in its entirety. Â It's not jumping to conclusions
  when the conclusions were already at our feet from the beginning.
  Â The
  answer was there before he even asked the question.
 
 
  The results returned by Google are not constant. They vary based on
  your location, which domain you're using, which index instance you hit
  and a number of other things, most of which are not public. It is more
  than possible that PJ did get different results to you from the same
  search term. Hell, I get different results on my machine than the guy
  the other side of the office.
 
  That was all.
 am I vindicated  ;-)


Not really, because the results were there you just didn't put in enough
effort.

Precision Googling should be taught at school - it's a life skill that keeps
boring questions from recurring on lists like this with painful regularity.
And by Googling I don't necessarily mean by using Google - other search
engines are available.

-Stuart

-- 
http://stut.net/


Re: [PHP] whoami explanation

2009-03-04 Thread Thodoris



Thodoris wrote:
  

Didn't have the time to read the whole thread. Sorry for being so lame.



Obviously, or you would have known that this thread has very little if
anything to do with whoami!  :-)

  
Indeed nonetheless it will be something useful for the archives (at 
least I think that).


After that I had to read the whole thing!! Blast I though I could get 
away with it :-)


--
Thodoris



Re: [PHP] whoami explanation

2009-03-04 Thread Ashley Sheridan
On Wed, 2009-03-04 at 10:23 -0500, Daniel Brown wrote:
 Secondly, if you are getting a different response from Google,
 Sally, then you didn't use the same input 

I'd beg to differ. It's well known that Google gives out different
results based on geographical location and previous search history.


Ash
www.ashleysheridan.co.uk


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] whoami explanation

2009-03-04 Thread Daniel Brown
On Wed, Mar 4, 2009 at 15:03, Ashley Sheridan a...@ashleysheridan.co.uk wrote:
 On Wed, 2009-03-04 at 10:23 -0500, Daniel Brown wrote:
 Secondly, if you are getting a different response from Google,
 Sally, then you didn't use the same input

 I'd beg to differ. It's well known that Google gives out different
 results based on geographical location and previous search history.

Read the whole thread first, Ash.  I mentioned that at two
different points therein.  ;-P

Good to see you back, by the way either it was just me, or you
went on a hiatus of sorts.

-- 
/Daniel P. Brown
daniel.br...@parasane.net || danbr...@php.net
http://www.parasane.net/ || http://www.pilotpig.net/
50% Off All Shared Hosting Plans at PilotPig: Use Coupon DOW1

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] whoami explanation

2009-03-04 Thread Ashley Sheridan
On Wed, 2009-03-04 at 15:02 -0500, Daniel Brown wrote:
 On Wed, Mar 4, 2009 at 15:03, Ashley Sheridan a...@ashleysheridan.co.uk 
 wrote:
  On Wed, 2009-03-04 at 10:23 -0500, Daniel Brown wrote:
  Secondly, if you are getting a different response from Google,
  Sally, then you didn't use the same input
 
  I'd beg to differ. It's well known that Google gives out different
  results based on geographical location and previous search history.
 
 Read the whole thread first, Ash.  I mentioned that at two
 different points therein.  ;-P
 
 Good to see you back, by the way either it was just me, or you
 went on a hiatus of sorts.
 
Yeah, been crazily busy with both my regular job and freelance stuff. I
think I'm booked up to Armageddon now :-/


Ash
www.ashleysheridan.co.uk


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] whoami explanation

2009-03-04 Thread Daniel Brown
On Wed, Mar 4, 2009 at 15:07, Ashley Sheridan a...@ashleysheridan.co.uk wrote:

 Yeah, been crazily busy with both my regular job and freelance stuff. I
 think I'm booked up to Armageddon now :-/

Good for you.  It means you're definitely doing something right.

-- 
/Daniel P. Brown
daniel.br...@parasane.net || danbr...@php.net
http://www.parasane.net/ || http://www.pilotpig.net/
50% Off All Shared Hosting Plans at PilotPig: Use Coupon DOW1

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] whoami explanation

2009-03-04 Thread PJ
Shawn McKenzie wrote:
 PJ wrote:
   
 Daniel Brown wrote:
 
 On Wed, Mar 4, 2009 at 10:42, PJ af.gour...@videotron.ca wrote:
   
   
 Right on.  Good comments.
 No offense taken and none intended.
 I am enoying the list and will continue to participate, if i may.
 I have learned a great deal already and really do appreciate the help.
 
 
 So you mentioned your involvement in television production and
 briefly touched on cooking shows and such what brought you into
 the insanity of web programming?  New stage in life, or specifically
 to work on your daughter's site? 
   
 Her necessity and my curiosity coupled with an interesting challenge. :-)
 After this, there's the other site http://www.chiccantine.com - that's
 just a start for now... we're aiming for a really great site on food
 that will be instuctional as well as enlightening for all to learn how
 to really deal with great food - what it is all really about take a
 look at the link below the signature. You might learn something about
 vanilla.
 BTW, we'll be looking for great programmers and designers who will want
 to participate in the adventure (as that is what it will be) - we'll
 surely be doing this as a non-profit thing and hope to develop something
 profitable along the way. The startup will require dedication and some
 time with the hope of worthwhile earnings once things are rolling.
 Requirements are: love of food (the real, natural stuff), a hate for
 Monsanto, corn
 

 What?  Monsanto makes great weed killers and what the hell is wrong with
 corn?!?!  Have you seriously never roated a cob in the husk over a wood
 fire and then submerged the cob into a vat of melted butter?  Plus pigs,
 cows and chickens eat it.  Mmmm...
   
Ooooh, boy now this is really serious... :o
I think your ignorance will be forgiven, maybe! And this is not meant
disparagingly but you'd better find out about Monsanto and corn and how
they are probably the greatest destructors of the the environment and
our own bodies? Google it and get a hold of some books, like try Michael
Pollan; do you have any idea of what Monsanto does and to whom and how?
Do you know how corn is destroying whole economies of countries? Corn is
sweeping continents because of human greed - it is being used to create
all sorts of artificial food ingredients and even to produce petrol
(oil) substitutes... even your own body is probably so full of corn
derivatives that it is surprising that you haven't turned into a corn
cob by now -- especially if you are not paying attention, and I mean
great attention, to what you eat... like MacDos and pre-packaged
prepared foods... just think for a minute: according to the current
business models in just about everything including and especially the
food industry... how do you think they boost their profits... certainly
not by raising prices... nooh, that would not be cool... they just
downgrade the quality of the ingredients and the workers so that  if
;you are not eating shit by the time it gets to your enteron (that is a
word - one that Enron paid some 6 million smackers fo an agency and then
found out that that is the the entire digestive tract right from one
input hole to the output hole) :-D , it is a miracle
glad to have this opportunity to rile - that is exactly the kind of
thing that we want to do with the site that we are starting to
develop... to destroy ignorance about food - to enllighten, inform and
teach to have a greater society of well fed and healthy individuals...
don't foget, you are what you eat - the name escapes me at the moment,
but it was a great French chef of the 18th century who said that...
I could go on at great length on that subject... but I have to goet some
work done...


  and just plain stupidity, appreciation of common sense
   
 and then, of course, programming knowledge - we'll be using a log of
 video clips - flash  probably streaming - oh yes, and not to forget, a
 sense of adventure, the thrill of a challenge (to do something different
 if not off the wall) and, well, some time to risk for this great
 opportunity. 8-)
 I get the impression that this (list) is where we'll find such great
 minds, wits and dreamers - for you gotta have a vision!
 
  It's a really interesting property,
 by the way; ancient Egypt, Mesopotamia, and that region enthralls me.
 Those folks were truly inspiring, and put the civil engineers of the
 20th and 21st centuries to utter shame.
   
   
 Indeed. Makes you wonder, doesn't it.

 

   


-- 
unheralded genius: A clean desk is the sign of a dull mind. 
-
Phil Jourdan --- p...@ptahhotep.com
   http://www.ptahhotep.com
   http://www.chiccantine.com/andypantry.php


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



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 af.gour...@videotron.ca wrote:


  Right on.  Good comments.
  No offense taken and none intended.
  I am enoying the list and will continue to participate, if i may.
  I have learned a great deal already and really do appreciate the help.
  
  
  So you mentioned your involvement in television production and
  briefly touched on cooking shows and such what brought you into
  the insanity of web programming?  New stage in life, or specifically
  to work on your daughter's site? 

  Her necessity and my curiosity coupled with an interesting challenge. :-)
  After this, there's the other site http://www.chiccantine.com - that's
  just a start for now... we're aiming for a really great site on food
  that will be instuctional as well as enlightening for all to learn how
  to really deal with great food - what it is all really about take a
  look at the link below the signature. You might learn something about
  vanilla.
  BTW, we'll be looking for great programmers and designers who will want
  to participate in the adventure (as that is what it will be) - we'll
  surely be doing this as a non-profit thing and hope to develop something
  profitable along the way. The startup will require dedication and some
  time with the hope of worthwhile earnings once things are rolling.
  Requirements are: love of food (the real, natural stuff), a hate for
  Monsanto, corn
  
 
  What?  Monsanto makes great weed killers and what the hell is wrong with
  corn?!?!  Have you seriously never roated a cob in the husk over a wood
  fire and then submerged the cob into a vat of melted butter?  Plus pigs,
  cows and chickens eat it.  Mmmm...

 Ooooh, boy now this is really serious... :o
 I think your ignorance will be forgiven, maybe! And this is not meant
 disparagingly but you'd better find out about Monsanto and corn and how
 they are probably the greatest destructors of the the environment and
 our own bodies? Google it and get a hold of some books, like try Michael
 Pollan; do you have any idea of what Monsanto does and to whom and how?
 Do you know how corn is destroying whole economies of countries? Corn is
 sweeping continents because of human greed - it is being used to create
 all sorts of artificial food ingredients and even to produce petrol
 (oil) substitutes... even your own body is probably so full of corn
 derivatives that it is surprising that you haven't turned into a corn
 cob by now -- especially if you are not paying attention, and I mean
 great attention, to what you eat... like MacDos and pre-packaged
 prepared foods... just think for a minute: according to the current
 business models in just about everything including and especially the
 food industry... how do you think they boost their profits... certainly
 not by raising prices... nooh, that would not be cool... they just
 downgrade the quality of the ingredients and the workers so that  if
 ;you are not eating shit by the time it gets to your enteron (that is a
 word - one that Enron paid some 6 million smackers fo an agency and then
 found out that that is the the entire digestive tract right from one
 input hole to the output hole) :-D , it is a miracle
 glad to have this opportunity to rile - that is exactly the kind of
 thing that we want to do with the site that we are starting to
 develop... to destroy ignorance about food - to enllighten, inform and
 teach to have a greater society of well fed and healthy individuals...
 don't foget, you are what you eat - the name escapes me at the moment,
 but it was a great French chef of the 18th century who said that...
 I could go on at great length on that subject... but I have to goet some
 work done...

My wife bakes bread from scratch... delicious. I'm so lucky to have such
an awesome woman. She cooks most meals from basic ingredients. Her
favourite book is the Joy of Cooking.

Cheers,
Rob.
-- 
http://www.interjinn.com
Application and Templating Framework for PHP


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] whoami explanation

2009-03-04 Thread Chris




for FILE in $LIST
do
cp $FILE $FILE.bak
done


which works as long as you can guarantee that none your file names 
contain spaces ... ;)


Which he already said:

Note that in both of these examples, filenames with spaces in them will 
blow the whole thing up  :(



;)

--
Postgresql  php tutorials
http://www.designmagick.com/


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] whoami explanation

2009-03-04 Thread Shawn McKenzie
PJ wrote:
 Shawn McKenzie wrote:
 PJ wrote:
   
 Daniel Brown wrote:
 
 On Wed, Mar 4, 2009 at 10:42, PJ af.gour...@videotron.ca wrote:
   
   
 Right on.  Good comments.
 No offense taken and none intended.
 I am enoying the list and will continue to participate, if i may.
 I have learned a great deal already and really do appreciate the help.
 
 
 So you mentioned your involvement in television production and
 briefly touched on cooking shows and such what brought you into
 the insanity of web programming?  New stage in life, or specifically
 to work on your daughter's site? 
   
 Her necessity and my curiosity coupled with an interesting challenge. :-)
 After this, there's the other site http://www.chiccantine.com - that's
 just a start for now... we're aiming for a really great site on food
 that will be instuctional as well as enlightening for all to learn how
 to really deal with great food - what it is all really about take a
 look at the link below the signature. You might learn something about
 vanilla.
 BTW, we'll be looking for great programmers and designers who will want
 to participate in the adventure (as that is what it will be) - we'll
 surely be doing this as a non-profit thing and hope to develop something
 profitable along the way. The startup will require dedication and some
 time with the hope of worthwhile earnings once things are rolling.
 Requirements are: love of food (the real, natural stuff), a hate for
 Monsanto, corn
 
 What?  Monsanto makes great weed killers and what the hell is wrong with
 corn?!?!  Have you seriously never roated a cob in the husk over a wood
 fire and then submerged the cob into a vat of melted butter?  Plus pigs,
 cows and chickens eat it.  Mmmm...
   
 Ooooh, boy now this is really serious... :o
 I think your ignorance will be forgiven, maybe! And this is not meant
 disparagingly but you'd better find out about Monsanto and corn and how
 they are probably the greatest destructors of the the environment and
 our own bodies? Google it and get a hold of some books, like try Michael
 Pollan; do you have any idea of what Monsanto does and to whom and how?
 Do you know how corn is destroying whole economies of countries? Corn is
 sweeping continents because of human greed - it is being used to create
 all sorts of artificial food ingredients and even to produce petrol
 (oil) substitutes... even your own body is probably so full of corn
 derivatives that it is surprising that you haven't turned into a corn
 cob by now -- especially if you are not paying attention, and I mean
 great attention, to what you eat... like MacDos and pre-packaged
 prepared foods... just think for a minute: according to the current
 business models in just about everything including and especially the
 food industry... how do you think they boost their profits... certainly
 not by raising prices... nooh, that would not be cool... they just
 downgrade the quality of the ingredients and the workers so that  if
 ;you are not eating shit by the time it gets to your enteron (that is a
 word - one that Enron paid some 6 million smackers fo an agency and then
 found out that that is the the entire digestive tract right from one
 input hole to the output hole) :-D , it is a miracle
 glad to have this opportunity to rile - that is exactly the kind of
 thing that we want to do with the site that we are starting to
 develop... to destroy ignorance about food - to enllighten, inform and
 teach to have a greater society of well fed and healthy individuals...
 don't foget, you are what you eat - the name escapes me at the moment,
 but it was a great French chef of the 18th century who said that...
 I could go on at great length on that subject... but I have to goet some
 work done...

Not ignorance but indifference to some of what you shout :-)

I don't enjoy/eat macdonalds or other fast food and use pre-packaged
stuff on rare occasion.  We buy fresh ingredients from local meat
markets/farmers markets etc.  This includes corn.  Corn is yummy,
chickens, pigs and cows eat corn and chickens, pigs and cows are yummy!
 Hell, cornbread is yummy!

I do however cringe at the practice of burning our food in internal
combustion engines.

As for monsanto, I don't know much about them, but I know they have many
different products/businesses.  The only one I use is roundup (I think
this is monsanto).  It's great to kill the weeds in the cracks in the
driveway and sidewalks.  Also, if it's not windy I use it in the mulched
flower beds and sometimes in the areas filled with river rocks.

I guess I should read more about it.  Did this come about before or
after wal-mart started ruining the planet?  What about the communists
contaminating our precious bodily fluids?

Whatever you do, please, please, please, for the love of all that is
holy, please, do not vilify potatoes!  ...or the Irish :-)

-- 
Thanks!
-Shawn
http://www.spidean.com

-- 
PHP General Mailing List 

Re: [PHP] whoami explanation

2009-03-04 Thread Ashley Sheridan
On Wed, 2009-03-04 at 15:48 -0600, Shawn McKenzie wrote:
 PJ wrote:
  Shawn McKenzie wrote:
  PJ wrote:

  Daniel Brown wrote:
  
  On Wed, Mar 4, 2009 at 10:42, PJ af.gour...@videotron.ca wrote:


  Right on.  Good comments.
  No offense taken and none intended.
  I am enoying the list and will continue to participate, if i may.
  I have learned a great deal already and really do appreciate the help.
  
  
  So you mentioned your involvement in television production and
  briefly touched on cooking shows and such what brought you into
  the insanity of web programming?  New stage in life, or specifically
  to work on your daughter's site? 

  Her necessity and my curiosity coupled with an interesting challenge. :-)
  After this, there's the other site http://www.chiccantine.com - that's
  just a start for now... we're aiming for a really great site on food
  that will be instuctional as well as enlightening for all to learn how
  to really deal with great food - what it is all really about take a
  look at the link below the signature. You might learn something about
  vanilla.
  BTW, we'll be looking for great programmers and designers who will want
  to participate in the adventure (as that is what it will be) - we'll
  surely be doing this as a non-profit thing and hope to develop something
  profitable along the way. The startup will require dedication and some
  time with the hope of worthwhile earnings once things are rolling.
  Requirements are: love of food (the real, natural stuff), a hate for
  Monsanto, corn
  
  What?  Monsanto makes great weed killers and what the hell is wrong with
  corn?!?!  Have you seriously never roated a cob in the husk over a wood
  fire and then submerged the cob into a vat of melted butter?  Plus pigs,
  cows and chickens eat it.  Mmmm...

  Ooooh, boy now this is really serious... :o
  I think your ignorance will be forgiven, maybe! And this is not meant
  disparagingly but you'd better find out about Monsanto and corn and how
  they are probably the greatest destructors of the the environment and
  our own bodies? Google it and get a hold of some books, like try Michael
  Pollan; do you have any idea of what Monsanto does and to whom and how?
  Do you know how corn is destroying whole economies of countries? Corn is
  sweeping continents because of human greed - it is being used to create
  all sorts of artificial food ingredients and even to produce petrol
  (oil) substitutes... even your own body is probably so full of corn
  derivatives that it is surprising that you haven't turned into a corn
  cob by now -- especially if you are not paying attention, and I mean
  great attention, to what you eat... like MacDos and pre-packaged
  prepared foods... just think for a minute: according to the current
  business models in just about everything including and especially the
  food industry... how do you think they boost their profits... certainly
  not by raising prices... nooh, that would not be cool... they just
  downgrade the quality of the ingredients and the workers so that  if
  ;you are not eating shit by the time it gets to your enteron (that is a
  word - one that Enron paid some 6 million smackers fo an agency and then
  found out that that is the the entire digestive tract right from one
  input hole to the output hole) :-D , it is a miracle
  glad to have this opportunity to rile - that is exactly the kind of
  thing that we want to do with the site that we are starting to
  develop... to destroy ignorance about food - to enllighten, inform and
  teach to have a greater society of well fed and healthy individuals...
  don't foget, you are what you eat - the name escapes me at the moment,
  but it was a great French chef of the 18th century who said that...
  I could go on at great length on that subject... but I have to goet some
  work done...
 
 Not ignorance but indifference to some of what you shout :-)
 
 I don't enjoy/eat macdonalds or other fast food and use pre-packaged
 stuff on rare occasion.  We buy fresh ingredients from local meat
 markets/farmers markets etc.  This includes corn.  Corn is yummy,
 chickens, pigs and cows eat corn and chickens, pigs and cows are yummy!
  Hell, cornbread is yummy!
 
 I do however cringe at the practice of burning our food in internal
 combustion engines.
 
 As for monsanto, I don't know much about them, but I know they have many
 different products/businesses.  The only one I use is roundup (I think
 this is monsanto).  It's great to kill the weeds in the cracks in the
 driveway and sidewalks.  Also, if it's not windy I use it in the mulched
 flower beds and sometimes in the areas filled with river rocks.
 
 I guess I should read more about it.  Did this come about before or
 after wal-mart started ruining the planet?  What about the communists
 contaminating our precious bodily fluids?
 
 Whatever you do, please, please, please, for the love 

Re: [PHP] whoami explanation

2009-03-04 Thread Paul M Foster
On Wed, Mar 04, 2009 at 04:16:40PM -0500, PJ wrote:

 Shawn McKenzie wrote:
  PJ wrote:
 
  Daniel Brown wrote:
 
  On Wed, Mar 4, 2009 at 10:42, PJ af.gour...@videotron.ca wrote:
 

snip

 Ooooh, boy now this is really serious... :o
 I think your ignorance will be forgiven, maybe! And this is not meant
 disparagingly but you'd better find out about Monsanto and corn and how
 they are probably the greatest destructors of the the environment and
 our own bodies? Google it and get a hold of some books, like try Michael
 Pollan; do you have any idea of what Monsanto does and to whom and how?
 Do you know how corn is destroying whole economies of countries? Corn is
 sweeping continents because of human greed - 

And it's yummy, too!

 it is being used to create
 all sorts of artificial food ingredients and even to produce petrol
 (oil) substitutes... 

And this is bad why? High fructose corn syrup is its own food group!
Yay!

While you're ranting about megacorporations, you might want to have a
shot at pharmaceutical companies, after reading the lists of side
effects for any prescription drug you care to name.

 even your own body is probably so full of corn
 derivatives that it is surprising that you haven't turned into a corn
 cob by now -- especially if you are not paying attention, and I mean
 great attention, to what you eat... like MacDos and pre-packaged
 prepared foods... 

McDonald's is my *favorite* fast food! Are you saying there's something
less than healthy about it?

Sorry, I used to live in LA, and I had health food people up to here.
They were the sickest people I knew. So I took it as my personal mission
to smoke, drink and eat as much crappy food as I could just to prove I'd
outlast them.

Paul

-- 
Paul M. Foster

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] whoami explanation

2009-03-04 Thread PJ
Robert Cummings wrote:
 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 af.gour...@videotron.ca wrote:
   
   
   
 Right on.  Good comments.
 No offense taken and none intended.
 I am enoying the list and will continue to participate, if i may.
 I have learned a great deal already and really do appreciate the help.
 
 
 
 So you mentioned your involvement in television production and
 briefly touched on cooking shows and such what brought you into
 the insanity of web programming?  New stage in life, or specifically
 to work on your daughter's site? 
   
   
 Her necessity and my curiosity coupled with an interesting challenge. :-)
 After this, there's the other site http://www.chiccantine.com - that's
 just a start for now... we're aiming for a really great site on food
 that will be instuctional as well as enlightening for all to learn how
 to really deal with great food - what it is all really about take a
 look at the link below the signature. You might learn something about
 vanilla.
 BTW, we'll be looking for great programmers and designers who will want
 to participate in the adventure (as that is what it will be) - we'll
 surely be doing this as a non-profit thing and hope to develop something
 profitable along the way. The startup will require dedication and some
 time with the hope of worthwhile earnings once things are rolling.
 Requirements are: love of food (the real, natural stuff), a hate for
 Monsanto, corn
 
 
 What?  Monsanto makes great weed killers and what the hell is wrong with
 corn?!?!  Have you seriously never roated a cob in the husk over a wood
 fire and then submerged the cob into a vat of melted butter?  Plus pigs,
 cows and chickens eat it.  Mmmm...
   
   
 Ooooh, boy now this is really serious... :o
 I think your ignorance will be forgiven, maybe! And this is not meant
 disparagingly but you'd better find out about Monsanto and corn and how
 they are probably the greatest destructors of the the environment and
 our own bodies? Google it and get a hold of some books, like try Michael
 Pollan; do you have any idea of what Monsanto does and to whom and how?
 Do you know how corn is destroying whole economies of countries? Corn is
 sweeping continents because of human greed - it is being used to create
 all sorts of artificial food ingredients and even to produce petrol
 (oil) substitutes... even your own body is probably so full of corn
 derivatives that it is surprising that you haven't turned into a corn
 cob by now -- especially if you are not paying attention, and I mean
 great attention, to what you eat... like MacDos and pre-packaged
 prepared foods... just think for a minute: according to the current
 business models in just about everything including and especially the
 food industry... how do you think they boost their profits... certainly
 not by raising prices... nooh, that would not be cool... they just
 downgrade the quality of the ingredients and the workers so that  if
 ;you are not eating shit by the time it gets to your enteron (that is a
 word - one that Enron paid some 6 million smackers fo an agency and then
 found out that that is the the entire digestive tract right from one
 input hole to the output hole) :-D , it is a miracle
 glad to have this opportunity to rile - that is exactly the kind of
 thing that we want to do with the site that we are starting to
 develop... to destroy ignorance about food - to enllighten, inform and
 teach to have a greater society of well fed and healthy individuals...
 don't foget, you are what you eat - the name escapes me at the moment,
 but it was a great French chef of the 18th century who said that...
 I could go on at great length on that subject... but I have to goet some
 work done...
 

 My wife bakes bread from scratch... delicious. I'm so lucky to have such
 an awesome woman. She cooks most meals from basic ingredients. Her
 favourite book is the Joy of Cooking.
   
That's ok, great for a start... there are so many books out there that are 
really great; but unfortunately there are far more that are done by schlubs and 
total idiots. As Benjie Franklin said, out of 100% you can figure 8% is silver 
and the remaining 2 is gold. And as Julia Child told my wife, They sure do get 
in our way, don't they!
It is a rare cookbook that is true and has functional recipes. Too many chefs 
(or rather those that pretend to be) lack the true essence of a great human 
being and that is sharing their knowledge and giving pleasure to others. One of 
the greatest living thefs is a froggie by the name of Michel Kerever who, last 
I knew, had and probably still has a restaurant in Paris called Les Deux 
Colonnes; he has a book out of some 600 pages with no illustrations and all 
his recipes work. A miracle.
If we keep this 

Re: [PHP] whoami explanation

2009-03-04 Thread PJ
Shawn McKenzie wrote:
 PJ wrote:
   
 Shawn McKenzie wrote:
 
 PJ wrote:
   
   
 Daniel Brown wrote:
 
 
 On Wed, Mar 4, 2009 at 10:42, PJ af.gour...@videotron.ca wrote:
   
   
   
 Right on.  Good comments.
 No offense taken and none intended.
 I am enoying the list and will continue to participate, if i may.
 I have learned a great deal already and really do appreciate the help.
 
 
 
 So you mentioned your involvement in television production and
 briefly touched on cooking shows and such what brought you into
 the insanity of web programming?  New stage in life, or specifically
 to work on your daughter's site? 
   
   
 Her necessity and my curiosity coupled with an interesting challenge. :-)
 After this, there's the other site http://www.chiccantine.com - that's
 just a start for now... we're aiming for a really great site on food
 that will be instuctional as well as enlightening for all to learn how
 to really deal with great food - what it is all really about take a
 look at the link below the signature. You might learn something about
 vanilla.
 BTW, we'll be looking for great programmers and designers who will want
 to participate in the adventure (as that is what it will be) - we'll
 surely be doing this as a non-profit thing and hope to develop something
 profitable along the way. The startup will require dedication and some
 time with the hope of worthwhile earnings once things are rolling.
 Requirements are: love of food (the real, natural stuff), a hate for
 Monsanto, corn
 
 
 What?  Monsanto makes great weed killers and what the hell is wrong with
 corn?!?!  Have you seriously never roated a cob in the husk over a wood
 fire and then submerged the cob into a vat of melted butter?  Plus pigs,
 cows and chickens eat it.  Mmmm...
   
   
 Ooooh, boy now this is really serious... :o
 I think your ignorance will be forgiven, maybe! And this is not meant
 disparagingly but you'd better find out about Monsanto and corn and how
 they are probably the greatest destructors of the the environment and
 our own bodies? Google it and get a hold of some books, like try Michael
 Pollan; do you have any idea of what Monsanto does and to whom and how?
 Do you know how corn is destroying whole economies of countries? Corn is
 sweeping continents because of human greed - it is being used to create
 all sorts of artificial food ingredients and even to produce petrol
 (oil) substitutes... even your own body is probably so full of corn
 derivatives that it is surprising that you haven't turned into a corn
 cob by now -- especially if you are not paying attention, and I mean
 great attention, to what you eat... like MacDos and pre-packaged
 prepared foods... just think for a minute: according to the current
 business models in just about everything including and especially the
 food industry... how do you think they boost their profits... certainly
 not by raising prices... nooh, that would not be cool... they just
 downgrade the quality of the ingredients and the workers so that  if
 ;you are not eating shit by the time it gets to your enteron (that is a
 word - one that Enron paid some 6 million smackers fo an agency and then
 found out that that is the the entire digestive tract right from one
 input hole to the output hole) :-D , it is a miracle
 glad to have this opportunity to rile - that is exactly the kind of
 thing that we want to do with the site that we are starting to
 develop... to destroy ignorance about food - to enllighten, inform and
 teach to have a greater society of well fed and healthy individuals...
 don't foget, you are what you eat - the name escapes me at the moment,
 but it was a great French chef of the 18th century who said that...
 I could go on at great length on that subject... but I have to goet some
 work done...
 

 Not ignorance but indifference to some of what you shout :-)

 I don't enjoy/eat macdonalds or other fast food and use pre-packaged
 stuff on rare occasion.  We buy fresh ingredients from local meat
 markets/farmers markets etc.  This includes corn.  Corn is yummy,
 chickens, pigs and cows eat corn and chickens, pigs and cows are yummy!
  Hell, cornbread is yummy!

 I do however cringe at the practice of burning our food in internal
 combustion engines.

 As for monsanto, I don't know much about them, but I know they have many
 different products/businesses.  The only one I use is roundup (I think
 this is monsanto).  It's great to kill the weeds in the cracks in the
 driveway and sidewalks.  Also, if it's not windy I use it in the mulched
 flower beds and sometimes in the areas filled with river rocks.

 I guess I should read more about it.  Did this come about before or
 after wal-mart started ruining the planet?  What about the communists
 contaminating our precious bodily fluids?

 Whatever you do, please, please, please, for the love of all that is
 

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 beef gravy!!

Cheers,
Rob.
-- 
http://www.interjinn.com
Application and Templating Framework for PHP


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] whoami explanation

2009-03-04 Thread PJ
Ashley Sheridan wrote:
 On Wed, 2009-03-04 at 15:48 -0600, Shawn McKenzie wrote:
   
 PJ wrote:
 
 Shawn McKenzie wrote:
   
 PJ wrote:
   
 
 Daniel Brown wrote:
 
   
 On Wed, Mar 4, 2009 at 10:42, PJ af.gour...@videotron.ca wrote:
   
   
 
 Right on.  Good comments.
 No offense taken and none intended.
 I am enoying the list and will continue to participate, if i may.
 I have learned a great deal already and really do appreciate the help.
 
 
   
 So you mentioned your involvement in television production and
 briefly touched on cooking shows and such what brought you into
 the insanity of web programming?  New stage in life, or specifically
 to work on your daughter's site? 
   
 
 Her necessity and my curiosity coupled with an interesting challenge. :-)
 After this, there's the other site http://www.chiccantine.com - that's
 just a start for now... we're aiming for a really great site on food
 that will be instuctional as well as enlightening for all to learn how
 to really deal with great food - what it is all really about take a
 look at the link below the signature. You might learn something about
 vanilla.
 BTW, we'll be looking for great programmers and designers who will want
 to participate in the adventure (as that is what it will be) - we'll
 surely be doing this as a non-profit thing and hope to develop something
 profitable along the way. The startup will require dedication and some
 time with the hope of worthwhile earnings once things are rolling.
 Requirements are: love of food (the real, natural stuff), a hate for
 Monsanto, corn
 
   
 What?  Monsanto makes great weed killers and what the hell is wrong with
 corn?!?!  Have you seriously never roated a cob in the husk over a wood
 fire and then submerged the cob into a vat of melted butter?  Plus pigs,
 cows and chickens eat it.  Mmmm...
   
 
 Ooooh, boy now this is really serious... :o
 I think your ignorance will be forgiven, maybe! And this is not meant
 disparagingly but you'd better find out about Monsanto and corn and how
 they are probably the greatest destructors of the the environment and
 our own bodies? Google it and get a hold of some books, like try Michael
 Pollan; do you have any idea of what Monsanto does and to whom and how?
 Do you know how corn is destroying whole economies of countries? Corn is
 sweeping continents because of human greed - it is being used to create
 all sorts of artificial food ingredients and even to produce petrol
 (oil) substitutes... even your own body is probably so full of corn
 derivatives that it is surprising that you haven't turned into a corn
 cob by now -- especially if you are not paying attention, and I mean
 great attention, to what you eat... like MacDos and pre-packaged
 prepared foods... just think for a minute: according to the current
 business models in just about everything including and especially the
 food industry... how do you think they boost their profits... certainly
 not by raising prices... nooh, that would not be cool... they just
 downgrade the quality of the ingredients and the workers so that  if
 ;you are not eating shit by the time it gets to your enteron (that is a
 word - one that Enron paid some 6 million smackers fo an agency and then
 found out that that is the the entire digestive tract right from one
 input hole to the output hole) :-D , it is a miracle
 glad to have this opportunity to rile - that is exactly the kind of
 thing that we want to do with the site that we are starting to
 develop... to destroy ignorance about food - to enllighten, inform and
 teach to have a greater society of well fed and healthy individuals...
 don't foget, you are what you eat - the name escapes me at the moment,
 but it was a great French chef of the 18th century who said that...
 I could go on at great length on that subject... but I have to goet some
 work done...
   
 Not ignorance but indifference to some of what you shout :-)

 I don't enjoy/eat macdonalds or other fast food and use pre-packaged
 stuff on rare occasion.  We buy fresh ingredients from local meat
 markets/farmers markets etc.  This includes corn.  Corn is yummy,
 chickens, pigs and cows eat corn and chickens, pigs and cows are yummy!
  Hell, cornbread is yummy!

 I do however cringe at the practice of burning our food in internal
 combustion engines.

 As for monsanto, I don't know much about them, but I know they have many
 different products/businesses.  The only one I use is roundup (I think
 this is monsanto).  It's great to kill the weeds in the cracks in the
 driveway and sidewalks.  Also, if it's not windy I use it in the mulched
 flower beds and sometimes in the areas filled with river rocks.

 I guess I should read more about it.  Did this come about before or
 after wal-mart started ruining the planet?  What about the communists
 contaminating our precious bodily 

Re: [PHP] whoami explanation

2009-03-04 Thread PJ
Paul M Foster wrote:
 On Wed, Mar 04, 2009 at 04:16:40PM -0500, PJ wrote:

   
 Shawn McKenzie wrote:
 
 PJ wrote:

   
 Daniel Brown wrote:

 
 On Wed, Mar 4, 2009 at 10:42, PJ af.gour...@videotron.ca wrote:

   

 snip

   
 Ooooh, boy now this is really serious... :o
 I think your ignorance will be forgiven, maybe! And this is not meant
 disparagingly but you'd better find out about Monsanto and corn and how
 they are probably the greatest destructors of the the environment and
 our own bodies? Google it and get a hold of some books, like try Michael
 Pollan; do you have any idea of what Monsanto does and to whom and how?
 Do you know how corn is destroying whole economies of countries? Corn is
 sweeping continents because of human greed - 
 

 And it's yummy, too!

   
 it is being used to create
 all sorts of artificial food ingredients and even to produce petrol
 (oil) substitutes... 
 

 And this is bad why? High fructose corn syrup is its own food group!
 Yay!

 While you're ranting about megacorporations, you might want to have a
 shot at pharmaceutical companies, after reading the lists of side
 effects for any prescription drug you care to name.

   
 even your own body is probably so full of corn
 derivatives that it is surprising that you haven't turned into a corn
 cob by now -- especially if you are not paying attention, and I mean
 great attention, to what you eat... like MacDos and pre-packaged
 prepared foods... 
 

 McDonald's is my *favorite* fast food! Are you saying there's something
 less than healthy about it?

 Sorry, I used to live in LA, and I had health food people up to here.
 They were the sickest people I knew. So I took it as my personal mission
 to smoke, drink and eat as much crappy food as I could just to prove I'd
 outlast them.

 Paul

   
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 and uninformed race... let's hope
that Obama can bring about some positive change...
Can you imagine an intelligent scientist, a physicist to boot, and, in
this case a she, who believes that the world is flat. It's rather sad
but true... only in America... probably the midwest of Bible belt ...
it's really religulous :-D

-- 
unheralded genius: A clean desk is the sign of a dull mind. 
-
Phil Jourdan --- p...@ptahhotep.com
   http://www.ptahhotep.com
   http://www.chiccantine.com/andypantry.php


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] whoami explanation

2009-03-04 Thread PJ
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 vilify potatoes!  ...or the Irish :-)
 

 Potatoes are best served sliced into sticks, pan-fried, covered in
 cheese curds, and then finally doused in beef gravy!!

 Cheers,
 Rob.
   
My god, where did you get that recipe... mind you, if all the
ingredients are top quality, I'm with you...
but it sounds more like something you'd get here inn Quebec it's called
poutine (NO, IT IS NOT RUSSIAN) and it is absolutely disgusting.
Wouldn't be caught dead eating that crap.

-- 
unheralded genius: A clean desk is the sign of a dull mind. 
-
Phil Jourdan --- p...@ptahhotep.com
   http://www.ptahhotep.com
   http://www.chiccantine.com/andypantry.php


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



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 vilify potatoes!  ...or the Irish :-)
  
 
  Potatoes are best served sliced into sticks, pan-fried, covered in
  cheese curds, and then finally doused in beef gravy!!
 
  Cheers,
  Rob.

 My god, where did you get that recipe... mind you, if all the
 ingredients are top quality, I'm with you...
 but it sounds more like something you'd get here inn Quebec it's called
 poutine (NO, IT IS NOT RUSSIAN) and it is absolutely disgusting.
 Wouldn't be caught dead eating that crap.

Ummm... I live in Ottawa... I know what it's called :) And poutine
rocks!

Cheers,
Rob.
-- 
http://www.interjinn.com
Application and Templating Framework for PHP


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



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 possible to rectify this problem! ;)

It depends on where you live... for instance the Scotts would say that
the sheep gives the most warmth on a cold night :B

Cheers,
Rob.
-- 
http://www.interjinn.com
Application and Templating Framework for PHP


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] whoami explanation

2009-03-04 Thread PJ
Robert Cummings wrote:
 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 vilify potatoes!  ...or the Irish :-)
 
 
 Potatoes are best served sliced into sticks, pan-fried, covered in
 cheese curds, and then finally doused in beef gravy!!

 Cheers,
 Rob.
   
   
 My god, where did you get that recipe... mind you, if all the
 ingredients are top quality, I'm with you...
 but it sounds more like something you'd get here inn Quebec it's called
 poutine (NO, IT IS NOT RUSSIAN) and it is absolutely disgusting.
 Wouldn't be caught dead eating that crap.
 

 Ummm... I live in Ottawa... I know what it's called :) And poutine
 rocks!

 Cheers,
 Rob.
   
Like I said, if it's made with top quality ingredients it can be great...
otherwise... it's a matter of personal taste, I suppose... :-(

-- 
unheralded genius: A clean desk is the sign of a dull mind. 
-
Phil Jourdan --- p...@ptahhotep.com
   http://www.ptahhotep.com
   http://www.chiccantine.com/andypantry.php


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] whoami explanation

2009-03-04 Thread Ashley Sheridan
On Wed, 2009-03-04 at 17:46 -0500, Robert Cummings wrote:
 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 possible to rectify this problem! ;)
 
 It depends on where you live... for instance the Scotts would say that
 the sheep gives the most warmth on a cold night :B
 
 Cheers,
 Rob.
 -- 
 http://www.interjinn.com
 Application and Templating Framework for PHP
 
 
I'm pretty sure that's the Welsh. The Scots just fill the sheeps'
stomachs with offal and oats and when not cooking this concoction, roll
them down hills for sport...


Ash
www.ashleysheridan.co.uk


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] whoami explanation

2009-03-04 Thread Ashley Sheridan
On Wed, 2009-03-04 at 17:40 -0500, PJ wrote:
 Paul M Foster wrote:
  On Wed, Mar 04, 2009 at 04:16:40PM -0500, PJ wrote:
 

  Shawn McKenzie wrote:
  
  PJ wrote:
 

  Daniel Brown wrote:
 
  
  On Wed, Mar 4, 2009 at 10:42, PJ af.gour...@videotron.ca wrote:
 

 
  snip
 

  Ooooh, boy now this is really serious... :o
  I think your ignorance will be forgiven, maybe! And this is not meant
  disparagingly but you'd better find out about Monsanto and corn and how
  they are probably the greatest destructors of the the environment and
  our own bodies? Google it and get a hold of some books, like try Michael
  Pollan; do you have any idea of what Monsanto does and to whom and how?
  Do you know how corn is destroying whole economies of countries? Corn is
  sweeping continents because of human greed - 
  
 
  And it's yummy, too!
 

  it is being used to create
  all sorts of artificial food ingredients and even to produce petrol
  (oil) substitutes... 
  
 
  And this is bad why? High fructose corn syrup is its own food group!
  Yay!
 
  While you're ranting about megacorporations, you might want to have a
  shot at pharmaceutical companies, after reading the lists of side
  effects for any prescription drug you care to name.
 

  even your own body is probably so full of corn
  derivatives that it is surprising that you haven't turned into a corn
  cob by now -- especially if you are not paying attention, and I mean
  great attention, to what you eat... like MacDos and pre-packaged
  prepared foods... 
  
 
  McDonald's is my *favorite* fast food! Are you saying there's something
  less than healthy about it?
 
  Sorry, I used to live in LA, and I had health food people up to here.
  They were the sickest people I knew. So I took it as my personal mission
  to smoke, drink and eat as much crappy food as I could just to prove I'd
  outlast them.
 
  Paul
 

 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 and uninformed race... let's hope
 that Obama can bring about some positive change...
 Can you imagine an intelligent scientist, a physicist to boot, and, in
 this case a she, who believes that the world is flat. It's rather sad
 but true... only in America... probably the midwest of Bible belt ...
 it's really religulous :-D
 
 -- 
 unheralded genius: A clean desk is the sign of a dull mind. 
 -
 Phil Jourdan --- p...@ptahhotep.com
http://www.ptahhotep.com
http://www.chiccantine.com/andypantry.php
 
 
What, you mean it isn't a flat disc supported on the back of four
elephants who ride on the great turtle A'Tuin?!


Ash
www.ashleysheridan.co.uk


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



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 and uninformed race... let's hope
  that Obama can bring about some positive change...
  Can you imagine an intelligent scientist, a physicist to boot, and, in
  this case a she, who believes that the world is flat. It's rather sad
  but true... only in America... probably the midwest of Bible belt ...
  it's really religulous :-D
  
 What, you mean it isn't a flat disc supported on the back of four
 elephants who ride on the great turtle A'Tuin?!

Earthquakes are caused by farting... I blame the elephants for global
warming due to all that methane!!!

Cheers,
Rob.
-- 
http://www.interjinn.com
Application and Templating Framework for PHP


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] whoami explanation

2009-03-04 Thread Ashley Sheridan
On Wed, 2009-03-04 at 18:16 -0500, PJ wrote:
 Ashley Sheridan wrote:
  On Wed, 2009-03-04 at 17:40 -0500, PJ wrote:

  Paul M Foster wrote:
  
  On Wed, Mar 04, 2009 at 04:16:40PM -0500, PJ wrote:
 


  Shawn McKenzie wrote:
  
  
  PJ wrote:
 


  Daniel Brown wrote:
 
  
  
  On Wed, Mar 4, 2009 at 10:42, PJ af.gour...@videotron.ca wrote:
 


  snip
 


  Ooooh, boy now this is really serious... :o
  I think your ignorance will be forgiven, maybe! And this is not meant
  disparagingly but you'd better find out about Monsanto and corn and how
  they are probably the greatest destructors of the the environment and
  our own bodies? Google it and get a hold of some books, like try Michael
  Pollan; do you have any idea of what Monsanto does and to whom and how?
  Do you know how corn is destroying whole economies of countries? Corn is
  sweeping continents because of human greed - 
  
  
  And it's yummy, too!
 


  it is being used to create
  all sorts of artificial food ingredients and even to produce petrol
  (oil) substitutes... 
  
  
  And this is bad why? High fructose corn syrup is its own food group!
  Yay!
 
  While you're ranting about megacorporations, you might want to have a
  shot at pharmaceutical companies, after reading the lists of side
  effects for any prescription drug you care to name.
 


  even your own body is probably so full of corn
  derivatives that it is surprising that you haven't turned into a corn
  cob by now -- especially if you are not paying attention, and I mean
  great attention, to what you eat... like MacDos and pre-packaged
  prepared foods... 
  
  
  McDonald's is my *favorite* fast food! Are you saying there's something
  less than healthy about it?
 
  Sorry, I used to live in LA, and I had health food people up to here.
  They were the sickest people I knew. So I took it as my personal mission
  to smoke, drink and eat as much crappy food as I could just to prove I'd
  outlast them.
 
  Paul
 


  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 and uninformed race... let's hope
  that Obama can bring about some positive change...
  Can you imagine an intelligent scientist, a physicist to boot, and, in
  this case a she, who believes that the world is flat. It's rather sad
  but true... only in America... probably the midwest of Bible belt ...
  it's really religulous :-D
 
  -- 
  unheralded genius: A clean desk is the sign of a dull mind. 
  -
  Phil Jourdan --- p...@ptahhotep.com
 http://www.ptahhotep.com
 http://www.chiccantine.com/andypantry.php
 
 
  
  What, you mean it isn't a flat disc supported on the back of four
  elephants who ride on the great turtle A'Tuin?!
 
 
  Ash
  www.ashleysheridan.co.uk
 
 

 This is just too hilarious...that's good, very good...
 
Hehe, it's a Discworld thing!


Ash
www.ashleysheridan.co.uk


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] whoami explanation

2009-03-04 Thread Ashley Sheridan
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 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 possible to rectify this problem! ;)

  It depends on where you live... for instance the Scotts would say that
  the sheep gives the most warmth on a cold night :B
 
  Cheers,
  Rob.
  -- 
  http://www.interjinn.com
  Application and Templating Framework for PHP
 
 
  
  I'm pretty sure that's the Welsh. The Scots just fill the sheeps'
  stomachs with offal and oats and when not cooking this concoction, roll
  them down hills for sport...
 
 
  Ash
  www.ashleysheridan.co.uk
 
 

 :-D ;-) :-D ;-) :-D :'( :-D :'(
 
For the record, I'm actually quite a big fan of Haggis!


Ash
www.ashleysheridan.co.uk


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] whoami explanation

2009-03-04 Thread PJ
Ashley Sheridan wrote:
 On Wed, 2009-03-04 at 17:46 -0500, Robert Cummings wrote:
   
 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 possible to rectify this problem! ;)
   
 It depends on where you live... for instance the Scotts would say that
 the sheep gives the most warmth on a cold night :B

 Cheers,
 Rob.
 -- 
 http://www.interjinn.com
 Application and Templating Framework for PHP


 
 I'm pretty sure that's the Welsh. The Scots just fill the sheeps'
 stomachs with offal and oats and when not cooking this concoction, roll
 them down hills for sport...


 Ash
 www.ashleysheridan.co.uk


   
:-D ;-) :-D ;-) :-D :'( :-D :'(

-- 
unheralded genius: A clean desk is the sign of a dull mind. 
-
Phil Jourdan --- p...@ptahhotep.com
   http://www.ptahhotep.com
   http://www.chiccantine.com/andypantry.php


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] whoami explanation

2009-03-04 Thread PJ
Ashley Sheridan wrote:
 On Wed, 2009-03-04 at 17:40 -0500, PJ wrote:
   
 Paul M Foster wrote:
 
 On Wed, Mar 04, 2009 at 04:16:40PM -0500, PJ wrote:

   
   
 Shawn McKenzie wrote:
 
 
 PJ wrote:

   
   
 Daniel Brown wrote:

 
 
 On Wed, Mar 4, 2009 at 10:42, PJ af.gour...@videotron.ca wrote:

   
   
 snip

   
   
 Ooooh, boy now this is really serious... :o
 I think your ignorance will be forgiven, maybe! And this is not meant
 disparagingly but you'd better find out about Monsanto and corn and how
 they are probably the greatest destructors of the the environment and
 our own bodies? Google it and get a hold of some books, like try Michael
 Pollan; do you have any idea of what Monsanto does and to whom and how?
 Do you know how corn is destroying whole economies of countries? Corn is
 sweeping continents because of human greed - 
 
 
 And it's yummy, too!

   
   
 it is being used to create
 all sorts of artificial food ingredients and even to produce petrol
 (oil) substitutes... 
 
 
 And this is bad why? High fructose corn syrup is its own food group!
 Yay!

 While you're ranting about megacorporations, you might want to have a
 shot at pharmaceutical companies, after reading the lists of side
 effects for any prescription drug you care to name.

   
   
 even your own body is probably so full of corn
 derivatives that it is surprising that you haven't turned into a corn
 cob by now -- especially if you are not paying attention, and I mean
 great attention, to what you eat... like MacDos and pre-packaged
 prepared foods... 
 
 
 McDonald's is my *favorite* fast food! Are you saying there's something
 less than healthy about it?

 Sorry, I used to live in LA, and I had health food people up to here.
 They were the sickest people I knew. So I took it as my personal mission
 to smoke, drink and eat as much crappy food as I could just to prove I'd
 outlast them.

 Paul

   
   
 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 and uninformed race... let's hope
 that Obama can bring about some positive change...
 Can you imagine an intelligent scientist, a physicist to boot, and, in
 this case a she, who believes that the world is flat. It's rather sad
 but true... only in America... probably the midwest of Bible belt ...
 it's really religulous :-D

 -- 
 unheralded genius: A clean desk is the sign of a dull mind. 
 -
 Phil Jourdan --- p...@ptahhotep.com
http://www.ptahhotep.com
http://www.chiccantine.com/andypantry.php


 
 What, you mean it isn't a flat disc supported on the back of four
 elephants who ride on the great turtle A'Tuin?!


 Ash
 www.ashleysheridan.co.uk


   
This is just too hilarious...that's good, very good...

-- 
unheralded genius: A clean desk is the sign of a dull mind. 
-
Phil Jourdan --- p...@ptahhotep.com
   http://www.ptahhotep.com
   http://www.chiccantine.com/andypantry.php


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] whoami explanation

2009-03-04 Thread Shawn McKenzie
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 vilify potatoes!  ...or the Irish :-)
 
 Potatoes are best served sliced into sticks, pan-fried, covered in
 cheese curds, and then finally doused in beef gravy!!
 
 Cheers,
 Rob.

O.K.  you had me hooked until cheese curds :-P

Potatoes are best served sliced into sticks, pan-fried, covered in
ground beef, and then finally doused in beef gravy!!

-- 
Thanks!
-Shawn
http://www.spidean.com

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



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 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 possible to rectify this problem! ;)
 
   It depends on where you live... for instance the Scotts would say that
   the sheep gives the most warmth on a cold night :B
  
   Cheers,
   Rob.
   -- 
   http://www.interjinn.com
   Application and Templating Framework for PHP
  
  
   
   I'm pretty sure that's the Welsh. The Scots just fill the sheeps'
   stomachs with offal and oats and when not cooking this concoction, roll
   them down hills for sport...
  
  
   Ash
   www.ashleysheridan.co.uk
  
  
 
  :-D ;-) :-D ;-) :-D :'( :-D :'(
  
 For the record, I'm actually quite a big fan of Haggis!

Me too :) I grew up in Scotland... that and black pudding (not blood
pudding though).

Cheers,
Rob.
-- 
http://www.interjinn.com
Application and Templating Framework for PHP


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] whoami explanation

2009-03-04 Thread PJ
Shawn McKenzie 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 vilify potatoes!  ...or the Irish :-)
   
 Potatoes are best served sliced into sticks, pan-fried, covered in
 cheese curds, and then finally doused in beef gravy!!

 Cheers,
 Rob.
 

 O.K.  you had me hooked until cheese curds :-P

 Potatoes are best served sliced into sticks, pan-fried, covered in
 ground beef, and then finally doused in beef gravy!!

   
Wow, this is really high end gourmet fare... O:-)

-- 
unheralded genius: A clean desk is the sign of a dull mind. 
-
Phil Jourdan --- p...@ptahhotep.com
   http://www.ptahhotep.com
   http://www.chiccantine.com/andypantry.php


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] whoami explanation

2009-03-04 Thread Shawn McKenzie
PJ wrote:
 Shawn McKenzie 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 vilify potatoes!  ...or the Irish :-)
   
 Potatoes are best served sliced into sticks, pan-fried, covered in
 cheese curds, and then finally doused in beef gravy!!

 Cheers,
 Rob.
 
 O.K.  you had me hooked until cheese curds :-P

 Potatoes are best served sliced into sticks, pan-fried, covered in
 ground beef, and then finally doused in beef gravy!!

   
 Wow, this is really high end gourmet fare... O:-)
 

Well, the ground beef is actually tartar and it goes without saying that
it would be topped with foie gras and grape chutney with caviar on the side.


-- 
Thanks!
-Shawn
http://www.spidean.com

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] whoami explanation

2009-03-04 Thread Shawn McKenzie
Shawn McKenzie wrote:
 PJ wrote:
 Shawn McKenzie 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 vilify potatoes!  ...or the Irish :-)
   
 Potatoes are best served sliced into sticks, pan-fried, covered in
 cheese curds, and then finally doused in beef gravy!!

 Cheers,
 Rob.
 
 O.K.  you had me hooked until cheese curds :-P

 Potatoes are best served sliced into sticks, pan-fried, covered in
 ground beef, and then finally doused in beef gravy!!

   
 Wow, this is really high end gourmet fare... O:-)

 
 Well, the ground beef is actually tartar and it goes without saying that
 it would be topped with foie gras and grape chutney with caviar on the side.
 
 

I Left Rob's beef gravy, but normally I see this with a verjus port
glaze to compliment the chutney.

-- 
Thanks!
-Shawn
http://www.spidean.com

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] whoami explanation

2009-03-04 Thread Daniel Brown
On Wed, Mar 4, 2009 at 20:28, Shawn McKenzie nos...@mckenzies.net wrote:

 Well, the ground beef is actually tartar and it goes without saying that
 it would be topped with foie gras and grape chutney with caviar on the side.

 with gold-plated platinum flakes and diamond-dust salt.

-- 
/Daniel P. Brown
daniel.br...@parasane.net || danbr...@php.net
http://www.parasane.net/ || http://www.pilotpig.net/
50% Off All Shared Hosting Plans at PilotPig: Use Coupon DOW1

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] whoami explanation

2009-03-04 Thread VamVan
On Wed, Mar 4, 2009 at 7:35 PM, Daniel Brown danbr...@php.net wrote:

 On Wed, Mar 4, 2009 at 20:28, Shawn McKenzie nos...@mckenzies.net wrote:
 
  Well, the ground beef is actually tartar and it goes without saying that
  it would be topped with foie gras and grape chutney with caviar on the
 side.

  with gold-plated platinum flakes and diamond-dust salt.


Hey Guys I have  Question. I just noticed that once the whoami thread
reached 100 posts it automatically created another thread. Is this intended?

Can a discussion be only 100 post's long??

Just out of curiosity :)

V


Re: [PHP] whoami explanation

2009-03-04 Thread Daniel Brown
On Wed, Mar 4, 2009 at 22:46, VamVan vamsee...@gmail.com wrote:

 Hey Guys I have  Question. I just noticed that once the whoami thread
 reached 100 posts it automatically created another thread. Is this intended?

 Can a discussion be only 100 post's long??

 Just out of curiosity :)

In Gmail, yes.  That can also happen with someone's mail client
being improperly configured, but over the years on the different
mailing lists --- this one especially --- Gmail seems to cap each
thread to 100 for me as well.  Could be coincidence, but that's
probably considered a feature.

-- 
/Daniel P. Brown
daniel.br...@parasane.net || danbr...@php.net
http://www.parasane.net/ || http://www.pilotpig.net/
50% Off All Shared Hosting Plans at PilotPig: Use Coupon DOW1

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] whoami explanation

2009-03-04 Thread VamVan
On Wed, Mar 4, 2009 at 7:50 PM, Daniel Brown danbr...@php.net wrote:

 On Wed, Mar 4, 2009 at 22:46, VamVan vamsee...@gmail.com wrote:
 
  Hey Guys I have  Question. I just noticed that once the whoami thread
  reached 100 posts it automatically created another thread. Is this
 intended?
 
  Can a discussion be only 100 post's long??
 
  Just out of curiosity :)

 In Gmail, yes.  That can also happen with someone's mail client
 being improperly configured, but over the years on the different
 mailing lists --- this one especially --- Gmail seems to cap each
 thread to 100 for me as well.  Could be coincidence, but that's
 probably considered a feature.


Ohh interesting. Thanks for clarifying. I was kind of mystified for few
seconds.

:)

V



 --
 /Daniel P. Brown
 daniel.br...@parasane.net || danbr...@php.net
 http://www.parasane.net/ || http://www.pilotpig.net/
 50% Off All Shared Hosting Plans at PilotPig: Use Coupon DOW1



[PHP] whoami explanation

2009-03-03 Thread PJ
This really needs some explanation
I found this on the web:
?php echo `whoami`; ?
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
/command/ ) does not,
COPIED AND PASTED:
|?php
// outputs the username that owns the running php/httpd process
// (on a system with the whoami executable in the path)
echo exec('whoami');
? |
What is going on here?
And I often find such discrepancies in examples - and some wonder why I
seem to be so stupid... and don't know the fundamentals... :-\
-- 

Phil Jourdan --- p...@ptahhotep.com
http://www.ptahhotep.com
http://www.chiccantine.com

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



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:
 ?php echo `whoami`; ?
 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
 /command/ ) does not,
 COPIED AND PASTED:
 |?php
 // outputs the username that owns the running php/httpd process
 // (on a system with the whoami executable in the path)
 echo exec('whoami');
 ? |
 What is going on here?
 And I often find such discrepancies in examples - and some wonder why I
 seem to be so stupid... and don't know the fundamentals... :-\

Those are backticks. They execute a program via the shell. If you drop
to the shell and type whoami at the prompt you will get the same result.
The backticks operator returns the shell's output which is why it can be
echoed.

Cheers,
Rob.
-- 
http://www.interjinn.com
Application and Templating Framework for PHP


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] whoami explanation

2009-03-03 Thread Per Jessen
PJ wrote:

 This really needs some explanation
 I found this on the web:
 ?php echo `whoami`; ?
 with it there was the comment the direction of those single-quotes
 matters (WHY ?) and it works
 

GIYF - look up back quotes.

 But this (_*FROM THE PHP MANUAL***_ * -  exec()* executes the given
 /command/ ) does not,
 COPIED AND PASTED:
 |?php
 // outputs the username that owns the running php/httpd process
 // (on a system with the whoami executable in the path)
 echo exec('whoami');
 ? |
 What is going on here?

What sort of error did you get?  (it works fine here).


/Per

-- 
Per Jessen, Zürich (6.4°C)


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] whoami explanation

2009-03-03 Thread Daniel Brown
On Tue, Mar 3, 2009 at 10:42, PJ af.gour...@videotron.ca wrote:
 This really needs some explanation
 I found this on the web:
 ?php echo `whoami`; ?
 with it there was the comment the direction of those single-quotes matters
 (WHY ?)

Those are called backtick operators.  Like in BASh and most
other *NIX shells, that instructs the parser to evaluate, execute, and
return the result of the command within the ticks.

 But this (_*FROM THE PHP MANUAL***_ * -  exec()* executes the given
 /command/ ) does not,
 COPIED AND PASTED:
 |?php
 // outputs the username that owns the running php/httpd process
 // (on a system with the whoami executable in the path)
 echo exec('whoami');
 ? |
 What is going on here?

What you want to do with exec() is run it properly (RTFM for real ;-P).

?php
exec('whoami',$ret,$err);
echo $ret[0].\n;
?

The second parameter passed to exec() is the return array from
STDOUT, the third is the error response on channel 2 (STDERR).

 And I often find such discrepancies in examples - and some wonder why I
 seem to be so stupid... and don't know the fundamentals... :-\

I highly doubt that you're stupid you just need to pay closer
attention to what the manual is actually saying.  Check the user notes
as well, and then devise your own pattern from the collective examples
--- it'll jump-start your learning.

-- 
/Daniel P. Brown
daniel.br...@parasane.net || danbr...@php.net
http://www.parasane.net/ || http://www.pilotpig.net/
50% Off All Shared Hosting Plans at PilotPig: Use Coupon DOW1

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] whoami explanation

2009-03-03 Thread PJ
Per Jessen wrote:
 PJ wrote:

   
 This really needs some explanation
 I found this on the web:
 ?php echo `whoami`; ?
 with it there was the comment the direction of those single-quotes
 matters (WHY ?) and it works

 

 GIYF - look up back quotes.

   
 But this (_*FROM THE PHP MANUAL***_ * -  exec()* executes the given
 /command/ ) does not,
 COPIED AND PASTED:
 |?php
 // outputs the username that owns the running php/httpd process
 // (on a system with the whoami executable in the path)
 echo exec('whoami');
 ? |
 What is going on here?
 

 What sort of error did you get?  (it works fine here).


 /Per
   
blank page

-- 

Phil Jourdan --- p...@ptahhotep.com
   http://www.ptahhotep.com
   http://www.chiccantine.com


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] whoami explanation

2009-03-03 Thread PJ
Per Jessen wrote:
 PJ wrote:

   
 This really needs some explanation
 I found this on the web:
 ?php echo `whoami`; ?
 with it there was the comment the direction of those single-quotes
 matters (WHY ?) and it works

 

 GIYF - look up back quotes.

   
 But this (_*FROM THE PHP MANUAL***_ * -  exec()* executes the given
 /command/ ) does not,
 COPIED AND PASTED:
 |?php
 // outputs the username that owns the running php/httpd process
 // (on a system with the whoami executable in the path)
 echo exec('whoami');
 ? |
 What is going on here?
 

 What sort of error did you get?  (it works fine here).


 /Per
   
forgot to add:
What's the difference between back ticks or quotes and regular single
quotes?
How does one enter back quotes from the keyboard?

-- 

Phil Jourdan --- p...@ptahhotep.com
   http://www.ptahhotep.com
   http://www.chiccantine.com


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



RE: [PHP] whoami explanation

2009-03-03 Thread bruce
hi pj...

single quotes are entered via the key directly left from the return/enter
key on most/all qwerty keyboards...

the 'backtic' is normally the shift '~' key... the key, right to the left of
the '1' key... in the upper left position of the keyboard...




-Original Message-
From: PJ [mailto:af.gour...@videotron.ca]
Sent: Tuesday, March 03, 2009 7:57 AM
To: Per Jessen
Cc: php-general@lists.php.net
Subject: Re: [PHP] whoami explanation


Per Jessen wrote:
 PJ wrote:


 This really needs some explanation
 I found this on the web:
 ?php echo `whoami`; ?
 with it there was the comment the direction of those single-quotes
 matters (WHY ?) and it works



 GIYF - look up back quotes.


 But this (_*FROM THE PHP MANUAL***_ * -  exec()* executes the given
 /command/ ) does not,
 COPIED AND PASTED:
 |?php
 // outputs the username that owns the running php/httpd process
 // (on a system with the whoami executable in the path)
 echo exec('whoami');
 ? |
 What is going on here?


 What sort of error did you get?  (it works fine here).


 /Per

forgot to add:
What's the difference between back ticks or quotes and regular single
quotes?
How does one enter back quotes from the keyboard?

--

Phil Jourdan --- p...@ptahhotep.com
   http://www.ptahhotep.com
   http://www.chiccantine.com


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] whoami explanation

2009-03-03 Thread Per Jessen
PJ wrote:

 forgot to add:
 What's the difference between back ticks or quotes and regular single
 quotes?

text in back ticks is executed via a shell, text in single quotes isn't. 

 How does one enter back quotes from the keyboard?
 

Depends on your keyboard - on my current keyboard, the back tick is sat
on the key to the left of '1' on the top row. 


/Per

-- 
Per Jessen, Zürich (6.4°C)


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] whoami explanation

2009-03-03 Thread Daniel Brown
On Tue, Mar 3, 2009 at 10:57, PJ af.gour...@videotron.ca wrote:

 forgot to add:
 What's the difference between back ticks or quotes and regular single
 quotes?
 How does one enter back quotes from the keyboard?

Welcome to the Internet!

The first place you should look when you have a question is on
Google.  The first result that comes up for backtick operator is the
PHP manual itself:

http://php.net/language.operators.execution

If you don't know where a key is on your keyboard, please look down.

-- 
/Daniel P. Brown
daniel.br...@parasane.net || danbr...@php.net
http://www.parasane.net/ || http://www.pilotpig.net/
50% Off All Shared Hosting Plans at PilotPig: Use Coupon DOW1

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] whoami explanation

2009-03-03 Thread PJ
Per Jessen wrote:
 PJ wrote:

   
 This really needs some explanation
 I found this on the web:
 ?php echo `whoami`; ?
 with it there was the comment the direction of those single-quotes
 matters (WHY ?) and it works

 

 GIYF - look up back quotes.

   
 But this (_*FROM THE PHP MANUAL***_ * -  exec()* executes the given
 /command/ ) does not,
 COPIED AND PASTED:
 |?php
 // outputs the username that owns the running php/httpd process
 // (on a system with the whoami executable in the path)
 echo exec('whoami');
 ? |
 What is going on here?
 

 What sort of error did you get?  (it works fine here).


 /Per

   
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!

-- 

Phil Jourdan --- p...@ptahhotep.com
   http://www.ptahhotep.com
   http://www.chiccantine.com


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



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:
  ?php echo `whoami`; ?
  with it there was the comment the direction of those single-quotes
  matters (WHY ?) and it works
 
  
 
  GIYF - look up back quotes.
 

  But this (_*FROM THE PHP MANUAL***_ * -  exec()* executes the given
  /command/ ) does not,
  COPIED AND PASTED:
  |?php
  // outputs the username that owns the running php/httpd process
  // (on a system with the whoami executable in the path)
  echo exec('whoami');
  ? |
  What is going on here?
  
 
  What sort of error did you get?  (it works fine here).
 
 
  /Per

 forgot to add:
 What's the difference between back ticks or quotes and regular single
 quotes?
 How does one enter back quotes from the keyboard?

Single quotes don't interpolate (expand) variables within them. They are
for string literals. Only escaping recognized is \\ to include a
backslash and \' to include a single quote. Double quotes recognize all
sorts of escape chars such as \n for newline, \r for carriage return, \t
for tab, etc, etc. Additionally they expand embedded variables to their
value. Backtick key can usually be found to the left of the 1 key and
unders the escape key.

Cheers,
Rob.
-- 
http://www.interjinn.com
Application and Templating Framework for PHP


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] whoami explanation

2009-03-03 Thread Daniel Brown
On Tue, Mar 3, 2009 at 11:03, PJ af.gour...@videotron.ca 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 assuming that we're assuming something (though I don't even
know to whom that's supposed to be directed).

Backtick operators have been around since the inception of UNIX
itself.  I don't mean this offensively by any means whatsoever, but if
you haven't run into them before, you haven't been tinkering very
much.

-- 
/Daniel P. Brown
daniel.br...@parasane.net || danbr...@php.net
http://www.parasane.net/ || http://www.pilotpig.net/
50% Off All Shared Hosting Plans at PilotPig: Use Coupon DOW1

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] whoami explanation

2009-03-03 Thread PJ
Daniel Brown wrote:
 On Tue, Mar 3, 2009 at 10:57, PJ af.gour...@videotron.ca wrote:
   
 forgot to add:
 What's the difference between back ticks or quotes and regular single
 quotes?
 How does one enter back quotes from the keyboard?
 

 Welcome to the Internet!

 The first place you should look when you have a question is on
 Google.  The first result that comes up for backtick operator is the
 PHP manual itself:

 http://php.net/language.operators.execution

 If you don't know where a key is on your keyboard, please look down.

   
I don't think it's necessary to be sarcastic...
Hate to disappoint you, but on my computer (FreeBSD 7.0) on Firefox
Google does not go directly to the php manual... it goes to some nitwit
site thinkexist.com
So, this list is a much better source of information that waddling
through the crap that's thrown at you on G.
And I find that Googie is getting pretty garbagy even if there is
nothing better around ;-)
As for the keyboard, this is the first time I have ever, ever needed the
back quote key although I have occasionally needed the ~ key for Windows
stuff.

-- 

Phil Jourdan --- p...@ptahhotep.com
   http://www.ptahhotep.com
   http://www.chiccantine.com


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



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 tinkering hard enough then. Put your mouse down!

Cheers,
Rob.
-- 
http://www.interjinn.com
Application and Templating Framework for PHP


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] whoami explanation

2009-03-03 Thread PJ
Per Jessen wrote:
 PJ wrote:

   
 forgot to add:
 What's the difference between back ticks or quotes and regular single
 quotes?
 

 text in back ticks is executed via a shell, text in single quotes isn't.
   
Ok, but how does this relate to a command passed from a php Web page?
I don't understand the processus.
I use bash on my FreeBSD and have not needed a back quote yet that I can
recall... and on WinXP?
   
 How does one enter back quotes from the keyboard?

 

 Depends on your keyboard - on my current keyboard, the back tick is sat
 on the key to the left of '1' on the top row. 


 /Per
   
Found it. :-[  on a linux site and on my keyboard


-- 

Phil Jourdan --- p...@ptahhotep.com
   http://www.ptahhotep.com
   http://www.chiccantine.com


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] whoami explanation

2009-03-03 Thread Daniel Brown
On Tue, Mar 3, 2009 at 11:16, PJ af.gour...@videotron.ca wrote:

 I don't think it's necessary to be sarcastic...

That's okay, I'll allow it anyway.

 Hate to disappoint you, but on my computer (FreeBSD 7.0) on Firefox
 Google does not go directly to the php manual... it goes to some nitwit
 site thinkexist.com

And I hate to disappoint you, but it's not related to the
operating system and browser being used --- it's a centralized remote
database in the form of a search engine.  The result you see with that
(unless you're using some particular language or locality preferences)
is the same I see, the same Per sees, the same Rob sees, the same we
all see.

 So, this list is a much better source of information that waddling
 through the crap that's thrown at you on G.
 And I find that Googie is getting pretty garbagy even if there is
 nothing better around ;-)

I agree with you on that.  What used to be a superior algorithm is
slowly and inevitably turning into a standard, run-of-the-mill search
engine that's being SPAM'ed and exploited with blackhat SEO crap that
certainly lowers the value of the results as a whole.

 As for the keyboard, this is the first time I have ever, ever needed the
 back quote key although I have occasionally needed the ~ key for Windows
 stuff.

Yeah, I think the only thing that Windows uses it for is
punctuation, but since ~1970 UNIX has used it for code execution
purposes.  Just keep in mind that, in PHP, it's run completely raw ---
so make sure you do your sanity checks before passing any kind of user
input to that (as always).

-- 
/Daniel P. Brown
daniel.br...@parasane.net || danbr...@php.net
http://www.parasane.net/ || http://www.pilotpig.net/
50% Off All Shared Hosting Plans at PilotPig: Use Coupon DOW1

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] whoami explanation

2009-03-03 Thread Daniel Brown
On Tue, Mar 3, 2009 at 11:22, PJ af.gour...@videotron.ca wrote:

 Ok, but how does this relate to a command passed from a php Web page?
 I don't understand the processus.
 I use bash on my FreeBSD and have not needed a back quote yet that I can
 recall... and on WinXP?

As in the email I just sent, remember to sanitize any commands
passed from the web (or anywhere, for that matter), but here are some
examples.

?php

$name = Dan;

echo Hello, my name is $name.; // Output: Hello, my name is Dan.
echo 'Hello, my name is $name.'; // Output: Hello, my name is $name.
echo `Hello, my name is $name.`; // Will run Hello, my name is
Dan. run as a shell command.

$name = `whoami`; // Presume that your Linux web server is as user 'apache'.

echo Hello, my name is $name.; // Output: Hello, my name is apache.;
echo 'Hello, my name is $name.'; // Output: Hello, my name is $name.
?

Single quotes means literal, double quotes means translatable, and
backticks means executable.

-- 
/Daniel P. Brown
daniel.br...@parasane.net || danbr...@php.net
http://www.parasane.net/ || http://www.pilotpig.net/
50% Off All Shared Hosting Plans at PilotPig: Use Coupon DOW1

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] whoami explanation

2009-03-03 Thread PJ
Daniel Brown wrote:
 On Tue, Mar 3, 2009 at 11:22, PJ af.gour...@videotron.ca wrote:
   
 Ok, but how does this relate to a command passed from a php Web page?
 I don't understand the processus.
 I use bash on my FreeBSD and have not needed a back quote yet that I can
 recall... and on WinXP?
 

 As in the email I just sent, remember to sanitize any commands
 passed from the web (or anywhere, for that matter), but here are some
 examples.

 ?php

 $name = Dan;

 echo Hello, my name is $name.; // Output: Hello, my name is Dan.
 echo 'Hello, my name is $name.'; // Output: Hello, my name is $name.
 echo `Hello, my name is $name.`; // Will run Hello, my name is
 Dan. run as a shell command.

 $name = `whoami`; // Presume that your Linux web server is as user 
 'apache'.

 echo Hello, my name is $name.; // Output: Hello, my name is apache.;
 echo 'Hello, my name is $name.'; // Output: Hello, my name is $name.
 ?

 Single quotes means literal, double quotes means translatable, and
 backticks means executable.
   
I'll try to digest all this today if not sooner... :-)
As to the sanitize, that is on my list of todos; I am not doing it as,
for the moment, I am only developing on my intranet server and do not
fear much external threats... anyway, inch Allah :-)
I appreciate the input and I take the chastizing with a ton of salt.

-- 

Phil Jourdan --- p...@ptahhotep.com
   http://www.ptahhotep.com
   http://www.chiccantine.com


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] whoami explanation

2009-03-03 Thread Daniel Brown
On Tue, Mar 3, 2009 at 11:41, PJ af.gour...@videotron.ca wrote:

 I appreciate the input and I take the chastizing with a ton of salt.

It's all in good fun and being the new guy, it's at your expense.  ;-P

Having thick skin means you'll stick around and probably learn a
lot from the folks on this list.  So welcome.

-- 
/Daniel P. Brown
daniel.br...@parasane.net || danbr...@php.net
http://www.parasane.net/ || http://www.pilotpig.net/
50% Off All Shared Hosting Plans at PilotPig: Use Coupon DOW1

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] whoami explanation

2009-03-03 Thread PJ
Daniel Brown wrote:
 On Tue, Mar 3, 2009 at 11:41, PJ af.gour...@videotron.ca wrote:
   
 I appreciate the input and I take the chastizing with a ton of salt.
 

 It's all in good fun and being the new guy, it's at your expense.  ;-P

 Having thick skin means you'll stick around and probably learn a
 lot from the folks on this list.  So welcome.

   
:-*

-- 

Phil Jourdan --- p...@ptahhotep.com
   http://www.ptahhotep.com
   http://www.chiccantine.com


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] whoami explanation

2009-03-03 Thread Daniel Brown
On Tue, Mar 3, 2009 at 11:59, PJ af.gour...@videotron.ca wrote:

 :-*

Umm thanks?

(You do know that's the emoticon to symbolize kissing, right?)

-- 
/Daniel P. Brown
daniel.br...@parasane.net || danbr...@php.net
http://www.parasane.net/ || http://www.pilotpig.net/
50% Off All Shared Hosting Plans at PilotPig: Use Coupon DOW1

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] whoami explanation

2009-03-03 Thread PJ
Daniel Brown wrote:
 On Tue, Mar 3, 2009 at 11:59, PJ af.gour...@videotron.ca wrote:
   
 :-*
 

 Umm thanks?

 (You do know that's the emoticon to symbolize kissing, right?)

   
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 Carter's translators goofed when he went to Poland and
announced that he wanted to get to know the polish people - the
translation came out as wanting to know them carnally - you get the gist.

-- 

Phil Jourdan --- p...@ptahhotep.com
   http://www.ptahhotep.com
   http://www.chiccantine.com


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] whoami explanation

2009-03-03 Thread Daniel Brown
On Tue, Mar 3, 2009 at 12:13, PJ af.gour...@videotron.ca 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 Carter's translators goofed when he went to Poland and
 announced that he wanted to get to know the polish people - the
 translation came out as wanting to know them carnally - you get the gist.

Ah, to be a leader and represent the nation

Kennedy tells Germany that he's a pastry; Carter tells Poland that
he wants to be *very* friendly; Bush, Sr. offers his dinner back to
the folks of Japan; Dubya walks around holding hands a little too long
with the Saudi king.

We must look like the clown portion of the world circus sometimes

-- 
/Daniel P. Brown
daniel.br...@parasane.net || danbr...@php.net
http://www.parasane.net/ || http://www.pilotpig.net/
50% Off All Shared Hosting Plans at PilotPig: Use Coupon DOW1

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



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 af.gour...@videotron.ca 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 Carter's translators goofed when he went to Poland and
  announced that he wanted to get to know the polish people - the
  translation came out as wanting to know them carnally - you get the gist.
 
 Ah, to be a leader and represent the nation
 
 Kennedy tells Germany that he's a pastry; Carter tells Poland that
 he wants to be *very* friendly; Bush, Sr. offers his dinner back to
 the folks of Japan; Dubya walks around holding hands a little too long
 with the Saudi king.
 
 We must look like the clown portion of the world circus sometimes

You have an extraneous sometimes in the above sentence!

;)

Cheers,
Rob.
-- 
http://www.interjinn.com
Application and Templating Framework for PHP


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] whoami explanation

2009-03-03 Thread Daniel Brown
On Tue, Mar 3, 2009 at 12:37, Robert Cummings rob...@interjinn.com wrote:

 You have an extraneous sometimes in the above sentence!

Yeah, I was waiting for that ;-P

-- 
/Daniel P. Brown
daniel.br...@parasane.net || danbr...@php.net
http://www.parasane.net/ || http://www.pilotpig.net/
50% Off All Shared Hosting Plans at PilotPig: Use Coupon DOW1

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] whoami explanation

2009-03-03 Thread Paul M Foster
On Tue, Mar 03, 2009 at 10:57:21AM -0500, PJ wrote:

snip

 How does one enter back quotes from the keyboard?

Tell me you didn't seriously just ask that question.

Paul
-- 
Paul M. Foster

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] whoami explanation

2009-03-03 Thread Ashley Sheridan
On Tue, 2009-03-03 at 11:16 -0500, PJ wrote:
 Daniel Brown wrote:
  On Tue, Mar 3, 2009 at 10:57, PJ af.gour...@videotron.ca wrote:

  forgot to add:
  What's the difference between back ticks or quotes and regular single
  quotes?
  How does one enter back quotes from the keyboard?
  
 
  Welcome to the Internet!
 
  The first place you should look when you have a question is on
  Google.  The first result that comes up for backtick operator is the
  PHP manual itself:
 
  http://php.net/language.operators.execution
 
  If you don't know where a key is on your keyboard, please look down.
 

 I don't think it's necessary to be sarcastic...
 Hate to disappoint you, but on my computer (FreeBSD 7.0) on Firefox
 Google does not go directly to the php manual... it goes to some nitwit
 site thinkexist.com
 So, this list is a much better source of information that waddling
 through the crap that's thrown at you on G.
 And I find that Googie is getting pretty garbagy even if there is
 nothing better around ;-)
 As for the keyboard, this is the first time I have ever, ever needed the
 back quote key although I have occasionally needed the ~ key for Windows
 stuff.
 
 -- 
 
 Phil Jourdan --- p...@ptahhotep.com
http://www.ptahhotep.com
http://www.chiccantine.com
 
 
You tinker on Unix and you only ever use ~ for Windows?!


Ash
www.ashleysheridan.co.uk


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



RE: [PHP] whoami explanation

2009-03-03 Thread Boyd, Todd M.
 -Original Message-
 From: Ashley Sheridan [mailto:a...@ashleysheridan.co.uk]
 Sent: Tuesday, March 03, 2009 2:07 PM
 To: PJ
 Cc: Daniel Brown; Per Jessen; php-general@lists.php.net
 Subject: Re: [PHP] whoami explanation
 
 On Tue, 2009-03-03 at 11:16 -0500, PJ wrote:
  Daniel Brown wrote:
   On Tue, Mar 3, 2009 at 10:57, PJ af.gour...@videotron.ca wrote:
  
   forgot to add:
   What's the difference between back ticks or quotes and regular
 single
   quotes?
   How does one enter back quotes from the keyboard?
  
  
   Welcome to the Internet!
  
   The first place you should look when you have a question is on
   Google.  The first result that comes up for backtick operator is
 the
   PHP manual itself:
  
   http://php.net/language.operators.execution
  
   If you don't know where a key is on your keyboard, please look
 down.
  
  
  I don't think it's necessary to be sarcastic...
  Hate to disappoint you, but on my computer (FreeBSD 7.0) on Firefox
  Google does not go directly to the php manual... it goes to some
 nitwit
  site thinkexist.com
  So, this list is a much better source of information that waddling
  through the crap that's thrown at you on G.
  And I find that Googie is getting pretty garbagy even if there is
  nothing better around ;-)
  As for the keyboard, this is the first time I have ever, ever needed
 the
  back quote key although I have occasionally needed the ~ key for
 Windows
  stuff.
 
  --
 
  Phil Jourdan --- p...@ptahhotep.com
 http://www.ptahhotep.com
 http://www.chiccantine.com
 
 
 You tinker on Unix and you only ever use ~ for Windows?!

I realize this thread is old and dead and buried, but I have to get my
licks in on the new guy, too... but Ash beat me to it. I was going to
talk about how ~ was an alias for the current user context's home
directory in any POSIX system I've ever used. :)

Welcome aboard, PJ.


// Todd

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] whoami explanation

2009-03-03 Thread Clancy
On Tue, 3 Mar 2009 11:09:48 -0500, danbr...@php.net (Daniel Brown) wrote:

On Tue, Mar 3, 2009 at 11:03, PJ af.gour...@videotron.ca 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 assuming that we're assuming something (though I don't even
know to whom that's supposed to be directed).

Backtick operators have been around since the inception of UNIX
itself.  I don't mean this offensively by any means whatsoever, but if
you haven't run into them before, you haven't been tinkering very
much.

In my 40 plus years of programming I don't think I have ever deliberately typed 
a back
tick, and had forgotten that it was on the keyboard. And I have tinkered with 
all sorts of
strange systems, but I have had very little to do with UNIX.

This discussion reminds me of the Any key as in: 

Support person now press any key. User but there isn't an Any key on my 
keyboard!

Clancy

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] whoami explanation

2009-03-03 Thread PJ
Boyd, Todd M. wrote:
 -Original Message-
 From: Ashley Sheridan [mailto:a...@ashleysheridan.co.uk]
 Sent: Tuesday, March 03, 2009 2:07 PM
 To: PJ
 Cc: Daniel Brown; Per Jessen; php-general@lists.php.net
 Subject: Re: [PHP] whoami explanation

 On Tue, 2009-03-03 at 11:16 -0500, PJ wrote:
 
 Daniel Brown wrote:
   
 On Tue, Mar 3, 2009 at 10:57, PJ af.gour...@videotron.ca wrote:

 
 forgot to add:
 What's the difference between back ticks or quotes and regular
   
 single
 
 quotes?
 How does one enter back quotes from the keyboard?

   
 Welcome to the Internet!

 The first place you should look when you have a question is on
 Google.  The first result that comes up for backtick operator is
 
 the
 
 PHP manual itself:

 http://php.net/language.operators.execution

 If you don't know where a key is on your keyboard, please look
 
 down.
 
 
 I don't think it's necessary to be sarcastic...
 Hate to disappoint you, but on my computer (FreeBSD 7.0) on Firefox
 Google does not go directly to the php manual... it goes to some
   
 nitwit
 
 site thinkexist.com
 So, this list is a much better source of information that waddling
 through the crap that's thrown at you on G.
 And I find that Googie is getting pretty garbagy even if there is
 nothing better around ;-)
 As for the keyboard, this is the first time I have ever, ever needed
   
 the
 
 back quote key although I have occasionally needed the ~ key for
   
 Windows
 
 stuff.

 --

 Phil Jourdan --- p...@ptahhotep.com
http://www.ptahhotep.com
http://www.chiccantine.com


   
 You tinker on Unix and you only ever use ~ for Windows?!
 

 I realize this thread is old and dead and buried, but I have to get my
 licks in on the new guy, too... but Ash beat me to it. I was going to
 talk about how ~ was an alias for the current user context's home
 directory in any POSIX system I've ever used. :)

 Welcome aboard, PJ.
   
Gee, thanks. So, when was I supposed to have used this alias? Hell, I
can live with my ignorance. What's a POSIX system and why is it a POSIX
- a language, I think I heard

But I'm sorry I missed the fun earlier about the American foibles...
unfortunately that should go on some other list and I wish I knew which
one - one that had some smarts to it (like this one) and I'd like to
really hear what people think about us and what's really going on in
the world... oooh, well


-- 

Phil Jourdan --- p...@ptahhotep.com
   http://www.ptahhotep.com
   http://www.chiccantine.com


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] whoami explanation

2009-03-03 Thread Daniel Brown
On Tue, Mar 3, 2009 at 18:56, PJ af.gour...@videotron.ca wrote:

 But I'm sorry I missed the fun earlier about the American foibles...
 unfortunately that should go on some other list and I wish I knew which
 one - one that had some smarts to it (like this one) and I'd like to
 really hear what people think about us and what's really going on in
 the world... oooh, well

Stick around, PJ that's *this* list.

-- 
/Daniel P. Brown
daniel.br...@parasane.net || danbr...@php.net
http://www.parasane.net/ || http://www.pilotpig.net/
50% Off All Shared Hosting Plans at PilotPig: Use Coupon DOW1

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] whoami explanation

2009-03-03 Thread Michael A. Peters

PJ wrote:

  

Gee, thanks. So, when was I supposed to have used this alias? Hell, I
can live with my ignorance. What's a POSIX system and why is it a POSIX
- a language, I think I heard


cd ~

brings you to your home directory.

cd ~/stuff

brings you to the stuff sub-directory of your home directory.

[mpet...@athens ~]$ echo ~
/home/mpeters
[mpet...@athens ~]$

Notice the tilde in the prompt - tells me I am in my home directory when 
I issued the command.


POSIX is not a programming language, it is a specification that allows 
for some compatability between different operating systems.


http://en.wikipedia.org/wiki/POSIX

-=-

With respect to value of issuing shell commands from within php - I'm 
sure there are some legitimate uses. I use to do it all the time but now 
I really try not to because it makes the php less portable.


IE not only is it now tied to the php modules that I use, but features 
of the operating system it is running on top of.


In some cases it may really be necessary - IE when calling the TeX 
system to generate a document, or when writing a search engine capable 
of indexing not html/xml formats (IE pdf, MS Word, etc.) you may really 
need to use the shell of the underlying operating system, but I think 
one really should try to find a pure php way whenever possible.


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



  1   2   >