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

2007-12-04 Thread Per Jessen
Cesar D. Rodas wrote: > Call exec is not good, because you are executing other program, > instead of that you should use some PHP program, take a look here > > http://www.phpclasses.org/search.html?words=tar&x=0&y=0&go_search=1 > "The access to the internal site search engine is restricted to p

Re: [PHP] // ?>

2007-12-04 Thread Martin Alterisio
2007/12/4, Kevin Schmeichel <[EMAIL PROTECTED]>: > > Here's some unexpected behavior: > > // ?> what? > ?> > > This will output "what?" - I expected no output, as is the case if the > inline comment was a /* */ comment. Is this a bug? > Expected behavior. Read the manual: http://php.net/manual/

Re: [PHP] // ?>

2007-12-04 Thread Daniel Brown
On Dec 4, 2007 8:41 PM, Kevin Schmeichel <[EMAIL PROTECTED]> wrote: > Here's some unexpected behavior: > > // ?> what? > ?> > > This will output "what?" - I expected no output, as is the case if the > inline comment was a /* */ comment. Is this a bug? > > Kevin > > -- > PHP General Mailing List (

Re: [PHP] // ?>

2007-12-04 Thread Cesar D. Rodas
On 04/12/2007, Kevin Schmeichel <[EMAIL PROTECTED]> wrote: > > Here's some unexpected behavior: > > // ?> what? > ?> > > This will output "what?" - I expected no output, as is the case if the > inline comment was a /* */ comment. Is this a bug? That is because the PHP parser stops the comment o

[PHP] // ?>

2007-12-04 Thread Kevin Schmeichel
Here's some unexpected behavior: what? ?> This will output "what?" - I expected no output, as is the case if the inline comment was a /* */ comment. Is this a bug? Kevin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Calendar

2007-12-04 Thread Andrew Ballard
On Dec 3, 2007 7:37 AM, Emil Edeholt <[EMAIL PROTECTED]> wrote: > 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 e

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

2007-12-04 Thread Cesar D. Rodas
Call exec is not good, because you are executing other program, instead of that you should use some PHP program, take a look here http://www.phpclasses.org/search.html?words=tar&x=0&y=0&go_search=1 On 04/12/2007, Daniel Brown < [EMAIL PROTECTED]> wrote: > > On Dec 3, 2007 10:05 PM, Shelley Shyan

Re: [PHP] References to a variable and scope

2007-12-04 Thread Cesar D. Rodas
On 04/12/2007, Cesar D. Rodas <[EMAIL PROTECTED]> wrote: > > Robert, > > On 04/12/2007, Robert Cummings <[EMAIL PROTECTED]> wrote: > > > > On Tue, 2007-12-04 at 16:58 -0400, Cesar D. Rodas wrote: > > > Hello, > > > > > > I know that PHP doesn't support pointers to a variable, instead of > > that >

Re: [PHP] References to a variable and scope

2007-12-04 Thread Robert Cummings
On Tue, 2007-12-04 at 16:58 -0400, Cesar D. Rodas wrote: > Hello, > > I know that PHP doesn't support pointers to a variable, instead of that > there is references to a variable which are similar to pointers, right? > > BTW, what I want to do is to save a references to a variable and read the > c

Re: [PHP] Calendar

2007-12-04 Thread Børge Holen
On Monday 03 December 2007 13:37:45 Emil Edeholt wrote: > Hi, > was this a mathematical question? Yes, someone on this list, can probably help you to do some finesse, but I like it mathematical and clean code > I'm about to add some simple calendar functions to my application, and > I'm thinking

[PHP] References to a variable and scope

2007-12-04 Thread Cesar D. Rodas
Hello, I know that PHP doesn't support pointers to a variable, instead of that there is references to a variable which are similar to pointers, right? BTW, what I want to do is to save a references to a variable and read the content when I need, similar to PDO "bindParam". I will try to explain b

Re: [PHP] Banned from #php

2007-12-04 Thread Michael McGlothlin
That works for me, but I seldom use their code. I always like to see (have an example) of how it's done, but then I rewrite everything to fit with my view of the world. I seldom like other people's coding style. Most programmers seem to like their code tight and I like mine fluffy. -- Micha

Re: [PHP] Banned from #php

2007-12-04 Thread Daniel Brown
On Dec 4, 2007 10:21 AM, tedd <[EMAIL PROTECTED]> wrote: > I always like to see (have an example) of how it's done, but then I > rewrite everything to fit with my view of the world. No wonder your code looks crooked. ;-P -- Daniel P. Brown [office] (570-) 587-7080 Ext. 272 [mobile] (570-)

Re: [PHP] Banned from #php

2007-12-04 Thread tedd
At 1:09 PM -0800 12/3/07, Stephen Johnson wrote: Part of this job is learning how to learn, and so many times people just want you to write the code for them. That works for me, but I seldom use their code. I always like to see (have an example) of how it's done, but then I rewrite everything

[PHP] forget about this.

2007-12-04 Thread julian
julian wrote: 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 G

Re: [PHP] calculate a varchar

2007-12-04 Thread Zoltán Németh
2007. 12. 3, hétfő keltezéssel 15.00-kor Andrew Ballard ezt írta: > 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 t