Re: [PHP] What design patterns do you usually use?

2008-02-28 Thread Aschwin Wesselius
Zoltán Németh wrote: well, if classes are not convenient for you, then sure it would take more time but only for the first time. after that, my experience is that development time is less with classes I do use classes, but mix it with procedural code and some function libraries. But I'm a

Re: [PHP] Cannot even come up with the beginning of a regex

2008-02-28 Thread Zoltán Németh
2008. 02. 28, csütörtök keltezéssel 00.02-kor Dotan Cohen ezt írta: On 27/02/2008, Zoltán Németh [EMAIL PROTECTED] wrote: sorry that's messed up a bit, as I typed it right here in my mailer ;) preg_replace('/\b([^\s]+)a\b.*/U', '$1A', 'whatever i want that hasa a on the end');

Re: [PHP] Cannot even come up with the beginning of a regex

2008-02-28 Thread Dotan Cohen
On 28/02/2008, Casey [EMAIL PROTECTED] wrote: Thank you very much, Zoltan. Is there a known UTF-8 limitation? Because it works fine for me in English letters (well, the opposite of what I needed but I was able to work with it as which polar I start with was arbitrary), but not in

Re: [PHP] Cannot even come up with the beginning of a regex

2008-02-28 Thread Dotan Cohen
On 28/02/2008, Zoltán Németh [EMAIL PROTECTED] wrote: Thank you very much, Zoltan. Is there a known UTF-8 limitation? Because it works fine for me in English letters (well, the opposite of what I needed but I was able to work with it as which polar I start with was arbitrary), but not

[PHP] Traverse directory - Find empty directory

2008-02-28 Thread Holografix
Hi I'm using Spl RecursiveDirectoryIterator to traverse a directory and have no problem with it but now I'm stuck. I only need to display directories with no files in it. Can someone help with this? My current code: set_time_limit(0); $files = new RecursiveIteratorIterator(new

Re: [PHP] Getting the name of a function

2008-02-28 Thread Jochem Maas
Daniel Brown schreef: On Wed, Feb 27, 2008 at 1:56 PM, Richard S. Crawford [EMAIL PROTECTED] wrote: For my own amusement, I'm writing a function that will print out detailed error messages for an API that I'm creating for a minor project. One of the pieces of information I'd like to return

Re: [PHP] Cannot even come up with the beginning of a regex

2008-02-28 Thread Zoltán Németh
2008. 02. 28, csütörtök keltezéssel 11.23-kor Dotan Cohen ezt írta: On 28/02/2008, Zoltán Németh [EMAIL PROTECTED] wrote: Thank you very much, Zoltan. Is there a known UTF-8 limitation? Because it works fine for me in English letters (well, the opposite of what I needed but I was able

Re: [PHP] Guidance

2008-02-28 Thread Stut
On 28 Feb 2008, at 01:21, Jochem Maas wrote: hmm. thing is you need a bit of paper to call yourself an engineer .. I ain't got one. Not in my book you don't. Experience has shown that bits of paper lie better than most people do. Prove yourself to me in person - I'll trust that over any

[PHP] php --ini and the like

2008-02-28 Thread Jochem Maas
was just cruising the manual and came accross a nice tidbit. from: http://nl.php.net/features.commandline Shows configuration file names and scanned directories. Available as of PHP 5.2.3. Example#3 --ini example $ php --ini Configuration File (php.ini) Path: /usr/dev/php/5.2/lib Loaded

[PHP] reverse string without strrev();

2008-02-28 Thread Shelley
Hi all, What do you think is the best way to display string 'abcdef' as 'fedcba'? Any ideas appreciated. Thanks in advance. -- Regards, Shelley -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] reverse string without strrev();

2008-02-28 Thread Aschwin Wesselius
Shelley wrote: Hi all, What do you think is the best way to display string 'abcdef' as 'fedcba'? $tmp = ''; $str = 'abcdef'; for ($i = strlen($str); $i = 0; $i--) { $tmp.= $str[$i]; } echo $tmp; -- Aschwin Wesselius social What you would like to be done to you, do that to the

Re: [PHP] reverse string without strrev();

2008-02-28 Thread Aschwin Wesselius
Stut wrote: On 28 Feb 2008, at 11:30, Aschwin Wesselius wrote: Shelley wrote: Hi all, What do you think is the best way to display string 'abcdef' as 'fedcba'? $tmp = ''; $str = 'abcdef'; for ($i = strlen($str); $i = 0; $i--) { $tmp.= $str[$i]; } echo $tmp; Close, but no cigar. $i

[PHP] output buffering in CLI script.

2008-02-28 Thread Jochem Maas
hi there, I can't seem to manage to buffer output (of an included file) in a CLI script, the following does not work: // buffer output so we can avoid the shebang line being output (and strip it from the output we log) $oldIFvalue =

RE: [PHP] output buffering in CLI script.

2008-02-28 Thread Andrés Robinet
-Original Message- From: Jochem Maas [mailto:[EMAIL PROTECTED] Sent: Thursday, February 28, 2008 6:39 AM To: [php] PHP General List Subject: [PHP] output buffering in CLI script. hi there, I can't seem to manage to buffer output (of an included file) in a CLI script, the

Re: [PHP] output buffering in CLI script.

2008-02-28 Thread Stut
On 28 Feb 2008, at 11:39, Jochem Maas wrote: I can't seem to manage to buffer output (of an included file) in a CLI script, the following does not work: // buffer output so we can avoid the shebang line being output (and strip it from the output we log)

Re: [PHP] reverse string without strrev();

2008-02-28 Thread Stut
On 28 Feb 2008, at 11:40, Aschwin Wesselius wrote: Stut wrote: On 28 Feb 2008, at 11:30, Aschwin Wesselius wrote: Shelley wrote: Hi all, What do you think is the best way to display string 'abcdef' as 'fedcba'? $tmp = ''; $str = 'abcdef'; for ($i = strlen($str); $i = 0; $i--) { $tmp.=

Re: [PHP] reverse string without strrev();

2008-02-28 Thread Aschwin Wesselius
Stut wrote: Just because it works doesn't mean it's right. -Stut What I meant was that I tested the script and it worked, so I didn't spot the flaw (wich is obvious and you were right). No big deal. -- Aschwin Wesselius social What you would like to be done to you, do that to the

Re: [PHP] output buffering in CLI script.

2008-02-28 Thread Stuart Dallas
On 28 Feb 2008, at 11:52, Stut wrote: On 28 Feb 2008, at 11:39, Jochem Maas wrote: I can't seem to manage to buffer output (of an included file) in a CLI script, the following does not work: // buffer output so we can avoid the shebang line being output (and strip it

Re: [PHP] reverse string without strrev();

2008-02-28 Thread Stut
On 28 Feb 2008, at 11:30, Aschwin Wesselius wrote: Shelley wrote: Hi all, What do you think is the best way to display string 'abcdef' as 'fedcba'? $tmp = ''; $str = 'abcdef'; for ($i = strlen($str); $i = 0; $i--) { $tmp.= $str[$i]; } echo $tmp; Close, but no cigar. $i should be

Re: [PHP] output buffering in CLI script.

2008-02-28 Thread Jochem Maas
Andrés Robinet schreef: -Original Message- From: Jochem Maas [mailto:[EMAIL PROTECTED] Sent: Thursday, February 28, 2008 6:39 AM To: [php] PHP General List Subject: [PHP] output buffering in CLI script. hi there, I can't seem to manage to buffer output (of an included file) in a CLI

Re: [PHP] Guidance

2008-02-28 Thread Timothy Asiedu
Dear Sir/Madam, Please I would be grateful if you could remove my e-mail address: [EMAIL PROTECTED] from the general Mailing List. I look forward to having a favourable response from you. Thank you. Best regards, Timothy Asiedu. Stut [EMAIL PROTECTED]

Re: [PHP] output buffering in CLI script.

2008-02-28 Thread Jochem Maas
Stut schreef: On 28 Feb 2008, at 11:39, Jochem Maas wrote: I can't seem to manage to buffer output (of an included file) in a CLI script, the following does not work: // buffer output so we can avoid the shebang line being output (and strip it from the output we log)

Re: [PHP] Guidance

2008-02-28 Thread Stut
On 28 Feb 2008, at 12:15, Timothy Asiedu wrote: Please I would be grateful if you could remove my e-mail address: [EMAIL PROTECTED] from the general Mailing List. Unsubscribe instructions are in the footer of every email you receive from this list. Follow them to get your favourable

Re: [PHP] output buffering in CLI script.

2008-02-28 Thread Jochem Maas
Stuart Dallas schreef: On 28 Feb 2008, at 11:52, Stut wrote: On 28 Feb 2008, at 11:39, Jochem Maas wrote: I can't seem to manage to buffer output (of an included file) in a CLI script, the following does not work: // buffer output so we can avoid the shebang line being

Re: [PHP] output buffering in CLI script.

2008-02-28 Thread Nathan Rixham
Jochem Maas wrote: Stut schreef: On 28 Feb 2008, at 11:39, Jochem Maas wrote: I can't seem to manage to buffer output (of an included file) in a CLI script, the following does not work: // buffer output so we can avoid the shebang line being output (and strip it from the

Re: [PHP] Guidance

2008-02-28 Thread Jochem Maas
Stut schreef: On 28 Feb 2008, at 12:15, Timothy Asiedu wrote: Please I would be grateful if you could remove my e-mail address: [EMAIL PROTECTED] from the general Mailing List. Unsubscribe instructions are in the footer of every email you receive from this list. Follow them to get your

RES: [PHP] Guidance

2008-02-28 Thread Thiago Pojda
Go to: http://php.net/mailing-lists.php -Mensagem original- De: Timothy Asiedu [mailto:[EMAIL PROTECTED] Enviada em: quinta-feira, 28 de fevereiro de 2008 09:16 Para: Stut; php-general@lists.php.net Cc: [EMAIL PROTECTED] Assunto: Re: [PHP] Guidance Dear Sir/Madam, Please I would

Re: [PHP] reverse string without strrev();

2008-02-28 Thread Nathan Rixham
Aschwin Wesselius wrote: Stut wrote: Just because it works doesn't mean it's right. -Stut What I meant was that I tested the script and it worked, so I didn't spot the flaw (wich is obvious and you were right). No big deal. should it not use curlies? $tmp = ''; $str = 'abcdef'; for

Re: [PHP] output buffering in CLI script.

2008-02-28 Thread Stuart Dallas
On 28 Feb 2008, at 12:29, Jochem Maas wrote: Stuart Dallas schreef: On 28 Feb 2008, at 11:52, Stut wrote: On 28 Feb 2008, at 11:39, Jochem Maas wrote: I can't seem to manage to buffer output (of an included file) in a CLI script, the following does not work: // buffer

Re: [PHP] output buffering in CLI script.

2008-02-28 Thread Aschwin Wesselius
Jochem Maas wrote: I mean that the shebang line at the top of the included file is output to stdout even when I turn on output buffering on prior to including the file. nothing else is output but that's because the script doesn't generate any further output - it logs everything instead - and

Re: [PHP] reverse string without strrev();

2008-02-28 Thread Aschwin Wesselius
Nathan Rixham wrote: should it not use curlies? I don't know. What is the leading preference nowadays? Does it matter? Somewhere in the past I learned it with the square brackets like an array and it still works like that. Maybe it isn't 'right' (Stut?), but that is the way I picked it up.

Re: [PHP] output buffering in CLI script.

2008-02-28 Thread Jochem Maas
Nathan Rixham schreef: Jochem Maas wrote: ... -Stut bit of false logic here but have you tried: eval(ltrim(file_get_contents($script),$shebang)); haven't tried it, did consider it. I hate eval() :-) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

[PHP] [SOLVEDish] Re: [PHP] output buffering in CLI script.

2008-02-28 Thread Jochem Maas
Stuart Dallas schreef: On 28 Feb 2008, at 12:29, Jochem Maas wrote: Stuart Dallas schreef: On 28 Feb 2008, at 11:52, Stut wrote: On 28 Feb 2008, at 11:39, Jochem Maas wrote: I can't seem to manage to buffer output (of an included file) in a CLI script, the following does not work:

RE: [PHP] reverse string without strrev();

2008-02-28 Thread Ford, Mike
On 28 February 2008 12:39, Nathan Rixham advised: should it not use curlies? No, they will be deprecated as of PHP6. (Square brackets used to be, but have been undeprecated and are back in favour!) $tmp = ''; $str = 'abcdef'; for ($i = strlen($str)-1; $i = 0; $i--) { $tmp.= $str{$i};

[PHP] Re: [SOLVEDish] Re: [PHP] output buffering in CLI script.

2008-02-28 Thread Nathan Rixham
how's this? #!/usr/bin/php ?php class trimshebang { function filter($in, $out, $consumed, $closing) { while ($bucket = stream_bucket_make_writeable($in)) { $bucket-data = ltrim($bucket-data,#!/usr/bin/php\n); $consumed += $bucket-datalen; stream_bucket_append($out,

Re: [PHP] Re: [SOLVEDish] Re: [PHP] output buffering in CLI script.

2008-02-28 Thread Aschwin Wesselius
Nathan Rixham wrote: how's this? #!/usr/bin/php ?php class trimshebang { function filter($in, $out, $consumed, $closing) { while ($bucket = stream_bucket_make_writeable($in)) { $bucket-data = ltrim($bucket-data,#!/usr/bin/php\n); $consumed += $bucket-datalen;

Re: [PHP] Re: [SOLVEDish] Re: [PHP] output buffering in CLI script.

2008-02-28 Thread Nathan Rixham
Aschwin Wesselius wrote: Me thinks that when shebang doesn't fit /usr/bin/php (which happens sometimes) you're doomed. [snip] good point.. modified to use BINDIR: #!/usr/bin/php ?php class trimshebang { function filter($in, $out, $consumed, $closing) { while ($bucket =

Re: [PHP] [NOT SOLVEDish] Re: [PHP] output buffering in CLI script.

2008-02-28 Thread Jochem Maas
Jochem Maas schreef: ... indeed ... I tested it and it works on my server too. my code is no different to yours with regard to the context of the problem. so what's going on. I think (I know) I forgot to mention one tiny little detail. the whole 'include' code occurs in a script that forks

Re: [PHP] reverse string without strrev();

2008-02-28 Thread Nathan Rixham
Ford, Mike wrote: On 28 February 2008 12:39, Nathan Rixham advised: should it not use curlies? No, they will be deprecated as of PHP6. (Square brackets used to be, but have been undeprecated and are back in favour!) $tmp = ''; $str = 'abcdef'; for ($i = strlen($str)-1; $i = 0; $i--) {

Re: [PHP] reverse string without strrev();

2008-02-28 Thread Christoph Boget
should it not use curlies? No, they will be deprecated as of PHP6. (Square brackets used to be, but have been undeprecated and are back in favour!) cheers for the heads up on curlies Mike :) Where can I read more information about this? thnx, Chris -- PHP General Mailing List

Re: [PHP] What design patterns do you usually use?

2008-02-28 Thread tedd
At 8:57 AM +0100 2/28/08, Zoltán Németh wrote: 2008. 02. 27, szerda keltezéssel 14.02-kor tedd ezt írta: Just about all my code was reduced to functions and all functions were placed in files according theme. My main was probably less than 50 lines of code. this is absolutely similar to

Re: [PHP] Guidance

2008-02-28 Thread Zoltán Németh
2008. 02. 28, csütörtök keltezéssel 04.15-kor Timothy Asiedu ezt írta: Dear Sir/Madam, Please I would be grateful if you could remove my e-mail address: [EMAIL PROTECTED] from the general Mailing List. I look forward to having a favourable response from you. Thank you. remove

Re: [PHP] ZCE guidance needed

2008-02-28 Thread Ray Hauge
Nathan Nobbe wrote: On Wed, Feb 27, 2008 at 10:31 PM, Shelley [EMAIL PROTECTED] wrote: Greetings all, Im just need some guidance of how to prepare for the ZCE exam. Is there somebody passed the exam? Any help infor is highly appreciated. i read the php architect book and paid for 5 of

Re: [PHP] Flexible Shopping Cart (was: Shopping Carts)

2008-02-28 Thread tedd
At 12:14 AM -0200 2/28/08, Manuel Barros Reyes wrote: The details are in that thread but basically what I am looking for is a shopping cart that has flexibility with respect to the graphical layout of elements and their appearance as well as the ability to extend the framework with custom

Re: [PHP] ZCE guidance needed

2008-02-28 Thread Ray Hauge
Nathan Nobbe wrote: On Wed, Feb 27, 2008 at 10:31 PM, Shelley [EMAIL PROTECTED] wrote: Greetings all, Im just need some guidance of how to prepare for the ZCE exam. Is there somebody passed the exam? Any help infor is highly appreciated. i read the php architect book and paid for 5 of

[PHP] auto-wrap on posts

2008-02-28 Thread Nathan Nobbe
all, a fellow poster has been kind enough to bring to my attention how jacked some of my posts appear. i was manually formatting my posts, but it appears the list server must also be doing some formatting as many of my posts come out all jacked up looking, some with only a single word on a line.

Re: [PHP] Re: [SOLVEDish] Re: [PHP] output buffering in CLI script.

2008-02-28 Thread Jochem Maas
Nathan Rixham schreef: how's this? #!/usr/bin/php ?php class trimshebang { function filter($in, $out, $consumed, $closing) { while ($bucket = stream_bucket_make_writeable($in)) { $bucket-data = ltrim($bucket-data,#!/usr/bin/php\n); $consumed += $bucket-datalen;

Re: [PHP] auto-wrap on posts

2008-02-28 Thread Jason Pruim
On Feb 28, 2008, at 10:06 AM, Nathan Nobbe wrote: all, a fellow poster has been kind enough to bring to my attention how jacked some of my posts appear. i was manually formatting my posts, but it appears the list server must also be doing some formatting as many of my posts come out

Re: [PHP] auto-wrap on posts

2008-02-28 Thread Ray Hauge
Nathan Nobbe wrote: all, a fellow poster has been kind enough to bring to my attention how jacked some of my posts appear. i was manually formatting my posts, but it appears the list server must also be doing some formatting as many of my posts come out all jacked up looking, some with only a

Re: [PHP] auto-wrap on posts

2008-02-28 Thread Nathan Rixham
Ray Hauge wrote: Nathan Nobbe wrote: all, a fellow poster has been kind enough to bring to my attention how jacked some of my posts appear. i was manually formatting my posts, but it appears the list server must also be doing some formatting as many of my posts come out all jacked up

Re: [PHP] auto-wrap on posts

2008-02-28 Thread Nathan Nobbe
take a look here on the marc archives. http://marc.info/?l=php-generalm=120415418217911w=2 there are several lines that have 1 word only in them, some of the words (for reference) are access, good, patterns, nested. when i wrote the post (looking in my gmail client) these words are not on their

Re: [PHP] reverse string without strrev();

2008-02-28 Thread Robert Cummings
On Thu, 2008-02-28 at 12:39 +, Nathan Rixham wrote: Aschwin Wesselius wrote: Stut wrote: Just because it works doesn't mean it's right. -Stut What I meant was that I tested the script and it worked, so I didn't spot the flaw (wich is obvious and you were right). No

Re: [PHP] auto-wrap on posts

2008-02-28 Thread David Giragosian
On 2/28/08, Nathan Nobbe [EMAIL PROTECTED] wrote: take a look here on the marc archives. http://marc.info/?l=php-generalm=120415418217911w=2 there are several lines that have 1 word only in them, some of the words (for reference) are access, good, patterns, nested. when i wrote the post

Re: [PHP] reverse string without strrev();

2008-02-28 Thread Aschwin Wesselius
Robert Cummings wrote: There's always a tradeoff between speed and memory. Here's the low memory version: ?php $str = '1234567'; str_reverse_in_place( $str ); echo 'Reversed: '.$str.\n; function str_reverse_in_place( $str ) { $a = 0; $z = strlen( $str ) - 1; while( $a $z ) {

Re: [PHP] auto-wrap on posts

2008-02-28 Thread Nathan Nobbe
On Thu, Feb 28, 2008 at 10:35 AM, David Giragosian [EMAIL PROTECTED] wrote: On 2/28/08, Nathan Nobbe [EMAIL PROTECTED] wrote: take a look here on the marc archives. http://marc.info/?l=php-generalm=120415418217911w=2 there are several lines that have 1 word only in them, some of the

Re: [PHP] reverse string without strrev();

2008-02-28 Thread Aschwin Wesselius
Aschwin Wesselius wrote: Sorry, Rob, that function doesn't return anything. ;-) Bugger, it's getting late. Didn't see the . -- Aschwin Wesselius social What you would like to be done to you, do that to the other /social -- PHP General Mailing List (http://www.php.net/) To

Re: [PHP] auto-wrap on posts

2008-02-28 Thread Jason Pruim
On Feb 28, 2008, at 10:30 AM, Nathan Nobbe wrote: take a look here on the marc archives. http://marc.info/?l=php-generalm=120415418217911w=2 there are several lines that have 1 word only in them, some of the words (for reference) are access, good, patterns, nested. when i wrote the post

Re: [PHP] auto-wrap on posts

2008-02-28 Thread Jason Pruim
On Feb 28, 2008, at 10:25 AM, Ray Hauge wrote: Nathan Nobbe wrote: all, a fellow poster has been kind enough to bring to my attention how jacked some of my posts appear. i was manually formatting my posts, but it appears the list server must also be doing some formatting as many of my

Re: [PHP] php --ini and the like

2008-02-28 Thread Nathan Nobbe
On Thu, Feb 28, 2008 at 6:08 AM, Jochem Maas [EMAIL PROTECTED] wrote: was just cruising the manual and came accross a nice tidbit. from: http://nl.php.net/features.commandline Shows configuration file names and scanned directories. Available as of PHP 5.2.3. Example#3 --ini example $

Re: [PHP] reverse string without strrev();

2008-02-28 Thread Robert Cummings
On Thu, 2008-02-28 at 16:39 +0100, Aschwin Wesselius wrote: Aschwin Wesselius wrote: Sorry, Rob, that function doesn't return anything. ;-) Bugger, it's getting late. Didn't see the . It wouldn't really be in place if it wasn't a reference. Since the engine would immediately

Re: [PHP] auto-wrap on posts

2008-02-28 Thread David Giragosian
On 2/28/08, Jason Pruim [EMAIL PROTECTED] wrote: On Feb 28, 2008, at 10:25 AM, Ray Hauge wrote: Nathan Nobbe wrote: all, a fellow poster has been kind enough to bring to my attention how jacked some of my posts appear. i was manually formatting my posts, but it appears the list

Re: [PHP] reverse string without strrev();

2008-02-28 Thread Richard Heyes
Sorry, Rob, that function doesn't return anything. ;-) It's not meant to: ?php // ... $str = '123'; str_reverse_in_place($str); echo $str; ? -- Richard Heyes Employ me (!): http://www.phpguru.org/cv -- PHP General Mailing List (http://www.php.net/) To unsubscribe,

Re: [PHP] reverse string without strrev();

2008-02-28 Thread Aschwin Wesselius
Robert Cummings wrote: It wouldn't really be in place if it wasn't a reference. Since the engine would immediately perform a copy on the first write to a passed non reference string :) Still to much to learn. Nice list to learn from thanks. I just started to learn more and more

Re: [PHP] Getting the name of a function

2008-02-28 Thread Daniel Brown
On Thu, Feb 28, 2008 at 5:06 AM, Jochem Maas [EMAIL PROTECTED] wrote: Daniel Brown schreef: On Wed, Feb 27, 2008 at 1:56 PM, Richard S. Crawford [EMAIL PROTECTED] wrote: [snip!] I know that I could pass the name of the function as a parameter to the error() function (e.g.

RES: [PHP] auto-wrap on posts

2008-02-28 Thread Thiago Pojda
Only thing I've seen is my post formatting getting messed up after then 4th~5th line. I'm on outlook tho. -Mensagem original- De: Nathan Nobbe [mailto:[EMAIL PROTECTED] Enviada em: quinta-feira, 28 de fevereiro de 2008 12:06 Para: PHP General list Assunto: [PHP] auto-wrap on posts all,

RES: [PHP] ZCE guidance needed

2008-02-28 Thread Thiago Pojda
-Mensagem original- De: Ray Hauge [mailto:[EMAIL PROTECTED] Enviada em: quinta-feira, 28 de fevereiro de 2008 11:23 Para: Nathan Nobbe Cc: Shelley; php-general@lists.php.net Assunto: Re: [PHP] ZCE guidance needed Same here. I read the practice book and took the Vulcan training tests.

Re: [PHP] Sometimes I wonder why I even started programming...

2008-02-28 Thread Philip Thompson
On Feb 27, 2008, at 4:51 PM, Jochem Maas wrote: Jason Pruim schreef: So I was supposed to go home a half hour ago but that didn't happen... I hate deadlines! :P in my home language Pruim means prune ... you sound like you've had to suck on one to many ;-) Can someone tell me why this

Re: [PHP] auto-wrap on posts

2008-02-28 Thread Daniel Brown
On Thu, Feb 28, 2008 at 10:25 AM, Ray Hauge [EMAIL PROTECTED] wrote: Since we're talking about post issues I'll include this. I don't seem to receive my own emails. Does the list not send them back to you? I haven't been able to find anything yet. I just like to see all the comments.

Re: [PHP] auto-wrap on posts

2008-02-28 Thread Daniel Brown
On Thu, Feb 28, 2008 at 11:13 AM, Thiago Pojda [EMAIL PROTECTED] wrote: I'm on outlook tho. That's your first mistake ;-P -- /Dan Daniel P. Brown Senior Unix Geek ? while(1) { $me = $mind--; sleep(86400); } ? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] auto-wrap on posts

2008-02-28 Thread Daniel Brown
It should also be noted that Gmail has its own way of handling line breaks, like it or not - at least via the web interface. Write out a simple mail script with complete From: and X-Mailer: headers. You'll see at least the X-Mailer: line appear in the message body. -- /Dan Daniel P.

Re: [PHP] auto-wrap on posts

2008-02-28 Thread Ray Hauge
Daniel Brown wrote: On Thu, Feb 28, 2008 at 10:25 AM, Ray Hauge [EMAIL PROTECTED] wrote: Since we're talking about post issues I'll include this. I don't seem to receive my own emails. Does the list not send them back to you? I haven't been able to find anything yet. I just like to see

Re: [PHP] auto-wrap on posts

2008-02-28 Thread David Giragosian
On 2/28/08, Daniel Brown [EMAIL PROTECTED] wrote: On Thu, Feb 28, 2008 at 10:25 AM, Ray Hauge [EMAIL PROTECTED] wrote: Since we're talking about post issues I'll include this. I don't seem to receive my own emails. Does the list not send them back to you? I haven't been able to find

Re: [PHP] auto-wrap on posts

2008-02-28 Thread Eric Butera
On Thu, Feb 28, 2008 at 10:06 AM, Nathan Nobbe [EMAIL PROTECTED] wrote: all, a fellow poster has been kind enough to bring to my attention how jacked some of my posts appear. i was manually formatting my posts, but it appears the list server must also be doing some formatting as many of

Re: [PHP] ZCE guidance needed

2008-02-28 Thread Nathan Nobbe
On Thu, Feb 28, 2008 at 11:13 AM, Thiago Pojda [EMAIL PROTECTED] wrote: -Mensagem original- De: Ray Hauge [mailto:[EMAIL PROTECTED] Enviada em: quinta-feira, 28 de fevereiro de 2008 11:23 Para: Nathan Nobbe Cc: Shelley; php-general@lists.php.net Assunto: Re: [PHP] ZCE guidance

RES: [PHP] auto-wrap on posts

2008-02-28 Thread Thiago Pojda
-Mensagem original- De: Daniel Brown [mailto:[EMAIL PROTECTED] Enviada em: quinta-feira, 28 de fevereiro de 2008 13:14 On Thu, Feb 28, 2008 at 11:13 AM, Thiago Pojda [EMAIL PROTECTED] wrote: I'm on outlook tho. That's your first mistake ;-P -- I have no choice, company

Re: [PHP] reverse string without strrev();

2008-02-28 Thread Robin Vickery
On 28/02/2008, Robert Cummings [EMAIL PROTECTED] wrote: On Thu, 2008-02-28 at 12:39 +, Nathan Rixham wrote: Aschwin Wesselius wrote: Stut wrote: Just because it works doesn't mean it's right. -Stut What I meant was that I tested the script and it worked,

Re: [PHP] Sometimes I wonder why I even started programming...

2008-02-28 Thread Eric Butera
On Wed, Feb 27, 2008 at 5:12 PM, Daniel Brown [EMAIL PROTECTED] wrote: On Wed, Feb 27, 2008 at 4:55 PM, Jason Pruim [EMAIL PROTECTED] wrote: So I was supposed to go home a half hour ago but that didn't happen... I hate deadlines! :P You whine like a mule. [snip!]

Re: [PHP] Guidance

2008-02-28 Thread Andrew Ballard
On Thu, Feb 28, 2008 at 7:32 AM, Jochem Maas [EMAIL PROTECTED] wrote: Stut schreef: On 28 Feb 2008, at 12:15, Timothy Asiedu wrote: Please I would be grateful if you could remove my e-mail address: [EMAIL PROTECTED] from the general Mailing List. Unsubscribe instructions are in the

[PHP] Hot job opportunity - Sr. Software Developer/Architect

2008-02-28 Thread Nick Gasparro
Hello Group! I have an immediate need for a Sr. Developer/Architect; with one of Denver's Best employers. They are a Web 2.0 company, rapidly growing and very profitable. They will pay top compensation and provide relocation assistance for the right person. Here is what they are

Re: [PHP] Sometimes I wonder why I even started programming...

2008-02-28 Thread Jason Pruim
On Feb 28, 2008, at 11:11 AM, Philip Thompson wrote: On Feb 27, 2008, at 4:51 PM, Jochem Maas wrote: Jason Pruim schreef: So I was supposed to go home a half hour ago but that didn't happen... I hate deadlines! :P in my home language Pruim means prune ... you sound like you've had to

Re: [PHP] Sometimes I wonder why I even started programming...

2008-02-28 Thread Jason Pruim
On Feb 28, 2008, at 11:28 AM, Eric Butera wrote: On Wed, Feb 27, 2008 at 5:12 PM, Daniel Brown [EMAIL PROTECTED] wrote: On Wed, Feb 27, 2008 at 4:55 PM, Jason Pruim [EMAIL PROTECTED] wrote: So I was supposed to go home a half hour ago but that didn't happen... I hate deadlines! :P

[PHP] Re: Hot job opportunity - Sr. Software Developer/Architect

2008-02-28 Thread Nathan Rixham
Nick Gasparro wrote: Hello Group! I have an immediate need for a Sr. Developer/Architect; with one of Denver's Best employers. They are a Web 2.0 company, rapidly growing and very profitable. They will pay top compensation and provide relocation assistance for the right person.

Re: [PHP] Sometimes I wonder why I even started programming...

2008-02-28 Thread Daniel Brown
On Thu, Feb 28, 2008 at 11:28 AM, Eric Butera [EMAIL PROTECTED] wrote: Guess all your posts stating to sanitize data just really don't have an impact, huh? Perhaps you should stop posting code that doesn't validate/escape as it will be copied and pasted as I've told you before. I'm

Re: [PHP] Re: Hot job opportunity - Sr. Software Developer/Architect

2008-02-28 Thread Nathan Nobbe
On Thu, Feb 28, 2008 at 11:56 AM, Nathan Rixham [EMAIL PROTECTED] wrote: throw in a $350k relocation package, flexible working hours, full travelling expenses, double pay for working during working hours, triple pay for working during working hours and onsite, quadruple pay for working

Re: [PHP] Re: Hot job opportunity - Sr. Software Developer/Architect

2008-02-28 Thread Nathan Rixham
Nathan Nobbe wrote: On Thu, Feb 28, 2008 at 11:56 AM, Nathan Rixham [EMAIL PROTECTED] wrote: throw in a $350k relocation package, flexible working hours, full travelling expenses, double pay for working during working hours, triple pay for working during working hours and onsite, quadruple pay

Re: [PHP] Re: Hot job opportunity - Sr. Software Developer/Architect

2008-02-28 Thread Daniel Brown
On Thu, Feb 28, 2008 at 11:56 AM, Nathan Rixham [EMAIL PROTECTED] wrote: throw in a $350k relocation package, flexible working hours, full travelling expenses, double pay for working during working hours, triple pay for working during working hours and onsite, quadruple pay for working

Re: [PHP] Sometimes I wonder why I even started programming...

2008-02-28 Thread Eric Butera
On Thu, Feb 28, 2008 at 11:59 AM, Daniel Brown [EMAIL PROTECTED] wrote: On Thu, Feb 28, 2008 at 11:28 AM, Eric Butera [EMAIL PROTECTED] wrote: Guess all your posts stating to sanitize data just really don't have an impact, huh? Perhaps you should stop posting code that doesn't

Re: [PHP] Sometimes I wonder why I even started programming...

2008-02-28 Thread Daniel Brown
On Thu, Feb 28, 2008 at 12:36 PM, Eric Butera [EMAIL PROTECTED] wrote: And I'd appreciate it if you kept all your posts about wearing dresses to yourself but it isn't going to happen. :) Heh. It is a bad visual, isn't it? ;-P -- /Dan Daniel P. Brown Senior Unix Geek ? while(1) { $me =

Re: [PHP] Sometimes I wonder why I even started programming...

2008-02-28 Thread Eric Butera
On Thu, Feb 28, 2008 at 11:57 AM, Jason Pruim [EMAIL PROTECTED] wrote: On Feb 28, 2008, at 11:28 AM, Eric Butera wrote: On Wed, Feb 27, 2008 at 5:12 PM, Daniel Brown [EMAIL PROTECTED] wrote: On Wed, Feb 27, 2008 at 4:55 PM, Jason Pruim [EMAIL PROTECTED] wrote: So I was supposed

Re: [PHP] reverse string without strrev();

2008-02-28 Thread Robert Cummings
On Thu, 2008-02-28 at 16:26 +, Robin Vickery wrote: On 28/02/2008, Robert Cummings [EMAIL PROTECTED] wrote: There's always a tradeoff between speed and memory. Here's the low memory version: ?php $str = '1234567'; str_reverse_in_place( $str ); echo 'Reversed:

Re: [PHP] Re: Hot job opportunity - Sr. Software Developer/Architect

2008-02-28 Thread Robert Cummings
On Thu, 2008-02-28 at 12:09 -0500, Daniel Brown wrote: On Thu, Feb 28, 2008 at 11:56 AM, Nathan Rixham [EMAIL PROTECTED] wrote: throw in a $350k relocation package, flexible working hours, full travelling expenses, double pay for working during working hours, triple pay for working

Re: [PHP] Sometimes I wonder why I even started programming...

2008-02-28 Thread Jason Pruim
On Feb 28, 2008, at 12:39 PM, Eric Butera wrote: On Thu, Feb 28, 2008 at 11:57 AM, Jason Pruim [EMAIL PROTECTED] wrote: On Feb 28, 2008, at 11:28 AM, Eric Butera wrote: On Wed, Feb 27, 2008 at 5:12 PM, Daniel Brown [EMAIL PROTECTED] wrote: On Wed, Feb 27, 2008 at 4:55 PM, Jason Pruim

Re: [PHP] Sometimes I wonder why I even started programming...

2008-02-28 Thread Eric Butera
On Thu, Feb 28, 2008 at 12:38 PM, Daniel Brown [EMAIL PROTECTED] wrote: On Thu, Feb 28, 2008 at 12:36 PM, Eric Butera [EMAIL PROTECTED] wrote: And I'd appreciate it if you kept all your posts about wearing dresses to yourself but it isn't going to happen. :) Heh. It is a bad visual,

Re: [PHP] Sometimes I wonder why I even started programming...

2008-02-28 Thread Daniel Brown
On Thu, Feb 28, 2008 at 12:57 PM, Eric Butera [EMAIL PROTECTED] wrote: All my point is that I've been on this list for a while. I've posted code and watched people just copy and paste it. I've watched other people copy and paste their examples. I used to say sanitize your data and watch

Re: [PHP] Flexible Shopping Cart (was: Shopping Carts)

2008-02-28 Thread Eric Butera
On Thu, Feb 28, 2008 at 9:26 AM, tedd [EMAIL PROTECTED] wrote: At 12:14 AM -0200 2/28/08, Manuel Barros Reyes wrote: The details are in that thread but basically what I am looking for is a shopping cart that has flexibility with respect to the graphical layout of elements and their

Re: [PHP] Sometimes I wonder why I even started programming...

2008-02-28 Thread Andrew Ballard
On Thu, Feb 28, 2008 at 12:56 PM, Jason Pruim [EMAIL PROTECTED] wrote: On Feb 28, 2008, at 12:39 PM, Eric Butera wrote: On Thu, Feb 28, 2008 at 11:57 AM, Jason Pruim [EMAIL PROTECTED] wrote: On Feb 28, 2008, at 11:28 AM, Eric Butera wrote: On Wed, Feb 27, 2008 at 5:12 PM,

Re: [PHP] Flexible Shopping Cart (was: Shopping Carts)

2008-02-28 Thread Daniel Brown
On Thu, Feb 28, 2008 at 1:26 PM, Eric Butera [EMAIL PROTECTED] wrote: Magento is designed with css. But I know right now that you won't like it. ;) Because their server doesn't have PHP configured properly? ;-P Here is an example page:

Re: [PHP] Flexible Shopping Cart (was: Shopping Carts)

2008-02-28 Thread Eric Butera
On Thu, Feb 28, 2008 at 1:32 PM, Daniel Brown [EMAIL PROTECTED] wrote: On Thu, Feb 28, 2008 at 1:26 PM, Eric Butera [EMAIL PROTECTED] wrote: Magento is designed with css. But I know right now that you won't like it. ;) Because their server doesn't have PHP configured properly? ;-P

Re: [PHP] Sometimes I wonder why I even started programming...

2008-02-28 Thread Nathan Rixham
Eric Butera wrote: On Thu, Feb 28, 2008 at 12:38 PM, Daniel Brown [EMAIL PROTECTED] wrote: On Thu, Feb 28, 2008 at 12:36 PM, Eric Butera [EMAIL PROTECTED] wrote: And I'd appreciate it if you kept all your posts about wearing dresses to yourself but it isn't going to happen. :) Heh. It

Re: [PHP] Flexible Shopping Cart (was: Shopping Carts)

2008-02-28 Thread Nathan Rixham
?$_productCollection=$this-getLoadedProductCollection()? ?if(!$_productCollection-getSize()):? div class=note-msg ?=$this-__('There are no products matching the selection.')? /div first 5 lines I've seen of it and it's got short-tags, escapes in and out of php/html, no templating engine and no

  1   2   >