[PHP] Re: What the hell is Begacom?

2013-08-04 Thread Jonesy
On Sun, 4 Aug 2013 14:02:07 +0200, Camilo Sperberg wrote: Sent from my iPhone 6 Beta [Confidential use only] You need not apologize. :-) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: What wrong am I doing now?

2013-07-24 Thread Jim Giner
On 7/24/2013 8:19 AM, Karl-Arne Gjersøyen wrote: mysql SELECT DATE_FORMAT(dato, '%e-%c-%Y') FROM transportdokument WHERE dato = '2013-07-20' AND dato = '2013-07-24' GROUP BY dato DESC; +---+ | DATE_FORMAT(dato, '%e-%c-%Y') | +---+ |

Re: [PHP] Re: What wrong am I doing now?

2013-07-24 Thread Matijn Woudt
On Wed, Jul 24, 2013 at 2:45 PM, Jim Giner jim.gi...@albanyhandball.comwrote: On 7/24/2013 8:19 AM, Karl-Arne Gjersøyen wrote: mysql SELECT DATE_FORMAT(dato, '%e-%c-%Y') FROM transportdokument WHERE dato = '2013-07-20' AND dato = '2013-07-24' GROUP BY dato DESC;

Re: [PHP] Re: What wrong am I doing now?

2013-07-24 Thread Jim Giner
Jim, He already has that... - Matijn oops -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: What do you call the end-user?

2012-07-24 Thread Shawn McKenzie
On 07/19/2012 12:26 PM, Tedd Sperling wrote: Hi gang: I can't wait for tomorrow -- so here's my off-topic post today. First question: What do you call the people who ultimately use your code? Many times I would call them dumb asses. Especially many of the users of free software. Even

Re: [PHP] Re: What do you call the end-user?

2012-07-24 Thread Paul M Foster
On Tue, Jul 24, 2012 at 10:12:34AM -0500, Shawn McKenzie wrote: On 07/19/2012 12:26 PM, Tedd Sperling wrote: Hi gang: I can't wait for tomorrow -- so here's my off-topic post today. First question: What do you call the people who ultimately use your code? Many times I would

Re: [PHP] Re: What would you like to see in most in a text editor?

2011-09-16 Thread tamouse mailing lists
On Wed, Sep 14, 2011 at 5:07 PM, Jonesy gm...@jonz.net wrote: On Wed, 14 Sep 2011 14:08:09 +0100, Richard Quadling wrote: On 14 September 2011 13:18, Tim Streater t...@clothears.org.uk wrote: On 14 Sep 2011 at 12:40, Richard Quadling rquadl...@gmail.com wrote: On 14 September 2011 01:23,

[PHP] Re: What would you like to see in most in a text editor?

2011-09-14 Thread Jonesy
On Wed, 14 Sep 2011 14:08:09 +0100, Richard Quadling wrote: On 14 September 2011 13:18, Tim Streater t...@clothears.org.uk wrote: On 14 Sep 2011 at 12:40, Richard Quadling rquadl...@gmail.com wrote: On 14 September 2011 01:23, tamouse wrote: On Tue, Sep 13, 2011 at 3:35 PM, Robert Cummings

[PHP] Re: What do you get for ...

2011-06-07 Thread Geoff Lane
On Tuesday, June 7, 2011, Richard Quadling wrote: What do you get for ... php -r var_dump(realpath(null)); PHP 5.3.5-1ubuntu7.2 on Ubuntu 11.04 kernel 2.6.18 returns the same value as __DIR__ However, PHP 5.1.6 on CentOS 5.6 kernel 2.6.18 returns bool(false). Doing php -r var_dump(__DIR__);

Re: [PHP] Re: What do you get for ...

2011-06-07 Thread Richard Quadling
On 7 June 2011 13:04, Geoff Lane ge...@gjctech.co.uk wrote: On Tuesday, June 7, 2011, Richard Quadling wrote: What do you get for ... php -r var_dump(realpath(null)); PHP 5.3.5-1ubuntu7.2 on Ubuntu 11.04 kernel 2.6.18 returns the same value as __DIR__ However, PHP 5.1.6 on CentOS 5.6

[PHP] Re: What do you get for ...

2011-06-07 Thread Geoff Lane
On Tuesday, June 7, 2011, Richard Quadling wrote: But the surprising issue is that your 5.1.6 returns bool(false). So far, that's the only report I've got that shows inconsistent behaviour for PHP5+ I too was surprised, which is why I took the time to report. AFAICT, I've got the standard

RE: [PHP] Re: what is php4 popularity?

2009-12-14 Thread Angelo Zanetti
-Original Message- From: Eric Bauman [mailto:baum...@livejournal.dk] Sent: 08 October 2009 02:39 PM To: php-general@lists.php.net; Paul M. Subject: [PHP] Re: what is php4 popularity? On 8/10/2009 4:28 PM, Paul M. wrote: Hey guys, does anyone have a good link for an article where php4

[PHP] Re: What method is best for generating thumbnails in PHP from PDF's?

2009-11-12 Thread O. Lavell
Chris Payne wrote: Hi Everyone, I have been asked to create thumbnails from the first page of a PDF document on the fly with PHP, I have looked online but am confused as there doesn't seem 1 simple solution. What would you all recommend as an easy way to do this? Any help would be

Re: [PHP] Re: What method is best for generating thumbnails in PHP from PDF's?

2009-11-12 Thread Joseph Masoud
On 12/11/09 17:44, O. Lavell wrote: Chris Payne wrote: Hi Everyone, I have been asked to create thumbnails from the first page of a PDF document on the fly with PHP, I have looked online but am confused as there doesn't seem 1 simple solution. What would you all recommend as an easy way to

[PHP] Re: What PHP version are you using?

2009-11-04 Thread Nathan Rixham
Israel Ekpo wrote: Hi Guys, I just want to conduct a quick survey to find out what version of PHP people are using in their production environments. I have a PHP extension for Solr that I have set the minimum required version as 5.2.11. http://pecl.php.net/package/solr/ However, most of the

Re: [PHP] Re: What PHP version are you using?

2009-11-04 Thread Ashley Sheridan
On Wed, 2009-11-04 at 14:37 +, Nathan Rixham wrote: Israel Ekpo wrote: Hi Guys, I just want to conduct a quick survey to find out what version of PHP people are using in their production environments. I have a PHP extension for Solr that I have set the minimum required version

RE: [PHP] Re: What PHP version are you using?

2009-11-03 Thread Bob McConnell
From: Lester Caine Israel Ekpo wrote: On Mon, Nov 2, 2009 at 2:15 PM, John Black s...@network-technologies.orgwrote: Bob McConnell wrote: I just checked the Red Hat 5.4 manifest and it shows php-5.1.6-23.el5 - php-5.1.6-23.2.el5_3. CentOS simply repackages the Red Hat kit without the

Re: [PHP] Re: What PHP version are you using?

2009-11-02 Thread Israel Ekpo
On Mon, Nov 2, 2009 at 2:15 PM, John Black s...@network-technologies.orgwrote: Bob McConnell wrote: I just checked the Red Hat 5.4 manifest and it shows php-5.1.6-23.el5 - php-5.1.6-23.2.el5_3. CentOS simply repackages the Red Hat kit without the proprietary bits. I don't understand why they

Re: [PHP] Re: What PHP version are you using?

2009-11-02 Thread John Black
Israel Ekpo wrote: That is not good. 5.1.6 was released in August 2006. More than 3 years ago. There are a lot of bug fixes since then http://www.php.net/ChangeLog-5.php It looks like the php libraries are not maintained in CentOS and Red Hat Repositories. I posted the current RHEL version

Re: [PHP] Re: What PHP version are you using?

2009-11-02 Thread Lester Caine
Israel Ekpo wrote: On Mon, Nov 2, 2009 at 2:15 PM, John Black s...@network-technologies.orgwrote: Bob McConnell wrote: I just checked the Red Hat 5.4 manifest and it shows php-5.1.6-23.el5 - php-5.1.6-23.2.el5_3. CentOS simply repackages the Red Hat kit without the proprietary bits. I don't

[PHP] Re: What PHP version are you using?

2009-10-29 Thread Shawn McKenzie
Israel Ekpo wrote: Hi Guys, I just want to conduct a quick survey to find out what version of PHP people are using in their production environments. I have a PHP extension for Solr that I have set the minimum required version as 5.2.11. http://pecl.php.net/package/solr/ However,

[PHP] Re: What PHP version are you using?

2009-10-29 Thread Shawn McKenzie
Shawn McKenzie wrote: Home/Dev: 5.2.15 Web: 5.1.6 (probably should update) O.K. so 5.2.15 doesn't exist :-( That is the Zend debugger version I have. I actually have Home/Dev: 5.2.4. -- Thanks! -Shawn http://www.spidean.com -- PHP General Mailing List (http://www.php.net/) To

[PHP] Re: What would stop header(Location...) from working?

2009-10-28 Thread Mark Cilissen
tedd schreef: Hi gang: I just had a script stop following this statement: header(Location:users.php); It *was* working, but now instead of running users.php, it defaults to the parent script. When I place exit() after it, such as: header(Location:users.php); exit(); The script

[PHP] Re: what is php4 popularity?

2009-10-08 Thread Eric Bauman
On 8/10/2009 4:28 PM, Paul M. wrote: Hey guys, does anyone have a good link for an article where php4 popularity trends are examined? The best way for me to know php4 % and php5 %. I appreciate any good suggestions. Here's a pretty graph comparing PHP version usage and time:

[PHP] Re: what is php4 popularity?

2009-10-08 Thread Paul M.
Eric Bauman wrote: On 8/10/2009 4:28 PM, Paul M. wrote: Hey guys, does anyone have a good link for an article where php4 popularity trends are examined? The best way for me to know php4 % and php5 %. I appreciate any good suggestions. Here's a pretty graph comparing PHP version usage and

Re: [PHP] Re: What makes _SERVER stop working (RESOLVED)

2009-08-04 Thread Miller, Terion
On 8/3/09 7:44 PM, Shawn McKenzie nos...@mckenzies.net wrote: Miller, Terion wrote: All of a sudden this stopped working and keeps defaulting to A again if ($_SERVER['SCRIPT_FILENAME'] = browse.php ) { $default = A; } else { $default = ; } It stopped working or never

[PHP] Re: What makes _SERVER stop working

2009-08-03 Thread Ollisso
On Mon, 03 Aug 2009 20:26:35 +0300, Miller, Terion tmil...@springfi.gannett.com wrote: All of a sudden this stopped working and keeps defaulting to A again if ($_SERVER['SCRIPT_FILENAME'] = browse.php ) { $default = A; } else { $default = ; } it should be: if

[PHP] Re: What makes _SERVER stop working

2009-08-03 Thread Ben Dunlap
Miller, Terion wrote: if ($_SERVER['SCRIPT_FILENAME'] = browse.php ) { You're using the assignment operator above ('=') instead of the comparison ('=='). If that's not simply a typo that entered the code when you composed your email, then that's the source of your problem. You might

Re: [PHP] Re: What makes _SERVER stop working

2009-08-03 Thread Miller, Terion
On 8/3/09 1:40 PM, Ollisso olli...@fromru.com wrote: On Mon, 03 Aug 2009 20:26:35 +0300, Miller, Terion tmil...@springfi.gannett.com wrote: All of a sudden this stopped working and keeps defaulting to A again if ($_SERVER['SCRIPT_FILENAME'] = browse.php ) { $default = A; } else {

Re: [PHP] Re: What makes _SERVER stop working

2009-08-03 Thread Ollisso
On Mon, 03 Aug 2009 21:48:08 +0300, Miller, Terion tmil...@springfi.gannett.com wrote: Thanks but it still doesn't work, it defaults to 'A' and I want it to default to show 'A only on browse.php all other pages should show NO default selections. ' Create file with this content: ?php

Re: [PHP] Re: What makes _SERVER stop working

2009-08-03 Thread Miller, Terion
On 8/3/09 2:22 PM, Ollisso olli...@fromru.com wrote: On Mon, 03 Aug 2009 21:48:08 +0300, Miller, Terion tmil...@springfi.gannett.com wrote: Thanks but it still doesn't work, it defaults to 'A' and I want it to default to show 'A only on browse.php all other pages should show NO default

[PHP] Re: What is this called?

2009-07-06 Thread Shawn McKenzie
Miller, Terion wrote: Ok, say you have a database with 16000 records in it, but you only want to call out say 2000 records at a time as the search/query is performed, then store the first 2000 in a session and then retrieve the next 2000 etc etc as a way to minimize server strain? (I'm

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

2009-04-14 Thread Shawn McKenzie
René Fournier wrote: I'm trying to write a [simple] function, such that: function earlier_unix_timestamp () { $now = mktime(); [...] return $then; // e.g., 1238983107 } Anyone have something already made? There seem to be many ways to skin this cat, with date()

[PHP] Re: =.='' what wrong ? just simple code, however error.

2009-01-03 Thread Martin Zvarík
It works as expected on my PHP 5.2.4 LKSunny napsal(a): ? $credithold = 100; for($i=1;$i=1000;$i++){ $credithold -= 0.1; echo $creditholdbr /; } //i don't know why, when run this code, on 91.3 after expect is 91.2, however..91.2001 //who can help me ? and tell me why ?

Re: [PHP] Re: What font/size do you use for programming?

2008-07-17 Thread Yi Wang
On Sat, Jul 12, 2008 at 12:40 AM, Eric Butera [EMAIL PROTECTED] wrote: On Thu, Jul 10, 2008 at 5:29 PM, Philip Thompson [EMAIL PROTECTED] wrote: On Jul 10, 2008, at 3:35 PM, Omar Noppe wrote: Is there any reason to pick a black background en white fonts in your editor (for example

Re: [PHP] Re: What font/size do you use for programming?

2008-07-11 Thread Eric Butera
On Thu, Jul 10, 2008 at 5:29 PM, Philip Thompson [EMAIL PROTECTED] wrote: On Jul 10, 2008, at 3:35 PM, Omar Noppe wrote: Is there any reason to pick a black background en white fonts in your editor (for example writability)? I think a black background is much easier on the eyes I use a

[PHP] Re: What font/size do you use for programming?

2008-07-10 Thread Peter Ford
tedd wrote: Hi gang: I'm running a Mac (so I know mine is a bit different size wise) but I'm currently using Veranda at 14 point for coding. Just out of curiosity, what font and size do you ppls use for your programming? Cheers, tedd I'd love to be coding on the Veranda, but it's

[PHP] Re: What font/size do you use for programming?

2008-07-10 Thread Colin Guthrie
tedd wrote: Just out of curiosity, what font and size do you ppls use for your programming? I've got a lot of projects so I always use a really small font to save on disk space Col -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: What font/size do you use for programming?

2008-07-10 Thread Eric Butera
Here's how I roll. :) Consolas is the font. http://refraxion.com/pdt-eclipse.png -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: What font/size do you use for programming?

2008-07-10 Thread Daniel Brown
On Thu, Jul 10, 2008 at 9:46 AM, Eric Butera [EMAIL PROTECTED] wrote: Here's how I roll. :) Consolas is the font. http://refraxion.com/pdt-eclipse.png Reminds me of Comic Sans Bold. ;-P -- /Daniel P. Brown Dedicated Servers - Intel 2.4GHz w/2TB bandwidth/mo. starting at just $59.99/mo.

Re: [PHP] Re: What font/size do you use for programming?

2008-07-10 Thread Daniel Brown
On Thu, Jul 10, 2008 at 5:07 AM, Peter Ford [EMAIL PROTECTED] wrote: I'm running a Mac (so I know mine is a bit different size wise) but I'm currently using Veranda at 14 point for coding. I'd love to be coding on the Veranda, but it's raining horizontally at the moment and my keyboard hates

Re: [PHP] Re: What font/size do you use for programming?

2008-07-10 Thread Daniel Brown
On Thu, Jul 10, 2008 at 6:12 AM, Colin Guthrie [EMAIL PROTECTED] wrote: tedd wrote: Just out of curiosity, what font and size do you ppls use for your programming? I've got a lot of projects so I always use a really small font to save on disk space That doesn't work, dummy! You

Re: [PHP] Re: What font/size do you use for programming?

2008-07-10 Thread Philip Thompson
On Jul 10, 2008, at 4:07 AM, Peter Ford wrote: tedd wrote: Hi gang: I'm running a Mac (so I know mine is a bit different size wise) but I'm currently using Veranda at 14 point for coding. Just out of curiosity, what font and size do you ppls use for your programming? Cheers, tedd I'd

[PHP] Re: What font/size do you use for programming?

2008-07-10 Thread Colin Guthrie
Daniel Brown wrote: On Thu, Jul 10, 2008 at 6:12 AM, Colin Guthrie [EMAIL PROTECTED] wrote: tedd wrote: Just out of curiosity, what font and size do you ppls use for your programming? I've got a lot of projects so I always use a really small font to save on disk space That doesn't

Re: [PHP] Re: What font/size do you use for programming?

2008-07-10 Thread Jason Pruim
On Jul 10, 2008, at 10:44 AM, Colin Guthrie wrote: Daniel Brown wrote: On Thu, Jul 10, 2008 at 6:12 AM, Colin Guthrie [EMAIL PROTECTED] wrote: tedd wrote: Just out of curiosity, what font and size do you ppls use for your programming? I've got a lot of projects so I always use a really

Re: [PHP] Re: What font/size do you use for programming?

2008-07-10 Thread Daniel Brown
On Thu, Jul 10, 2008 at 10:53 AM, Jason Pruim [EMAIL PROTECTED] wrote: No wonder my files are so large... I have been saving them at 20 point type... Easier to read from aways away :P aways = 37.126 feet ;-P -- /Daniel P. Brown Dedicated Servers - Intel 2.4GHz w/2TB bandwidth/mo.

Re: [PHP] Re: What font/size do you use for programming?

2008-07-10 Thread Dan Joseph
On Thu, Jul 10, 2008 at 10:53 AM, Jason Pruim [EMAIL PROTECTED] wrote: On Jul 10, 2008, at 10:44 AM, Colin Guthrie wrote: Daniel Brown wrote: On Thu, Jul 10, 2008 at 6:12 AM, Colin Guthrie [EMAIL PROTECTED] wrote: tedd wrote: Just out of curiosity, what font and size do you ppls use

[PHP] Re: What font/size do you use for programming?

2008-07-10 Thread tedd
At 11:12 AM +0100 7/10/08, Colin Guthrie wrote: tedd wrote: Just out of curiosity, what font and size do you ppls use for your programming? I've got a lot of projects so I always use a really small font to save on disk space Col LOL Why is it that I always have to read your post

[PHP] Re: What font/size do you use for programming?

2008-07-10 Thread tedd
At 10:07 AM +0100 7/10/08, Peter Ford wrote: tedd wrote: Hi gang: I'm running a Mac (so I know mine is a bit different size wise) but I'm currently using Veranda at 14 point for coding. Just out of curiosity, what font and size do you ppls use for your programming? Cheers, tedd I'd

Re: [PHP] Re: What font/size do you use for programming?

2008-07-10 Thread tedd
At 12:24 PM -0400 7/10/08, Robert Cummings wrote: On Thu, 2008-07-10 at 11:47 -0400, tedd wrote: At 11:12 AM +0100 7/10/08, Colin Guthrie wrote: tedd wrote: Just out of curiosity, what font and size do you ppls use for your programming? I've got a lot of projects so I always use a really

Re: [PHP] Re: What font/size do you use for programming?

2008-07-10 Thread Robert Cummings
On Thu, 2008-07-10 at 11:47 -0400, tedd wrote: At 11:12 AM +0100 7/10/08, Colin Guthrie wrote: tedd wrote: Just out of curiosity, what font and size do you ppls use for your programming? I've got a lot of projects so I always use a really small font to save on disk space Col

Re: [PHP] Re: What font/size do you use for programming?

2008-07-10 Thread tedd
At 9:40 AM -0500 7/10/08, Philip Thompson wrote: On Jul 10, 2008, at 4:07 AM, Peter Ford wrote: I'm using Lucida Sans for code these days - I finally figured that it didn't really have to be a fixed-width font, since I couldn't find one that wasn't ugly. Are you sure you're a *coder*? =D

Re: [PHP] Re: What font/size do you use for programming?

2008-07-10 Thread Philip Thompson
On Jul 10, 2008, at 9:53 AM, Jason Pruim wrote: On Jul 10, 2008, at 10:44 AM, Colin Guthrie wrote: Daniel Brown wrote: On Thu, Jul 10, 2008 at 6:12 AM, Colin Guthrie [EMAIL PROTECTED] wrote: tedd wrote: Just out of curiosity, what font and size do you ppls use for your programming? I've

Re: [PHP] Re: What font/size do you use for programming?

2008-07-10 Thread Dan Joseph
On Thu, Jul 10, 2008 at 2:43 PM, Philip Thompson [EMAIL PROTECTED] wrote: On Jul 10, 2008, at 9:53 AM, Jason Pruim wrote: On Jul 10, 2008, at 10:44 AM, Colin Guthrie wrote: Daniel Brown wrote: On Thu, Jul 10, 2008 at 6:12 AM, Colin Guthrie [EMAIL PROTECTED] wrote: tedd wrote: Just

Re: [PHP] Re: What font/size do you use for programming?

2008-07-10 Thread Eric Butera
On Thu, Jul 10, 2008 at 2:43 PM, Philip Thompson [EMAIL PROTECTED] wrote: I think if you don't use indentation and unneeded spaces, you could save lots of space too... ?php function aFunction($a,$b) { if($a-$b0){ while($a+$b0){ if($c){ $c++; }else{ $c++; } } return 'negative';

RE: [PHP] Re: What font/size do you use for programming?

2008-07-10 Thread Jay Blanchard
[snip] ... [/snip] 220, 221whatever it takes -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: What font/size do you use for programming?

2008-07-10 Thread Omar Noppe
Is there any reason to pick a black background en white fonts in your editor (for example writability)? -- 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:

Re: [PHP] Re: What font/size do you use for programming?

2008-07-10 Thread Philip Thompson
On Jul 10, 2008, at 3:35 PM, Omar Noppe wrote: Is there any reason to pick a black background en white fonts in your editor (for example writability)? I think a black background is much easier on the eyes ~Philip -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] Re: What font/size do you use for programming?

2008-07-10 Thread Daniel Brown
On Thu, Jul 10, 2008 at 5:29 PM, Philip Thompson [EMAIL PROTECTED] wrote: On Jul 10, 2008, at 3:35 PM, Omar Noppe wrote: Is there any reason to pick a black background en white fonts in your editor (for example writability)? I think a black background is much easier on the eyes

[PHP] Re: What font/size do you use for programming?

2008-07-10 Thread Colin Guthrie
Dan Joseph wrote: You could probably save even more if you didn't use those unneeded returns also: ?php function aFunction($a,$b){if($a-$b0){while($a+$b0){if($c){$c++;}else{$c++;}}return 'negative';}else{return 'possitive';}} ? I think that's still perfectly legible. And that looks like a

Re: [PHP] Re: What font/size do you use for programming?

2008-07-10 Thread Robert Cummings
On Thu, 2008-07-10 at 12:33 -0400, tedd wrote: At 12:24 PM -0400 7/10/08, Robert Cummings wrote: On Thu, 2008-07-10 at 11:47 -0400, tedd wrote: At 11:12 AM +0100 7/10/08, Colin Guthrie wrote: tedd wrote: Just out of curiosity, what font and size do you ppls use for your programming?

Re: [PHP] Re: What font/size do you use for programming?

2008-07-10 Thread Robert Cummings
On Thu, 2008-07-10 at 16:29 -0500, Philip Thompson wrote: On Jul 10, 2008, at 3:35 PM, Omar Noppe wrote: Is there any reason to pick a black background en white fonts in your editor (for example writability)? I think a black background is much easier on the eyes And on the

Re: [PHP] Re: What font/size do you use for programming?

2008-07-10 Thread Robert Cummings
On Thu, 2008-07-10 at 23:47 +0100, Colin Guthrie wrote: Dan Joseph wrote: You could probably save even more if you didn't use those unneeded returns also: ?php function aFunction($a,$b){if($a-$b0){while($a+$b0){if($c){$c++;}else{$c++;}}return 'negative';}else{return 'possitive';}} ?

Re: [PHP] Re: What font/size do you use for programming?

2008-07-10 Thread dg
On Jul 10, 2008, at 9:33 PM, Robert Cummings wrote: On Thu, 2008-07-10 at 16:29 -0500, Philip Thompson wrote: On Jul 10, 2008, at 3:35 PM, Omar Noppe wrote: Is there any reason to pick a black background en white fonts in your editor (for example writability)? I think a black background is

Re: [PHP] Re: What font/size do you use for programming?

2008-07-10 Thread Robert Cummings
On Thu, 2008-07-10 at 21:45 -0700, dg wrote: Be cool to see screenshots of people's set-ups. The light grey is the only alteration I've ever made from BBedit's default settings. http://www.interjinn.com/bleh/snapshot.20080711.png Cheers, Rob. -- http://www.interjinn.com Application and

Re: [PHP] Re: What font/size do you use for programming?

2008-07-10 Thread dg
On Jul 10, 2008, at 10:31 PM, Robert Cummings wrote: http://www.interjinn.com/bleh/snapshot.20080711.png very kewl. Maybe I'll ask Rich Siegel to pose shirtless for my BBedit background... I'm used to line numbers along the side, especially given all my errors, how do you zoom in on

Re: [PHP] Re: What font/size do you use for programming?

2008-07-10 Thread Robert Cummings
On Thu, 2008-07-10 at 22:49 -0700, dg wrote: On Jul 10, 2008, at 10:31 PM, Robert Cummings wrote: http://www.interjinn.com/bleh/snapshot.20080711.png very kewl. Maybe I'll ask Rich Siegel to pose shirtless for my BBedit background... I'm used to line numbers along the side,

[PHP] Re: What font/size do you use for programming?

2008-07-09 Thread tedd
At 11:54 PM -0500 7/8/08, Shawn McKenzie wrote: Font: Agent Orange Size: 64pt 64pt! And I thought I my eyesight was poor at 14pt. Cheers, tedd -- --- http://sperling.com http://ancientstones.com http://earthstones.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe,

Re: [PHP] Re: What font/size do you use for programming?

2008-07-09 Thread Shawn McKenzie
tedd wrote: At 11:54 PM -0500 7/8/08, Shawn McKenzie wrote: Font: Agent Orange Size: 64pt 64pt! And I thought I my eyesight was poor at 14pt. Cheers, tedd Just kidding... Seriously, I just use what ever is default for the app I'm using. I used to use zend, now I use Aptana or kate for

[PHP] Re: What font/size do you use for programming?

2008-07-09 Thread Jonesy
On Tue, 8 Jul 2008 19:23:49 -0400, tedd wrote: I'm running a Mac (so I know mine is a bit different size wise) but I'm currently using Veranda at 14 point for coding. Just out of curiosity, what font and size do you ppls use for your programming? I've always found that my bash and php

[PHP] Re: What font/size do you use for programming?

2008-07-08 Thread Shawn McKenzie
tedd wrote: Hi gang: I'm running a Mac (so I know mine is a bit different size wise) but I'm currently using Veranda at 14 point for coding. Just out of curiosity, what font and size do you ppls use for your programming? Cheers, tedd Font: Agent Orange Size: 64pt 19 Westinghouse

[PHP] Re: what trick is this? How to do it?

2007-07-13 Thread Man-wai Chang
http://xsojix.imeem.com/music/1zyLl7y9/lost_my_music/ How did he/she do it? I meant the modal login window... I just found that linux.com is using the same trick. :) -- @~@ Might, Courage, Vision, SINCERITY. / v \ Simplicity is Beauty! May the Force and Farce be with you! /( _ )\

Re: [PHP] Re: what trick is this? How to do it?

2007-07-13 Thread tg-php
View the source and trace through the javascript. Looks like it has to do with: function openLogin() Which calls: dojo.require(dojo.widget.Dialog); and.. floatingWindow = dojo.widget.createWidget(Dialog, properties, node); and.. floatingWindow.setContent(iframe (bunch of stuff)/iframe);

Re: [PHP] Re: what trick is this? How to do it?

2007-07-13 Thread Daniel Brown
On 7/13/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: View the source and trace through the javascript. Looks like it has to do with: function openLogin() Which calls: dojo.require(dojo.widget.Dialog); and.. floatingWindow = dojo.widget.createWidget(Dialog, properties, node); and..

Re: [PHP] Re: what trick is this? How to do it?

2007-07-09 Thread clive
Man-wai Chang wrote: I asked here because I believe good PHP programmers are usually well-versed in client-side stuffs. :) That comment reeks of NLP :) clive -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: what trick is this? How to do it?

2007-07-07 Thread Colin Guthrie
Man-wai Chang wrote: http://xsojix.imeem.com/music/1zyLl7y9/lost_my_music/ How did he/she do it? I meant the modal login window... Just simple Javascript stuff. Just create a large div block that is absolutely positioned over the top of everything and spans the whole width/height of the

Re: [PHP] Re: what trick is this? How to do it?

2007-07-07 Thread Tijnema
On 7/7/07, Colin Guthrie [EMAIL PROTECTED] wrote: Man-wai Chang wrote: http://xsojix.imeem.com/music/1zyLl7y9/lost_my_music/ How did he/she do it? I meant the modal login window... Just simple Javascript stuff. Just create a large div block that is absolutely positioned over the top of

[PHP] Re: what trick is this? How to do it?

2007-07-07 Thread Man-wai Chang
I'm listening to the song now without logging in, just running this in the URL bar: javascript:floatingWindow.hide(); and the login window is gone :) So is there a proper way to create a modal window inside a browser? -- @~@ Might, Courage, Vision, SINCERITY. http://www.linux-sxs.org /

[PHP] Re: what trick is this? How to do it?

2007-07-07 Thread M. Sokolewicz
Man-wai Chang wrote: I'm listening to the song now without logging in, just running this in the URL bar: javascript:floatingWindow.hide(); and the login window is gone :) So is there a proper way to create a modal window inside a browser? There is no proper way. You have various tools to

[PHP] Re: what trick is this? How to do it?

2007-07-07 Thread Man-wai Chang
On a sidenote, this has nothing whatsoever to do with PHP, it's presentation in a client-browser we're looking at. I asked here because I believe good PHP programmers are usually well-versed in client-side stuffs. :) -- @~@ Might, Courage, Vision, SINCERITY. http://www.linux-sxs.org / v

Re: [PHP] Re: What does mean?

2007-05-02 Thread Richard Lynch
On Tue, May 1, 2007 12:55 pm, Robert Cummings wrote: Are there perhaps editors that would DISPLAY multi-line quoted strings indented to the correct level without inserting extra spaces? Some editors wrap lines to the correct level, which is also much more readable, so what I'm thinking of is

Re: [PHP] Re: What does mean?

2007-05-02 Thread Edward Vermillion
On May 2, 2007, at 3:59 PM, Richard Lynch wrote: [snip] One think you could consider to avoid the ugliness is to put the heredoc into a one-use function or in an incldue file that doesn't have enough indenting for it to look ugly in the first place. :-) That's what I do with 'em, and

[PHP] Re: What does mean?

2007-05-01 Thread Man-wai Chang
END some code END It's heredoc syntax. http://us2.php.net/manual/en/language.types.string.php#language.types.string.syntax.heredoc Bash redirection... :) -- .~. Might, Courage, Vision, SINCERITY. http://www.linux-sxs.org / v \ Simplicity is Beauty! May the Force and Farce be

Re: [PHP] Re: What does mean?

2007-05-01 Thread Robert Cummings
On Tue, 2007-05-01 at 20:40 +0800, Man-wai Chang wrote: END some code END It's heredoc syntax. http://us2.php.net/manual/en/language.types.string.php#language.types.string.syntax.heredoc Bash redirection... :) Syntax error ;) Cheers, Rob. --

[PHP] Re: What does mean?

2007-05-01 Thread Man-wai Chang
END some code END Bash redirection... :) Syntax error ;) Bash uses only 2. PHP uses 3. And I am using this: $sql= select ... from left join ... on where . ; -- .~. Might, Courage, Vision, SINCERITY. http://www.linux-sxs.org / v \ Simplicity

RE: [PHP] Re: What does mean?

2007-05-01 Thread Edward Kay
END some code END Bash redirection... :) Syntax error ;) Key stuck on keyboardd :) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Re: What does mean?

2007-05-01 Thread Robert Cummings
On Tue, 2007-05-01 at 15:01 +0100, Edward Kay wrote: END some code END Bash redirection... :) Syntax error ;) Key stuck on keyboardd :) *lol* -- .. | InterJinn Application Framework -

Re: [PHP] Re: What does mean?

2007-05-01 Thread Mattias Thorslund
Man-wai Chang wrote: Bash uses only 2. PHP uses 3. And I am using this: $sql= select ... from left join ... on where . ; Exactly. I never saw the point in complicating my life with heredocs when both single- and double-quoted strings can contain

Re: [PHP] Re: What does mean?

2007-05-01 Thread Robert Cummings
On Tue, 2007-05-01 at 08:36 -0700, Mattias Thorslund wrote: Man-wai Chang wrote: Bash uses only 2. PHP uses 3. And I am using this: $sql= select ... from left join ... on where . ; Exactly. I never saw the point in complicating my life

Re: [PHP] Re: What does mean?

2007-05-01 Thread Mattias Thorslund
Robert Cummings wrote: On Tue, 2007-05-01 at 08:36 -0700, Mattias Thorslund wrote: Man-wai Chang wrote: Bash uses only 2. PHP uses 3. And I am using this: $sql= select ... from left join ... on where . ; Exactly. I never saw the point

Re: [PHP] Re: What does mean?

2007-05-01 Thread Robert Cummings
On Tue, 2007-05-01 at 12:28 -0700, Mattias Thorslund wrote: Robert Cummings wrote: Now, I would wish for my editor to also indent multi-line strings in the same fashion. Essentially, the lines of $sql_ugly in my example above should be displayed in alignment with the indentation:

Re: [PHP] Re: What does mean?

2007-05-01 Thread Tijnema !
I doubt Microsoft develops an editor that I could use on my Linux system for this... Cheers, Mattias You could use a silly editor from Microsoft, and then run it using Wine. Tijnema -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: What sripts,helpers to use for AJAX

2007-03-08 Thread Mikey
Otto Wyss wrote: I want to add some AJAX communication to my pages and would like to know, what scripts, helpers you would recommend. I don't want to use a full featured framework, just something to do the AJAX work. So far I've come across the following solutions

RE: [PHP] Re: What sripts,helpers to use for AJAX

2007-03-08 Thread Edward Kay
Otto Wyss wrote: I want to add some AJAX communication to my pages and would like to know, what scripts, helpers you would recommend. I don't want to use a full featured framework, just something to do the AJAX work. So far I've come across the following solutions

Re: [PHP] Re: What sripts,helpers to use for AJAX

2007-03-08 Thread benifactor
im using http://www.prototypejs.org/ and have had no problems thus far. - Original Message - From: Mikey [EMAIL PROTECTED] To: php-general@lists.php.net Sent: Thursday, March 08, 2007 10:02 AM Subject: [PHP] Re: What sripts,helpers to use for AJAX Otto Wyss wrote: I want to add some

[PHP] Re: What is $this-

2007-02-19 Thread Dick Richard
Thanks for the responses. Searching the web for $this- provided no help at all. Your explainations got me on track and now I can find the right manual to read! Dick Dick Richard [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Can someone explain what $this- does and means. For example

[PHP] RE: What search algorithm does in_array() use?

2007-01-30 Thread Ken Dozier
BINGO! I just tried your array_flip() suggestion, Greg. Awesome! Thanks for the tip; I wouldn't have thought of that. Ken. -Original Message- From: Gregory Beaver [mailto:[EMAIL PROTECTED] Sent: Monday, January 29, 2007 4:54 PM To: Ken Dozier Cc: php-general@lists.php.net Subject:

[PHP] Re: What search algorithm does in_array() use?

2007-01-29 Thread Gregory Beaver
Ken Dozier wrote: Does in_array() use a search algorithm (i.e., binary search), or does it check sequentially each element in the array? I am using in_array() within a while{} loop to check query results against an access-list array to produce a third array containing items that

[PHP] Re: What makes a PHP expert

2007-01-18 Thread Colin Guthrie
Answer, nothing, PHP doesn't need Makefiles as it's an interpreted language :p hahahaha Sorry, I'll get my coat. Col. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: What makes a PHP expert

2007-01-18 Thread Robert Cummings
On Thu, 2007-01-18 at 14:25 +, Colin Guthrie wrote: Answer, nothing, PHP doesn't need Makefiles as it's an interpreted language :p Ummm, I build PHP from source. There is definitely a makefile :) hahahaha Sorry, I'll get my coat. Don't let the door hit you on the way out ;) Cheers,

  1   2   3   >