Re: [PHP] What's the best way to make a dynamic plugin architecture?

2012-08-31 Thread Mark
On Tue, Aug 28, 2012 at 1:43 PM, Matijn Woudt tijn...@gmail.com wrote: On Tue, Aug 28, 2012 at 1:16 AM, Larry Garfield la...@garfieldtech.com wrote: On 8/27/12 6:11 PM, Matijn Woudt wrote: You should never be calling require() yourself. Just follow the PSR-0 naming standard and use an

Re: [PHP] What's the best way to make a dynamic plugin architecture?

2012-08-28 Thread Matijn Woudt
On Tue, Aug 28, 2012 at 1:16 AM, Larry Garfield la...@garfieldtech.com wrote: On 8/27/12 6:11 PM, Matijn Woudt wrote: You should never be calling require() yourself. Just follow the PSR-0 naming standard and use an autoloader, then you don't have to even think about it. There are many

Re: [PHP] What's the best way to make a dynamic plugin architecture?

2012-08-27 Thread Stuart Dallas
On 26 Aug 2012, at 19:42, Mark mark...@gmail.com wrote: Envision the following plugin architecture: class PluginLoader { } interface PluginInterface { .. some function definitions .. } class PluginOne implements PluginInterface { } class PluginTwo implements PluginInterface {

Re: [PHP] What's the best way to make a dynamic plugin architecture?

2012-08-27 Thread Mark
On Mon, Aug 27, 2012 at 12:41 PM, Stuart Dallas stu...@3ft9.com wrote: On 26 Aug 2012, at 19:42, Mark mark...@gmail.com wrote: Envision the following plugin architecture: class PluginLoader { } interface PluginInterface { .. some function definitions .. } class PluginOne implements

Re: [PHP] What's the best way to make a dynamic plugin architecture?

2012-08-27 Thread Stuart Dallas
On 27 Aug 2012, at 14:29, Mark mark...@gmail.com wrote: On Mon, Aug 27, 2012 at 12:41 PM, Stuart Dallas stu...@3ft9.com wrote: On 26 Aug 2012, at 19:42, Mark mark...@gmail.com wrote: 2. Let the plugin itself (so in this case PluginOne.php) open itself and register it to the PluginLoader.

Re: [PHP] What's the best way to make a dynamic plugin architecture?

2012-08-27 Thread Mark
On Mon, Aug 27, 2012 at 3:46 PM, Stuart Dallas stu...@3ft9.com wrote: On 27 Aug 2012, at 14:29, Mark mark...@gmail.com wrote: On Mon, Aug 27, 2012 at 12:41 PM, Stuart Dallas stu...@3ft9.com wrote: On 26 Aug 2012, at 19:42, Mark mark...@gmail.com wrote: 2. Let the plugin itself (so in this

Re: [PHP] What's the best way to make a dynamic plugin architecture?

2012-08-27 Thread Stuart Dallas
On 27 Aug 2012, at 14:52, Mark mark...@gmail.com wrote: On Mon, Aug 27, 2012 at 3:46 PM, Stuart Dallas stu...@3ft9.com wrote: On 27 Aug 2012, at 14:29, Mark mark...@gmail.com wrote: On Mon, Aug 27, 2012 at 12:41 PM, Stuart Dallas stu...@3ft9.com wrote: On 26 Aug 2012, at 19:42, Mark

Re: [PHP] What's the best way to make a dynamic plugin architecture?

2012-08-27 Thread Mark
On Mon, Aug 27, 2012 at 4:26 PM, Stuart Dallas stu...@3ft9.com wrote: On 27 Aug 2012, at 14:52, Mark mark...@gmail.com wrote: On Mon, Aug 27, 2012 at 3:46 PM, Stuart Dallas stu...@3ft9.com wrote: On 27 Aug 2012, at 14:29, Mark mark...@gmail.com wrote: On Mon, Aug 27, 2012 at 12:41 PM, Stuart

Re: [PHP] What's the best way to make a dynamic plugin architecture?

2012-08-27 Thread Larry Garfield
On 8/27/12 4:09 PM, Mark wrote: On Mon, Aug 27, 2012 at 4:26 PM, Stuart Dallas stu...@3ft9.com wrote: 2. Let the plugin itself (so in this case PluginOne.php) open itself and register it to the PluginLoader. With the first option i have to do eval which i try to avoid if possible. With the

Re: [PHP] What's the best way to make a dynamic plugin architecture?

2012-08-27 Thread Matijn Woudt
On Tue, Aug 28, 2012 at 12:58 AM, Larry Garfield la...@garfieldtech.com wrote: On 8/27/12 4:09 PM, Mark wrote: On Mon, Aug 27, 2012 at 4:26 PM, Stuart Dallas stu...@3ft9.com wrote: 2. Let the plugin itself (so in this case PluginOne.php) open itself and register it to the PluginLoader.

Re: [PHP] What's the best way to make a dynamic plugin architecture?

2012-08-27 Thread Larry Garfield
On 8/27/12 6:11 PM, Matijn Woudt wrote: You should never be calling require() yourself. Just follow the PSR-0 naming standard and use an autoloader, then you don't have to even think about it. There are many existing autoloaders you can use, including Composer's, Symfony2's, and probably Zend

Re: [PHP] What's happened to our newsgroup?

2012-06-29 Thread Marc Guay
You mean everyone finally RTFM? There's a manual? GoDaddy told me to just ask all of my questions here! (No insult meant, in case it's not obvious.) Happy Fridays Marc -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] What's happened to our newsgroup?

2012-06-28 Thread tamouse mailing lists
On Wed, Jun 27, 2012 at 9:42 AM, Tedd Sperling t...@sperling.com wrote: On Jun 26, 2012, at 3:21 PM, Al n...@ridersite.org wrote: No postings for days. Maybe everyone learned it -- no new questions. Cheers, tedd We now all have php.net open all the time so no more questions need to be

Re: [PHP] What's happened to our newsgroup?

2012-06-28 Thread Daniel Fenn
Or everyone is on holiday for php :P On Fri, Jun 29, 2012 at 10:43 AM, tamouse mailing lists tamouse.li...@gmail.com wrote: On Wed, Jun 27, 2012 at 9:42 AM, Tedd Sperling t...@sperling.com wrote: On Jun 26, 2012, at 3:21 PM, Al n...@ridersite.org wrote: No postings for days. Maybe

Re: [PHP] What's happened to our newsgroup?

2012-06-28 Thread Jay Blanchard
[snip] We now all have php.net open all the time so no more questions need to be asked! : [/snip] You mean everyone finally RTFM? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] What's happened to our newsgroup?

2012-06-27 Thread Tedd Sperling
On Jun 26, 2012, at 3:21 PM, Al n...@ridersite.org wrote: No postings for days. Maybe everyone learned it -- no new questions. Cheers, tedd _ t...@sperling.com http://sperling.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] What's happened to our newsgroup?

2012-06-26 Thread Govinda
No postings for days. everyone RTFM? :-) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] What's happened to our newsgroup?

2012-06-26 Thread Steven Staples
-Original Message- From: Govinda [mailto:govinda.webdnat...@gmail.com] Sent: June 26, 2012 3:25 PM To: PHP-General List Subject: Re: [PHP] What's happened to our newsgroup? No postings for days. everyone RTFM? :-) Maybe they joined the British mailing list? Steven

Re: [PHP] What's happened to our newsgroup?

2012-06-26 Thread TR Shaw
On Jun 26, 2012, at 3:28 PM, Steven Staples wrote: -Original Message- From: Govinda [mailto:govinda.webdnat...@gmail.com] Sent: June 26, 2012 3:25 PM To: PHP-General List Subject: Re: [PHP] What's happened to our newsgroup? No postings for days. everyone RTFM

Re: [PHP] What's happened to our newsgroup?

2012-06-26 Thread Larry Martell
On Tue, Jun 26, 2012 at 1:30 PM, TR Shaw ts...@oitc.com wrote: On Jun 26, 2012, at 3:28 PM, Steven Staples wrote: -Original Message- From: Govinda [mailto:govinda.webdnat...@gmail.com] Sent: June 26, 2012 3:25 PM To: PHP-General List Subject: Re: [PHP] What's happened to our

Re: [PHP] What's happened to our newsgroup?

2012-06-26 Thread Marc Guay
Everyone switched to PCP? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] What's happened to our newsgroup?

2012-06-26 Thread Ashley Sheridan
On Tue, 2012-06-26 at 15:42 -0400, Marc Guay wrote: Everyone switched to PCP? I wonder if the thing that happened to your newsgroup has also happened to this mailing list? :p -- Thanks, Ash http://www.ashleysheridan.co.uk

RE: [PHP] What's happened to our newsgroup?

2012-06-26 Thread Jen Rasmussen
LOL -Original Message- From: Ashley Sheridan [mailto:a...@ashleysheridan.co.uk] Sent: Tuesday, June 26, 2012 3:13 PM To: Marc Guay Cc: php-general@lists.php.net Subject: Re: [PHP] What's happened to our newsgroup? On Tue, 2012-06-26 at 15:42 -0400, Marc Guay wrote: Everyone switched

Re: [PHP] What's happened to our newsgroup?

2012-06-26 Thread Jason Pruim
On Jun 26, 2012, at 4:15 PM, Jen Rasmussen j...@cetaceasound.com wrote: LOL -Original Message- From: Ashley Sheridan [mailto:a...@ashleysheridan.co.uk] Sent: Tuesday, June 26, 2012 3:13 PM To: Marc Guay Cc: php-general@lists.php.net Subject: Re: [PHP] What's happened to our

Re: [PHP] What's happened to our newsgroup?

2012-06-26 Thread Matijn Woudt
Guay Cc: php-general@lists.php.net Subject: Re: [PHP] What's happened to our newsgroup? On Tue, 2012-06-26 at 15:42 -0400, Marc Guay wrote: Everyone switched to PCP? I wonder if the thing that happened to your newsgroup has also happened to this mailing list? :p We can't talk like

Re: [PHP] What's happened to our newsgroup?

2012-06-26 Thread Daniel Brown
On Tue, Jun 26, 2012 at 5:42 PM, Matijn Woudt tijn...@gmail.com wrote: Isn't everyday friday in summer? ;) If it is, then it could be argued that every day is a Monday in winter --- and right now, those poor folks in the southern hemisphere (I'm looking at you, Thiago Pojda) are in a season

Re: [PHP] What's happened to our newsgroup?

2012-06-26 Thread Simon J Welsh
On 27/06/2012, at 9:45 AM, Daniel Brown wrote: On Tue, Jun 26, 2012 at 5:42 PM, Matijn Woudt tijn...@gmail.com wrote: Isn't everyday friday in summer? ;) If it is, then it could be argued that every day is a Monday in winter --- and right now, those poor folks in the southern

Re: [PHP] What's happened to our newsgroup?

2012-06-26 Thread Stefan Wixfort
On 26.06.2012 23:48, Simon J Welsh wrote: On 27/06/2012, at 9:45 AM, Daniel Brown wrote: On Tue, Jun 26, 2012 at 5:42 PM, Matijn Woudt tijn...@gmail.com wrote: Isn't everyday friday in summer? ;) If it is, then it could be argued that every day is a Monday in winter --- and right now,

Re: [PHP] What's happened to our newsgroup?

2012-06-26 Thread tamouse mailing lists
On Jun 26, 2012 5:31 PM, Stefan Wixfort stefan.wixf...@gmx.de wrote: On 26.06.2012 23:48, Simon J Welsh wrote: On 27/06/2012, at 9:45 AM, Daniel Brown wrote: On Tue, Jun 26, 2012 at 5:42 PM, Matijn Woudt tijn...@gmail.com wrote: Isn't everyday friday in summer? ;) If it is, then it

Re: [PHP] What's happened to our newsgroup?

2012-06-26 Thread Matijn Woudt
On Tue, Jun 26, 2012 at 11:45 PM, Daniel Brown danbr...@php.net wrote: On Tue, Jun 26, 2012 at 5:42 PM, Matijn Woudt tijn...@gmail.com wrote: Isn't everyday friday in summer? ;)    If it is, then it could be argued that every day is a Monday in winter --- and right now, those poor folks in

Re: Re: Re: [PHP] What's Your Favorite Design Pattern?

2012-02-10 Thread Jeremiah Dodds
On Wed, Feb 8, 2012 at 12:48 PM, Paul M Foster pa...@quillandmouse.com wrote: Um, yeah. It's very meta. (That's what I love about The C Programming Language. It's a little over half an inch thick in paperback, explains the whole language clearly and concisely, and has barely been revised

Re: Re: Re: [PHP] What's Your Favorite Design Pattern?

2012-02-08 Thread Tim Streater
On 07 Feb 2012 at 22:31, Paul M Foster pa...@quillandmouse.com wrote: Design Patterns are Way Nifty Kewl patterns of code which are supposed to facilitate certain types of operations. (Was that sarcasm you detected? Yes it was.) For example, the Singleton pattern. Let's say you had a

Re: Re: Re: [PHP] What's Your Favorite Design Pattern?

2012-02-08 Thread Paul M Foster
On Wed, Feb 08, 2012 at 02:25:00PM +, Tim Streater wrote: [snip] Mmmm. Well, at this point I feel underwhelmed - but its entirely possible that I'm missing something profound [1]. Not really. After looking at some of the reviews of the book you mention on Amazon, I might be

RE: [PHP] What's Your Favorite Design Pattern?

2012-02-07 Thread admin
-Original Message- From: Mike Mackintosh [mailto:mike.mackint...@angrystatic.com] Sent: Tuesday, February 07, 2012 1:57 PM To: PHP General List Subject: [PHP] What's Your Favorite Design Pattern? I was curious to see what everyones favorite design patterns were, if you use any,

Re: [PHP] What's Your Favorite Design Pattern?

2012-02-07 Thread Adam Richardson
On Tue, Feb 7, 2012 at 1:56 PM, Mike Mackintosh mike.mackint...@angrystatic.com wrote: I was curious to see what everyones favorite design patterns were, if you use any, and why/when have you used it? Choices include slots and signals (observer), singleton, mvc, hmvc, factory, commander

Re: [PHP] What's Your Favorite Design Pattern?

2012-02-07 Thread Fatih P.
mostly MVC, Singleton and Factory. depends on requirements.

Re: [PHP] What's Your Favorite Design Pattern?

2012-02-07 Thread Daniel Brown
On Tue, Feb 7, 2012 at 13:56, Mike Mackintosh mike.mackint...@angrystatic.com wrote: I was curious to see what everyones favorite design patterns were, if you use any, and why/when have you used it? Choices include slots and signals (observer), singleton, mvc, hmvc, factory, commander etc..

Re: [PHP] What's Your Favorite Design Pattern?

2012-02-07 Thread Bastien
On 2012-02-07, at 2:34 PM, Daniel Brown danbr...@php.net wrote: On Tue, Feb 7, 2012 at 13:56, Mike Mackintosh mike.mackint...@angrystatic.com wrote: I was curious to see what everyones favorite design patterns were, if you use any, and why/when have you used it? Choices include slots and

Re: Re: [PHP] What's Your Favorite Design Pattern?

2012-02-07 Thread Tim Streater
On 07 Feb 2012 at 19:34, Daniel Brown danbr...@php.net wrote: On Tue, Feb 7, 2012 at 13:56, Mike Mackintosh mike.mackint...@angrystatic.com wrote: I was curious to see what everyones favorite design patterns were, if you use any, and why/when have you used it? Choices include slots and

Re: Re: [PHP] What's Your Favorite Design Pattern?

2012-02-07 Thread Paul M Foster
On Tue, Feb 07, 2012 at 09:02:00PM +, Tim Streater wrote: On 07 Feb 2012 at 19:34, Daniel Brown danbr...@php.net wrote: On Tue, Feb 7, 2012 at 13:56, Mike Mackintosh mike.mackint...@angrystatic.com wrote: I was curious to see what everyones favorite design patterns were, if you

Re: Re: [PHP] What's Your Favorite Design Pattern?

2012-02-07 Thread Tommy Pham
On Tue, Feb 7, 2012 at 2:31 PM, Paul M Foster pa...@quillandmouse.com wrote: On Tue, Feb 07, 2012 at 09:02:00PM +, Tim Streater wrote: On 07 Feb 2012 at 19:34, Daniel Brown danbr...@php.net wrote: On Tue, Feb 7, 2012 at 13:56, Mike Mackintosh mike.mackint...@angrystatic.com wrote: I

Re: [PHP] What's the problem with this PHP code?

2011-11-04 Thread shiplu
On Fri, Nov 4, 2011 at 1:47 PM, Sophia red_an...@techno-info.com wrote: Here is the PHP code: ?php $panka =c:can-it-rock- :the-boat-of- :love- ; $pankb = preg_split(':',$panka); It should be preg_split('/:/', $panka); $pankc = $pankb{1}; echo ( . $panka . )\n( . $pankc

Re: [PHP] What's the problem with this PHP code?

2011-11-04 Thread tamouse mailing lists
On Fri, Nov 4, 2011 at 2:52 AM, shiplu shiplu@gmail.com wrote: On Fri, Nov 4, 2011 at 1:47 PM, Sophia red_an...@techno-info.com wrote: Here is the PHP code: ?php $panka =   c:can-it-rock-    :the-boat-of- :love-  ; $pankb = preg_split(':',$panka); It should be

Re: [PHP] what's wrong with this php system

2011-08-08 Thread Sharl.Jimh.Tsin
在 2011-08-08一的 14:30 +0800,smith jack写道: I have installed a php system on my pc, it works well, except the head of the page is a bit strange, there is some warning information, and occupies lot of space, what's wrong, the error information is as follows: Warning: Parameter 1 to

Re: [PHP] What's up with Quercus?

2011-05-28 Thread Nathan Nobbe
On Fri, May 27, 2011 at 11:52 PM, Arnold Hesnod ahes...@mindvox.com wrote: Although I've been mostly using Java and Ruby in my professional software development work for the past decade or so, in the past two or three years I've started to do more and more PHP. I originally started using PHP

Re: [PHP] What's faster using if else or arrays?

2011-04-30 Thread Stuart Dallas
and case seems to be more faster for the job and a lot cleaner --Original Message-- From: Andre Polykanine To: dholmes1...@gmail.com Cc: php-general@lists.php.net Subject: Re: [PHP] What's faster using if else or arrays? Sent: Apr 28, 2011 6:17 PM

Re: [PHP] What's faster using if else or arrays?

2011-04-29 Thread Steve Staples
@lists.php.net Subject: Re: [PHP] What's faster using if else or arrays? Sent: Apr 28, 2011 6:17 PM Hello Dholmes1031, I would write it like this: switch($foo) { case 5: $dothis; break; case 3: $dothat; break; default: $donothing; break; } This sounds like a job for *dun

Re: [PHP] What's faster using if else or arrays?

2011-04-29 Thread Robert Cummings
...@gmail.com Cc: php-general@lists.php.net Subject: Re: [PHP] What's faster using if else or arrays? Sent: Apr 28, 2011 6:17 PM Hello Dholmes1031, I would write it like this: switch($foo) { case 5: $dothis; break; case 3: $dothat; break; default: $donothing; break; } This sounds

Re: [PHP] What's faster using if else or arrays?

2011-04-29 Thread tedd
At 7:19 PM -0400 4/28/11, Robert Cummings wrote: On 11-04-28 06:37 PM, dholmes1...@gmail.com wrote: Thanks switch and case seems to be more faster for the job and a lot cleaner Hello Dholmes1031, I would write it like this: switch($foo) { case 5: $dothis; break; case 3: $dothat;

Re: [PHP] What's faster using if else or arrays?

2011-04-29 Thread Tamara Temple
--Original Message-- From: Andre Polykanine To: dholmes1...@gmail.com Cc: php-general@lists.php.net Subject: Re: [PHP] What's faster using if else or arrays? Sent: Apr 28, 2011 6:17 PM Hello Dholmes1031, I would write it like this: switch($foo) { case 5: $dothis; break; case 3: $dothat

Re: [PHP] What's faster using if else or arrays?

2011-04-28 Thread Andre Polykanine
Hello Dholmes1031, I would write it like this: switch($foo) { case 5: $dothis; break; case 3: $dothat; break; default: $donothing; break; } -- With best regards from Ukraine, Andre Skype: Francophile My blog: http://oire.org/menelion (mostly in Russian) Twitter:

Re: [PHP] What's faster using if else or arrays?

2011-04-28 Thread dholmes1031
Thanks switch and case seems to be more faster for the job and a lot cleaner --Original Message-- From: Andre Polykanine To: dholmes1...@gmail.com Cc: php-general@lists.php.net Subject: Re: [PHP] What's faster using if else or arrays? Sent: Apr 28, 2011 6:17 PM Hello Dholmes1031, I

Re: [PHP] What's faster using if else or arrays?

2011-04-28 Thread Robert Cummings
On 11-04-28 06:37 PM, dholmes1...@gmail.com wrote: Thanks switch and case seems to be more faster for the job and a lot cleaner --Original Message-- From: Andre Polykanine To: dholmes1...@gmail.com Cc: php-general@lists.php.net Subject: Re: [PHP] What's faster using if else or arrays

Re: [PHP] What's wrong in this function? Does not work for me.

2010-07-03 Thread Alexandre Simon
Hello, multiple things: - escape your values: 1. if some of the user input contains '\'' for instance, your query is not well formed 2. if some evil user want to do anything with your DB, he can do it = See mysql_escape_string or PDO prepared statements - Use else part of the if statement

Re: [PHP] What's wrong in this function? Does not work for me.

2010-07-03 Thread Hans Åhlin
: Re: [PHP] What's wrong in this function? Does not work for me. From: a...@ashleysheridan.co.uk To: carlos_s...@hotmail.com CC: php-general@lists.php.net Date: Sat, 3 Jul 2010 00:08:05 +0100 On Fri, 2010-07-02 at 22:05 +, Carlos Sura wrote: Hello, this function does not work

Re: [PHP] What's wrong in this function? Does not work for me.

2010-07-03 Thread Ashley Sheridan
On Sat, 2010-07-03 at 09:01 +0200, Alexandre Simon wrote: Hello, multiple things: - escape your values: 1. if some of the user input contains '\'' for instance, your query is not well formed 2. if some evil user want to do anything with your DB, he can do it = See

Re: [PHP] What's wrong in this function? Does not work for me.

2010-07-03 Thread Ashley Sheridan
the entire class.php code?? Thank you for helping me. Carlos Sura. Subject: Re: [PHP] What's wrong in this function? Does not work for me. From: a...@ashleysheridan.co.uk To: carlos_s...@hotmail.com CC: php-general@lists.php.net Date: Sat, 3 Jul 2010 00:08:05 +0100

Re: [PHP] What's wrong in this function? Does not work for me.

2010-07-03 Thread Hans Åhlin
Another thing is that I would use != false, so every value but false passes. $objEmploye=new Employe; if ( $objEmploye-insert(array($name,$lastname,$salary,$dui,$afp,$isss,$nit)) == true){ echo 'Saved'; }else{ echo 'Error, try again'; }

Re: [PHP] What's wrong in this function? Does not work for me.

2010-07-03 Thread Ashley Sheridan
On Sat, 2010-07-03 at 16:11 +0200, Hans Åhlin wrote: Another thing is that I would use != false, so every value but false passes. $objEmploye=new Employe; if ( $objEmploye-insert(array($name,$lastname,$salary,$dui,$afp,$isss,$nit)) == true){ echo 'Saved'; }else{

Re: [PHP] What's wrong in this function? Does not work for me.

2010-07-02 Thread Ashley Sheridan
On Fri, 2010-07-02 at 22:05 +, Carlos Sura wrote: Hello, this function does not work for me... And I really don't know what am I doing wrong... Any help?? This function is in a class, and I call it in a form, to create a new user.. $objEmploye=new Employe; if (

RE: [PHP] What's wrong in this function? Does not work for me.

2010-07-02 Thread Carlos Sura
. Subject: Re: [PHP] What's wrong in this function? Does not work for me. From: a...@ashleysheridan.co.uk To: carlos_s...@hotmail.com CC: php-general@lists.php.net Date: Sat, 3 Jul 2010 00:08:05 +0100 On Fri, 2010-07-02 at 22:05 +, Carlos Sura wrote: Hello, this function

RE: [PHP] What's wrong in this function? Does not work for me.

2010-07-02 Thread Ashley Sheridan
the entire class.php code?? Thank you for helping me. Carlos Sura. Subject: Re: [PHP] What's wrong in this function? Does not work for me. From: a...@ashleysheridan.co.uk To: carlos_s...@hotmail.com CC: php-general@lists.php.net Date: Sat, 3 Jul 2010 00:08:05 +0100

Re: [PHP] What's wrong with this code?

2010-06-05 Thread Karl DeSaulniers
Could the exit() be terminating it? Do you need this exit() as the else for that if statement? Try deleting just the else {}. JAT Karl Sent from losPhone On Jun 5, 2010, at 6:54 PM, David Mehler dave.meh...@gmail.com wrote: Hello, I've got a while loop outputting values from a database.

Re: [PHP] What's wrong with this code?

2010-06-05 Thread David Mehler
Hi, Thanks. I took out the entire else section including the exit call, it now all processes, however $row['enddate'] is not displayed on the two records where it is set. Thanks. Dave. On 6/5/10, Karl DeSaulniers k...@designdrumm.com wrote: Could the exit() be terminating it? Do you need this

Re: [PHP] What's wrong with this code?

2010-06-05 Thread Karl DeSaulniers
So your code looks like this? while($row = mysql_fetch_array($result3)) { echo tr; echo td . $row['name'] . /td; echo td . $row['type'] . /td; echo td . $row['startdate'] . /td; if (!empty($row['EndDate'])) { //This should probably be $row ['enddate'] echo td . $row['enddate'] . /td; } echo

Re: [PHP] What's wrong with this code?

2010-06-05 Thread Mari Masuda
Could it be that you are not using the same variable name? In the if statement you are using $row['EndDate'] and when attempting to print you are using $row['enddate']. I think you need to be consistent about which capitalization you use (and make sure it matches what is in the db). if

Re: [PHP] What's wrong with this code?

2010-06-05 Thread David Mehler
Hello everyone, Much thanks. Sometimes when you stare at code for so long it blurs together, that's how it is with me at least. That was my problem, case sensitive variable. Thanks a lot. Dave. On 6/5/10, Mari Masuda mari.mas...@stanford.edu wrote: Could it be that you are not using the same

Re: [PHP] what's the point of _autoload?

2010-05-14 Thread Peter Lind
On 14 May 2010 15:31, Michael N. Madsen m...@criion.net wrote: Since php started to support oop it has moved more and more features in that direction. This is good for me because I love oop. Then came _autoload() and I was rejoiced only to find that this (no fun)ction can't be used to it's

Re: [PHP] what's the point of _autoload?

2010-05-14 Thread Nathan Nobbe
On Fri, May 14, 2010 at 7:31 AM, Michael N. Madsen m...@criion.net wrote: Since php started to support oop it has moved more and more features in that direction. This is good for me because I love oop. Then came _autoload() and I was rejoiced only to find that this (no fun)ction can't be used

Re: [PHP] What's your game? (X-PHP)

2010-04-27 Thread Richard Quadling
On 26 April 2010 19:54, Williams, Dewey willi...@uncc.edu wrote: The only online games I play are Guild Wars and - now - Dungeons and Dragons Online (FREE!).  I haven't played vgaplanets in ages - too few servers to get a decent game. Not certain I can even install my original 3.5 inch disk

Re: [PHP] What's your game? (X-PHP)

2010-04-27 Thread Programming Guides
On Tue, Apr 27, 2010 at 7:37 AM, Richard Quadling rquadl...@googlemail.comwrote: On 26 April 2010 19:54, Williams, Dewey willi...@uncc.edu wrote: The only online games I play are Guild Wars and - now - Dungeons and Dragons Online (FREE!). I haven't played vgaplanets in ages - too few

Re: [PHP] What's your game? (X-PHP)

2010-04-27 Thread Dan Joseph
On Tue, Apr 27, 2010 at 9:24 AM, Programming Guides programming.gui...@gmail.com wrote: I've played and still play StarCraft: Brood War a lot. StarCraft 2 is now available for pre-order and the beta is active. I'm looking forward to it but I'm not looking forward to how much time I'll sink

Re: [PHP] What's your game? (X-PHP)

2010-04-27 Thread Programming Guides
On Tue, Apr 27, 2010 at 8:27 AM, Dan Joseph dmjos...@gmail.com wrote: On Tue, Apr 27, 2010 at 9:24 AM, Programming Guides programming.gui...@gmail.com wrote: I've played and still play StarCraft: Brood War a lot. StarCraft 2 is now available for pre-order and the beta is active. I'm

RE: [PHP] What's your game? (X-PHP)

2010-04-27 Thread Tommy Pham
-Original Message- From: Programming Guides [mailto:programming.gui...@gmail.com] Sent: Tuesday, April 27, 2010 6:35 AM To: Dan Joseph Cc: php-general@lists.php.net Subject: Re: [PHP] What's your game? (X-PHP) On Tue, Apr 27, 2010 at 8:27 AM, Dan Joseph dmjos...@gmail.com wrote

Re: [PHP] What's your game? (X-PHP)

2010-04-26 Thread Richard Quadling
On 25 April 2010 14:16, tedd t...@sperling.com wrote: What's your game? My wife and I play enjoy Baulder's Gate on the PS2 and I like the Lego (Star Wars, Batman, etc.) games on the PSP. The kids like to play Ice Age and Cars but crash a lot and end up shouting at each other. -- -

Re: [PHP] What's your game? (X-PHP)

2010-04-26 Thread Kevin Kinsey
Richard Quadling wrote: On 25 April 2010 14:16, tedd t...@sperling.com wrote: What's your game? Ooh, do we *have* to tell? I've got interest in the AOE stuff, but haven't played in a while. Haven't purchased AOE3. If I'm *really* bored, I've got freecell.exe running on every O.S. I run

Re: [PHP] What's your game? (X-PHP)

2010-04-26 Thread Dan Joseph
On Sun, Apr 25, 2010 at 9:16 AM, tedd t...@sperling.com wrote: My gamer tag is special tedd Hey Tedd, I'm 'jakmo' on Live. I'll have to give you an add next time I jump on. I've been playing Dragon Age and Lost Odyssey. Both are great. -- -Dan Joseph www.canishosting.com - Unlimited

Re: [PHP] What's your game? (X-PHP)

2010-04-26 Thread Dan Joseph
On Mon, Apr 26, 2010 at 7:48 AM, Richard Quadling rquadl...@googlemail.comwrote: On 25 April 2010 14:16, tedd t...@sperling.com wrote: What's your game? My wife and I play enjoy Baulder's Gate on the PS2 and I like the Lego (Star Wars, Batman, etc.) games on the PSP. The kids like to play

Re: [PHP] What's your game? (X-PHP)

2010-04-26 Thread Ashley Sheridan
On Mon, 2010-04-26 at 12:41 -0400, Dan Joseph wrote: On Mon, Apr 26, 2010 at 7:48 AM, Richard Quadling rquadl...@googlemail.comwrote: On 25 April 2010 14:16, tedd t...@sperling.com wrote: What's your game? My wife and I play enjoy Baulder's Gate on the PS2 and I like the Lego (Star

Re: [PHP] What's your game? (X-PHP)

2010-04-26 Thread Dan Joseph
On Mon, Apr 26, 2010 at 12:36 PM, Ashley Sheridan a...@ashleysheridan.co.ukwrote: Diablo 3 is out soon... Thanks, Ash http://www.ashleysheridan.co.uk oh cool, I did not realize.. have they set a release date yet? I didn't see one on gamestop.com... -- -Dan Joseph

Re: [PHP] What's your game? (X-PHP)

2010-04-26 Thread Ashley Sheridan
On Mon, 2010-04-26 at 12:48 -0400, Dan Joseph wrote: On Mon, Apr 26, 2010 at 12:36 PM, Ashley Sheridan a...@ashleysheridan.co.ukwrote: Diablo 3 is out soon... Thanks, Ash http://www.ashleysheridan.co.uk oh cool, I did not realize.. have they set a release date yet? I

Re: [PHP] What's your game? (X-PHP)

2010-04-26 Thread Dan Joseph
On Mon, Apr 26, 2010 at 12:52 PM, Ashley Sheridan a...@ashleysheridan.co.ukwrote: Not yet, but there's trailers on YouTube and it looks good so far. A few more classes, different mobs, it looks good! The screenshots look great as well. I am going to check YouTube for trailers. Maybe after

RE: [PHP] What's your game? (X-PHP)

2010-04-26 Thread Bob McConnell
The last game I played was catch. My oldest grandson and I borrowed his cousin's Harlem Globetrotters miniature basketball. I taught him how to use spin to deflect the ball path when it bounced. I actually don't recall the last time I played an electronic game. Bob McConnell -- PHP General

RE: [PHP] What's your game? (X-PHP)

2010-04-26 Thread Williams, Dewey
The only online games I play are Guild Wars and - now - Dungeons and Dragons Online (FREE!). I haven't played vgaplanets in ages - too few servers to get a decent game. Not certain I can even install my original 3.5 inch disk anymore! Dewey Williams -Original Message- From: tedd

Re: [PHP] What's your game? (X-PHP)

2010-04-25 Thread David McGlone
On Sunday 25 April 2010 09:16:23 tedd wrote: Hi gang: Considering we recently had several people mention what games they play, it might be interesting to see what everyone plays. As for me, I currently play Modern Warfare 2 on XBOX. It's the most recent in a long line of war games (i.e.,

Re: [PHP] What's your game? (X-PHP)

2010-04-25 Thread Jim Lucas
tedd wrote: Hi gang: Considering we recently had several people mention what games they play, it might be interesting to see what everyone plays. As for me, I currently play Modern Warfare 2 on XBOX. It's the most recent in a long line of war games (i.e., Call of Duty, Ghost Recon, etc.).

Re: [PHP] What's your game? (X-PHP)

2010-04-25 Thread Robert Cummings
tedd wrote: Hi gang: Considering we recently had several people mention what games they play, it might be interesting to see what everyone plays. As for me, I currently play Modern Warfare 2 on XBOX. It's the most recent in a long line of war games (i.e., Call of Duty, Ghost Recon, etc.).

Re: [PHP] What's your game? (X-PHP)

2010-04-25 Thread Nathan Rixham
Robert Cummings wrote: tedd wrote: Hi gang: Considering we recently had several people mention what games they play, it might be interesting to see what everyone plays. As for me, I currently play Modern Warfare 2 on XBOX. It's the most recent in a long line of war games (i.e., Call of

Re: [PHP] What's your game? (X-PHP)

2010-04-25 Thread Hans Åhlin
Lineage II Comanche 4 Unreal Tournament Blood Rayne 1 and 2 Battlefield 2, 2142 Warhammer 40k Fallout 1, 2 and 3 My game list at CheatHappens.com http://www.cheathappens.com/show_user.asp?userID=553587 ** Hans Åhlin Tel: +46761488019

Re: [PHP] What's your game? (X-PHP)

2010-04-25 Thread Robert Cummings
I do, though I can't find the disc right now... Keiran (19 months) was last seen toddling around with it about 2 weeks ago :/ When I find it I'll send you my player code. Nathan Rixham wrote: Robert Cummings wrote: tedd wrote: Hi gang: Considering we recently had several people mention

Re: [PHP] What's your game? (X-PHP)

2010-04-25 Thread shiplu
King Of Fighters (Series), Tom Raider (Series), Grand Theft Auto (Series), Max Payne, Max Payne II, Prince Of Persia (Series), Sudoku Shiplu Mokaddim My talks, http://talk.cmyweb.net Follow me, http://twitter.com/shiplu SUST Programmers, http://groups.google.com/group/p2psust Innovation

Re: [PHP] What's your game? (X-PHP)

2010-04-25 Thread Ashley Sheridan
On Sun, 2010-04-25 at 13:56 -0400, Robert Cummings wrote: tedd wrote: Hi gang: Considering we recently had several people mention what games they play, it might be interesting to see what everyone plays. As for me, I currently play Modern Warfare 2 on XBOX. It's the most recent

Re: [PHP] What's your game? (X-PHP)

2010-04-25 Thread Jason Pruim
On Apr 25, 2010, at 9:16 AM, tedd wrote: Hi gang: Considering we recently had several people mention what games they play, it might be interesting to see what everyone plays. As for me, I currently play Modern Warfare 2 on XBOX. It's the most recent in a long line of war games (i.e.,

Re: [PHP] What's your game? (X-PHP)

2010-04-25 Thread Danilo Moncastro Sabbagh
Is anyone up for a vgaplanets match? Danilo Moncastro Sabbagh cel: +55 31 88613128 gtalk: torea...@gmail.com Em 25/04/2010, às 17:13, Jason Pruim escreveu: On Apr 25, 2010, at 9:16 AM, tedd wrote: Hi gang: Considering we recently had several people mention what games they play, it

Re: [PHP] What's your game? (X-PHP)

2010-04-25 Thread sean greenslade
On Sun, Apr 25, 2010 at 4:13 PM, Jason Pruim li...@pruimphotography.comwrote: On Apr 25, 2010, at 9:16 AM, tedd wrote: Hi gang: Considering we recently had several people mention what games they play, it might be interesting to see what everyone plays. As for me, I currently play Modern

Re: [PHP] What's your game? (X-PHP)

2010-04-25 Thread David McGlone
On Sunday 25 April 2010 09:16:23 tedd wrote: apologies if this made it to the list earlier this morning when I initially sent it. I didn't see my reply so I'm going to try again here. Hi gang: Considering we recently had several people mention what games they play, it might be interesting

Re: [PHP] What's the best way to extract HTML out of $var?

2010-01-15 Thread Bruno Fajardo
2010/1/15 alexus ale...@gmail.com: What's the best way to extract HTML out of $var? example of $var $var = a href=http://http://stackoverflow.com/Stack Overflow/a I want $var2 = http://starckoverflow.com/; example: preg_match(); what else? Hi, If you simply wants to remove all tags

Re: [PHP] What's the best way to extract HTML out of $var?

2010-01-14 Thread John Meyer
On 1/14/2010 7:15 PM, alexus wrote: What's the best way to extract HTML out of $var? example of $var $var = a href=http://http://stackoverflow.com/Stack Overflow/a I want $var2 = http://starckoverflow.com/; example: preg_match(); what else? Actually what it looks like you want

Re: [PHP] What's the best way to rotate, resize, and thumbnail?

2009-01-17 Thread Ashley Sheridan
On Fri, 2009-01-16 at 20:38 -0500, Al wrote: port23user wrote: I have a site (done in CodeIgniter) where users can upload pictures. When they upload a picture, I want to rotate it (rotating is optional, depending on how much cpu/ram I end up needing), resize it, and create a thumbnail.

Re: [PHP] What's the best way to rotate, resize, and thumbnail?

2009-01-17 Thread Kevin Waterson
This one time, at band camp, Al n...@ridersite.org wrote: Imagick class. Has more image manipulating functions than you'll ever use. You name, and there's function to do it. http://www.phpro.org/examples/Create-Thumbnail-With-GD.html

  1   2   3   4   >