Re: [PHP] Issue with STRFTIME and Daylight Savings

2007-12-03 Thread Malcolm Green
Hi Rob: Thanks for the feedback. Just to throw one in from "left field", the script is written in AWK, not PHP (told you I was a novice!) Have confirmed that 'systime' refers to hardware clock, so I have a quick and dirty work-around by adding '3600' (seconds) to STRFTIME, but will look into a c

Re: [PHP] Software Help

2007-12-03 Thread Paul Scott
On Mon, 2007-12-03 at 14:55 -0500, Mike Roberts wrote: > My name is Mike Roberts, and I am a recruiter with Corporate Staffing > Services in Bala Cynwyd, Pennsylvania. I need help finding qualified > candidates who have experience with PHP ( whole lamp environment). Out > of respect, I am not incl

Re: [PHP] howto get .tar.gz content's filenames

2007-12-03 Thread Daniel Brown
On Dec 3, 2007 11:09 PM, Shelley Shyan <[EMAIL PROTECTED]> wrote: > Thank you very much, Dan. It works exactly what I want. :) > > > Regards, > Shelley No problem. -- Daniel P. Brown [office] (570-) 587-7080 Ext. 272 [mobile] (570-) 766-8107 If at first you don't succeed, stick to what you

Re: [PHP] howto get .tar.gz content's filenames

2007-12-03 Thread Daniel Brown
On Dec 3, 2007 10:05 PM, Shelley Shyan <[EMAIL PROTECTED]> wrote: > Hi all, > > It may not be a php question, but I want to get the filename lists that a > .tar.gz file contains and give it to an array. > How can I manage that? > > Thank you very much for your consideration. > > Regards, > Shelley

Re: [PHP] howto get .tar.gz content's filenames

2007-12-03 Thread Casey
Sorry, should be: Note: typed on phone. That explains my empty message :) On Dec 3, 2007, at 7:05 PM, Shelley Shyan <[EMAIL PROTECTED]> wrote: Hi all, It may not be a php question, but I want to get the filename lists that a .tar.gz file contains and give it to an array. How can I man

Re: [PHP] howto get .tar.gz content's filenames

2007-12-03 Thread Casey
On Dec 3, 2007, at 7:05 PM, Shelley Shyan <[EMAIL PROTECTED]> wrote: Hi all, It may not be a php question, but I want to get the filename lists that a .tar.gz file contains and give it to an array. How can I manage that? Thank you very much for your consideration. Regards, Shelley

Re: [PHP] howto get .tar.gz content's filenames

2007-12-03 Thread Casey
Tell me if it works ;) On Dec 3, 2007, at 7:05 PM, Shelley Shyan <[EMAIL PROTECTED]> wrote: Hi all, It may not be a php question, but I want to get the filename lists that a .tar.gz file contains and give it to an array. How can I manage that? Thank you very much for your considerat

[PHP] howto get .tar.gz content's filenames

2007-12-03 Thread Shelley Shyan
Hi all, It may not be a php question, but I want to get the filename lists that a .tar.gz file contains and give it to an array. How can I manage that? Thank you very much for your consideration. Regards, Shelley -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://

Re: [PHP] Banned from #php

2007-12-03 Thread Wolf
SUre, considering he only regexed the ID, though it would require 1) realizing it was a regex 2) being able to read the regex 3) going into the #php channel and not ask RTFM or STFW questions And no, I am not on IRC nor am I wolfpaws Wolf Nathan Nobbe <[EMAIL PROTECTED]> wrote: > couldn

Re: [PHP] Banned from #php

2007-12-03 Thread Nathan Nobbe
couldnt you always like come back w/ a different username? i mean seriously; how are those bans structured anyway? -nathan

RE: [PHP] Banned from #php

2007-12-03 Thread Warren Vail
I always love a good flame war. A bunch of disrespected patriots running around trying to prove who has a bigger flame, and punish the persons who they feel did the disrespecting. At least no one is calling for the death of the offender, at least not yet ;-) Warren -- PHP General Mailing L

RE: [PHP] Banned from #php

2007-12-03 Thread Jay Blanchard
[snip] if the chat admin is this wolfpaws person, who's already calling the guy an idiot... doubt if asking him/her is going to make a difference.. [/snip] No doubt, but if wolfpaws is just a mod then mabe -Original Message- From: Jay Blanchard [mailto:[EMAIL PROTECTED] Sent: Monday,

Re: [PHP] sprintf() oddness

2007-12-03 Thread Andrew Ballard
On Dec 3, 2007 3:29 PM, tedd <[EMAIL PROTECTED]> wrote: > At 2:04 PM -0500 12/3/07, Andrew Ballard wrote: > > > >Oh, man I'm having flashbacks to a flame war that broke out on a > >SQL Server board I read related to "bankers rounding" versus > >"traditional rounding" and which was more "correct

Re: [PHP] Banned from #php

2007-12-03 Thread Daniel Brown
On Dec 3, 2007 4:00 PM, Daevid Vincent <[EMAIL PROTECTED]> wrote: > ROFL > > OMG. That's s my new signature! > > > -Original Message- > > From: Stephen Johnson > > > > Remember, when coding, php.net and google are friends. > > Everyone else hates you. > > It is not personal, it's ju

Re: [PHP] Banned from #php

2007-12-03 Thread Stephen Johnson
Well, I understand the concept of "I have paid, so I get to ask whatever I want." and if he indeed did pay for access to that IRC channel, then he should strive to get his money back for being banned. However, paid or not, I subscribe to the "give a man a fish or teach a man how to fish" philosoph

RE: [PHP] Banned from #php

2007-12-03 Thread Daevid Vincent
ROFL OMG. That's s my new signature! > -Original Message- > From: Stephen Johnson > > Remember, when coding, php.net and google are friends. > Everyone else hates you. > It is not personal, it's just a fact. -- PHP General Mailing List (http://www.php.net/) To unsubscribe,

RE: [PHP] Banned from #php

2007-12-03 Thread bruce
Hey Stephen.. gotta kind of agree with you about the friends aspect of the net!!! i've often thought that there's a business to be had, by actually setting up irc channels/forums/threads where you have people pay some small amount to actually be able to be part of a system where you're going to ge

Re: [PHP] Banned from #php

2007-12-03 Thread Stephen Johnson
It seems to me... And this is just my unimportant opinion But... Your initial question was a violation of the RTFM and STFW tenets... Both would have provided you answers to such a basic question rather quickly.. Then when wolfpaws provided you more information (print_r added to your google

RE: [PHP] Banned from #php

2007-12-03 Thread bruce
hi jay... if the chat admin is this wolfpaws person, who's already calling the guy an idiot... doubt if asking him/her is going to make a difference.. -Original Message- From: Jay Blanchard [mailto:[EMAIL PROTECTED] Sent: Monday, December 03, 2007 12:22 PM To: Brenden Wilson; php-genera

Re: [PHP] sprintf() oddness

2007-12-03 Thread tedd
At 2:04 PM -0500 12/3/07, Andrew Ballard wrote: Oh, man I'm having flashbacks to a flame war that broke out on a SQL Server board I read related to "bankers rounding" versus "traditional rounding" and which was more "correct" or "accurate". :-) Andrew There really shouldn't be a debate on

RE: [PHP] Banned from #php

2007-12-03 Thread Jay Blanchard
[snip] How can I get unbanned? [/snip] Have you thought about asking the chat admin? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] calculate a varchar

2007-12-03 Thread Andrew Ballard
On Dec 3, 2007 10:56 AM, John Taylor-Johnston <[EMAIL PROTECTED]> wrote: > Is there a calculation function? > > I'm using an e-commerce shopping cart. I want to tweak the code. The > author is using a varchar(100) field to store prices. > > Taking advantage of there being a varchar, instead of ente

Re: [PHP] Software Help

2007-12-03 Thread Daniel Brown
Mike, I'm interested in taking a better look. I'm just outside of Scranton. On Dec 3, 2007 2:55 PM, Mike Roberts <[EMAIL PROTECTED]> wrote: > > > My name is Mike Roberts, and I am a recruiter with Corporate Staffing > Services in Bala Cynwyd, Pennsylvania. I need help finding qualified >

[PHP] Software Help

2007-12-03 Thread Mike Roberts
My name is Mike Roberts, and I am a recruiter with Corporate Staffing Services in Bala Cynwyd, Pennsylvania. I need help finding qualified candidates who have experience with PHP ( whole lamp environment). Out of respect, I am not including the job spec, but if anybody has a reccomendation, I wou

RE: [PHP] Banned from #php

2007-12-03 Thread bruce
hi brenden... php/irc is a private/public place. the moderator(s) can pretty much do what they please. you're always free to start your own irc channel, and to then moderate as you see fit!! peace -Original Message- From: Brenden Wilson [mailto:[EMAIL PROTECTED] Sent: Monday, December

Re: [PHP] Banned from #php

2007-12-03 Thread Aaron Gould
Brenden Wilson wrote: I hope this is the right place to ask because I simply can't find any place else to ask for help. I have been banned from chatting in ##php and I really don't deserve it. The chat log can be found here: http://pastebin.com/f6941dae7 (I've deleted conversations from other p

[PHP] Banned from #php

2007-12-03 Thread Brenden Wilson
I hope this is the right place to ask because I simply can't find any place else to ask for help. I have been banned from chatting in ##php and I really don't deserve it. The chat log can be found here: http://pastebin.com/f6941dae7 (I've deleted conversations from other people) Wolfpaws banned

Re: [PHP] sprintf() oddness

2007-12-03 Thread Andrew Ballard
On Dec 1, 2007 11:30 AM, tedd <[EMAIL PROTECTED]> wrote: > At 7:10 AM -0500 12/1/07, Christoph Boget wrote: > >Why does > > > >sprintf( '%.03f', 0.1525 ) > > > >return 0.152 while > > > >sprintf( '%.03f', 0.1575 ) > > > >return 0.158? > > > >The 4th significant digit in both cases is '5' bu

Re: [PHP] calculate a varchar

2007-12-03 Thread Jim Lucas
Daniel Brown wrote: On Dec 3, 2007 10:56 AM, John Taylor-Johnston <[EMAIL PROTECTED]> wrote: Is there a calculation function? I'm using an e-commerce shopping cart. I want to tweak the code. The author is using a varchar(100) field to store prices. Taking advantage of there being a varchar, in

Re: [PHP] calculate a varchar

2007-12-03 Thread Richard Heyes
Is there a calculation function? I'm using an e-commerce shopping cart. I want to tweak the code. The author is using a varchar(100) field to store prices. Taking advantage of there being a varchar, instead of entering a price, I would like to enter a calculation. (24*2.2)+(24*2.2*.1) 24 is

Re: [PHP] 5.2.5 failed 7 tests

2007-12-03 Thread Daniel Brown
On Dec 3, 2007 11:18 AM, Bill <[EMAIL PROTECTED]> wrote: > Thank you. > > configure ended with no errors. But it said "Don't forget to make test", so > like a good little lemming I did. > > > > > ""Daniel Brown"" <[EMAIL PROTECTED]> wrote in message > news:[EMAIL PROTECTED] > > > On Dec 3, 2007 11:

Re: [PHP] 5.2.5 failed 7 tests

2007-12-03 Thread Bill
Thank you. configure ended with no errors. But it said "Don't forget to make test", so like a good little lemming I did. ""Daniel Brown"" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] On Dec 3, 2007 11:01 AM, Bill <[EMAIL PROTECTED]> wrote: at the end of make test no criti

Re: [PHP] 5.2.5 failed 7 tests

2007-12-03 Thread Daniel Brown
On Dec 3, 2007 11:01 AM, Bill <[EMAIL PROTECTED]> wrote: > at the end of make test > > no critical errors, 3 or 4 said they were bugg. then 3 said iI may have a > branded libc. > > > ""Peter Smit"" <[EMAIL PROTECTED]> wrote in message > news:[EMAIL PROTECTED] > > > On Dec 3, 2007 12:18 AM, Bill <[E

Re: [PHP] calculate a varchar

2007-12-03 Thread Daniel Brown
On Dec 3, 2007 10:56 AM, John Taylor-Johnston <[EMAIL PROTECTED]> wrote: > Is there a calculation function? > > I'm using an e-commerce shopping cart. I want to tweak the code. The > author is using a varchar(100) field to store prices. > > Taking advantage of there being a varchar, instead of ente

Re: [PHP] 5.2.5 failed 7 tests

2007-12-03 Thread Bill
at the end of make test no critical errors, 3 or 4 said they were bugg. then 3 said iI may have a branded libc. ""Peter Smit"" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] On Dec 3, 2007 12:18 AM, Bill <[EMAIL PROTECTED]> wrote: Do failed tests mean I absolutely should NOT i

[PHP] calculate a varchar

2007-12-03 Thread John Taylor-Johnston
Is there a calculation function? I'm using an e-commerce shopping cart. I want to tweak the code. The author is using a varchar(100) field to store prices. Taking advantage of there being a varchar, instead of entering a price, I would like to enter a calculation. (24*2.2)+(24*2.2*.1) 24 is

Re: [PHP] Structured Code vs. Performance

2007-12-03 Thread Martin Alterisio
2007/12/2, tedd <[EMAIL PROTECTED]>: > > Oh yes, it's very much like fractals, but the term "fractalism" is > usually reserved for art forms based on fractals. > > However, one could conclude that all crystalline forms are a > "real-world" examples of fractals. In similar vein, all repetitive > pro

Re: [PHP] 5.2.5 failed 7 tests

2007-12-03 Thread Daniel Brown
On Dec 2, 2007 5:18 PM, Bill <[EMAIL PROTECTED]> wrote: > Do failed tests mean I absolutely should NOT install. Or is it normal to > have a few fails? Try two different versions, all have some failure. > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.n

Re: [PHP] Calendar

2007-12-03 Thread Richard Heyes
I'm about to add some simple calendar functions to my application, and I'm thinking of how I should implement recurring events. Are there one standard way most people use that works well? I guess you have some kind of emitter event that creates the recurring events and a group id that holds the

[PHP] Calendar

2007-12-03 Thread Emil Edeholt
Hi, I'm about to add some simple calendar functions to my application, and I'm thinking of how I should implement recurring events. Are there one standard way most people use that works well? I guess you have some kind of emitter event that creates the recurring events and a group id that hol

Re: [PHP] 5.2.5 failed 7 tests

2007-12-03 Thread Peter Smit
On Dec 3, 2007 12:18 AM, Bill <[EMAIL PROTECTED]> wrote: > Do failed tests mean I absolutely should NOT install. Or is it normal to > have a few fails? Try two different versions, all have some failure. > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.

[PHP] Re: problems accesing an object via globals

2007-12-03 Thread julian
however this will work... p1.inc 1 var;; 9} 10 } 11 12 class obj { 13var $obj2=20; 14 15function f1(){ 16 global $db; 17 18 echo "\n".$db->fun2()*$this->obj2."\n"; 19} 20 } 21 ?> 1 #!/usr/bin/php -q 2 3 f1(); 13 14 ?> -- PHP General Mailing L