Re: [PHP] php5-fpm segfault

2011-09-30 Thread Александр Гончаров
You think this is PHP's bug? I'm not sure. Because PHP installed not latest version and yesterday i tune memory_limit setting to 256M (was -1) and no segfaults registered since that moment. I think, bad designed script allocate too much memory and php-fpm worker become mad and kill himself. But it'

Re: [PHP] php5-fpm segfault

2011-09-29 Thread Laruence
Hi : could you file a bug at https://bugs.php.net/ this is the proper way to report a bug :) thanks -- Laruence  Xinchen Hui http://www.laruence.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP5 cgi Suexec htaccess rewrite issue

2011-09-29 Thread Tommy Pham
On Thu, Sep 29, 2011 at 5:43 AM, Shaun Morrow wrote: > I am running a server with cPanel on and want to have php run as a cgi > with > Suexec enabled > > I cannot seem to rectify an issue, when I set the handler to cgi, my > rewrite > rules on one of my sites stop working > > Sample url: http://e

Re: [PHP] php5 - website development - what next

2010-10-08 Thread Richard Quadling
On 8 October 2010 14:53, Rakesh Mishra wrote: > Hi All, > > I  am PHP 4 & PHP 5 developer for last 6 yrs. Last year  also got Zend > certification. > Since now I have work on different CMS, Social Networking, telecome , horse > racing domains. > > But now I am little bored with developing website.

Re: [PHP] php5 - website development - what next

2010-10-08 Thread Paul M Foster
On Fri, Oct 08, 2010 at 07:23:59PM +0530, Rakesh Mishra wrote: > Hi All, > > I am PHP 4 & PHP 5 developer for last 6 yrs. Last year also got Zend > certification. > Since now I have work on different CMS, Social Networking, telecome , horse > racing domains. > > But now I am little bored with

Re: [PHP] php5 - website development - what next

2010-10-08 Thread 惠新宸
On 10/08/2010 22:06, 惠新宸 wrote: test, i can't send mail to lists? thanks On 10/08/2010 22:02, 惠新宸 wrote: Hi: 1. you can be a Software Architect 2. you can abstract common requirements, developed php extension. thanks. -- PHP General Mailing List (http://www.php.net/) To unsubscribe,

Re: [PHP] php5 - website development - what next

2010-10-08 Thread Daniel P. Brown
On Fri, Oct 8, 2010 at 09:53, Rakesh Mishra wrote: > > Even I believe my knowledge, interest, & market value  with PHP 5 is getting > saturated. > Do you guys suggest me what other thing I can learn or work which help me to > keep my lust for PHP alive > and also boost my career. Write deskto

Re: [PHP] PHP5 SOAP...

2009-06-16 Thread Tom Rogers
Hi, Wednesday, June 17, 2009, 1:21:47 AM, you wrote: RJ> I'm working on a project using SOAP and WS-Security in which I am failing RJ> miserably. RJ> Is there a way to inspect the actual XML, header, etc. that is actually RJ> being sent. I feel like I am constructing the call correctly, and I kno

RE: [PHP] PHP5 SOAP...

2009-06-16 Thread bruce
hi russell... isn't the actual soap data/packet that's being sent over the wire viewable via an app like livehttpheaders... (at least from firefox) or are you looking for something in much more detail... -Original Message- From: rjon...@gmail.com [mailto:rjon...@gmail.com]on Behalf Of

Re: [PHP] php5-mhash disabled...

2009-04-02 Thread Chris
Anders Norrbring wrote: I just saw that mhash is disabled in the spec file for php5 if SUSE version is 11.0 or higher. Simple question, does it do any harm? If they decided to do that it's best to ask suse (or on the opensuse lists if you're using that flavour). It may just be because it's d

Re: [PHP] PHP5 and the DOM model

2008-04-18 Thread Nathan Nobbe
On Fri, Apr 18, 2008 at 2:28 PM, Robert Cummings <[EMAIL PROTECTED]> wrote: > > On Fri, 2008-04-18 at 13:54 -0600, Nathan Nobbe wrote: > > On Fri, Apr 18, 2008 at 1:42 PM, Robert Cummings <[EMAIL PROTECTED]> > > wrote: > > > > > Nope, the point is moot. If I've made my properties publicly > access

Re: [PHP] PHP5 and the DOM model

2008-04-18 Thread Robert Cummings
On Fri, 2008-04-18 at 13:54 -0600, Nathan Nobbe wrote: > On Fri, Apr 18, 2008 at 1:42 PM, Robert Cummings <[EMAIL PROTECTED]> > wrote: > > > Nope, the point is moot. If I've made my properties publicly accessible, > > now, due to the ability to trap via __get() or __set(), I can remove > > them a

Re: [PHP] PHP5 and the DOM model

2008-04-18 Thread Nathan Nobbe
On Fri, Apr 18, 2008 at 1:42 PM, Robert Cummings <[EMAIL PROTECTED]> wrote: > Nope, the point is moot. If I've made my properties publicly accessible, > now, due to the ability to trap via __get() or __set(), I can remove > them and handle them. Thus, I can retrospectively change the semantics > w

Re: [PHP] PHP5 and the DOM model

2008-04-18 Thread Robert Cummings
On Fri, 2008-04-18 at 13:17 -0600, Nathan Nobbe wrote: > On Fri, Apr 18, 2008 at 1:02 PM, Robert Cummings <[EMAIL PROTECTED]> > wrote: > > > What he means is don't ask for the data literally (by property name) ask > > for it via a method. This allows wrapping the data in "work". This is a > > moo

Re: [PHP] PHP5 and the DOM model

2008-04-18 Thread Nathan Nobbe
On Fri, Apr 18, 2008 at 1:02 PM, Robert Cummings <[EMAIL PROTECTED]> wrote: > What he means is don't ask for the data literally (by property name) ask > for it via a method. This allows wrapping the data in "work". This is a > moot issue in PHP since PHP allows trapping the property accessor. i

Re: [PHP] PHP5 and the DOM model

2008-04-18 Thread Nathan Nobbe
On Fri, Apr 18, 2008 at 12:50 PM, Jim Lucas <[EMAIL PROTECTED]> wrote: > > Let me quote, you said this: "Is no different than" You are wrong, in > fact it IS different. Having your own custom methods to get or set data > allows you to have more control over what data is injected into your object

Re: [PHP] PHP5 and the DOM model

2008-04-18 Thread Robert Cummings
On Fri, 2008-04-18 at 11:50 -0700, Jim Lucas wrote: > Nick Stinemates wrote: > >>> Data Hiding IS Encapsulation. > >>> But, you have to agree, > >>> >>> class Lol { > >>> private $bar; > >>> public function getBar() { return $bar } > >>> public function setBar($bar) { $this->bar = $bar} > >>>

Re: [PHP] PHP5 and the DOM model

2008-04-18 Thread Jim Lucas
Nick Stinemates wrote: Data Hiding IS Encapsulation. But, you have to agree, bar = $bar} } ?> Is no different than: Here's a more thought out argument from http://www.javaworld.com/javaworld/jw-09-2003/jw-0905-toolbox.html : A fundamental precept of OO systems is that an object should not expos

Re: [PHP] PHP5 and the DOM model

2008-04-18 Thread Nathan Nobbe
On Fri, Apr 18, 2008 at 11:50 AM, Nick Stinemates <[EMAIL PROTECTED]> wrote: > That's a relatively narrow minded response to my point, since I gave > a pretty concrete example of exactly what I meant, no, its a very valid criticism of your flawed example. you supply a definition of encapsulatio

Re: [PHP] PHP5 and the DOM model

2008-04-18 Thread Nathan Nobbe
On Fri, Apr 18, 2008 at 11:21 AM, Nick Stinemates <[EMAIL PROTECTED]> wrote: > On Fri, Apr 18, 2008 at 10:25:29AM -0600, Nathan Nobbe wrote: > > On Thu, Apr 17, 2008 at 5:43 PM, Nick Stinemates <[EMAIL PROTECTED]> > > wrote: > > > > > On Thu, Apr 17, 2008 at 10:05:11AM +0200, Michael Preminger wro

Re: [PHP] PHP5 and the DOM model

2008-04-18 Thread Nick Stinemates
>> Data Hiding IS Encapsulation. >> But, you have to agree, >> > class Lol { >> private $bar; >> public function getBar() { return $bar } >> public function setBar($bar) { $this->bar = $bar} >> } >> ?> >> Is no different than: >> > class Lol { >> public $bar; >> } >> ?> >> Here's a more thought

Re: [PHP] PHP5 and the DOM model

2008-04-18 Thread Jim Lucas
Nick Stinemates wrote: On Fri, Apr 18, 2008 at 10:25:29AM -0600, Nathan Nobbe wrote: On Thu, Apr 17, 2008 at 5:43 PM, Nick Stinemates <[EMAIL PROTECTED]> wrote: On Thu, Apr 17, 2008 at 10:05:11AM +0200, Michael Preminger wrote: Hello! Seems that PHP gets more and more object oriented, which

Re: [PHP] PHP5 and the DOM model

2008-04-18 Thread Nick Stinemates
On Fri, Apr 18, 2008 at 10:25:29AM -0600, Nathan Nobbe wrote: > On Thu, Apr 17, 2008 at 5:43 PM, Nick Stinemates <[EMAIL PROTECTED]> > wrote: > > > On Thu, Apr 17, 2008 at 10:05:11AM +0200, Michael Preminger wrote: > > > Hello! > > > > > > Seems that PHP gets more and more object oriented, which i

Re: [PHP] PHP5 and the DOM model

2008-04-18 Thread Nathan Nobbe
On Thu, Apr 17, 2008 at 5:43 PM, Nick Stinemates <[EMAIL PROTECTED]> wrote: > On Thu, Apr 17, 2008 at 10:05:11AM +0200, Michael Preminger wrote: > > Hello! > > > > Seems that PHP gets more and more object oriented, which is good. > > > > I am now running a course in PHP, using PHP 5, where we are

Re: [PHP] PHP5 and the DOM model

2008-04-18 Thread Nick Stinemates
On Thu, Apr 17, 2008 at 10:05:11AM +0200, Michael Preminger wrote: > Hello! > > Seems that PHP gets more and more object oriented, which is good. > > I am now running a course in PHP, using PHP 5, where we are going to > use the *DOM* interface. I am trying to teach them good OO practices, > meanin

Re: [PHP] PHP5 strtotime

2008-03-10 Thread Larry Garfield
On Monday 10 March 2008, Samuel Marshall wrote: > I use PayPal as my ecommerce solution and I have a PHP script that captures > variables posted from PayPal to populate my database. The time variable > string is sent in the following format: HH:MM:SS DD Mmm YY, PST. The > script worked fine bu

Re: [PHP] PHP5 Speed Issues

2008-01-01 Thread Arvids Godjuks
Hi everyone! Generaly author of the first e-mail is right. Ofcource, crawling over the code and getting out of it a few milliseconds off doesn't make it worth, but you can learn what is good and what is bad and write your code correctly from the start. Why not to use foreach ($data as &$value) if

Re: [PHP] PHP5 Speed Issues

2007-12-31 Thread Nathan Nobbe
On Dec 31, 2007 3:47 PM, Michael McGlothlin <[EMAIL PROTECTED]> wrote: > Nathan Nobbe wrote: > > On Dec 31, 2007 3:37 PM, Michael McGlothlin <[EMAIL PROTECTED] > > > wrote: > > > > Richard Lynch wrote: > > > On Sat, December 22, 2007 12:25 pm, Sascha Braun wrote:

Re: [PHP] PHP5 Speed Issues

2007-12-31 Thread Michael McGlothlin
Nathan Nobbe wrote: On Dec 31, 2007 3:37 PM, Michael McGlothlin <[EMAIL PROTECTED] > wrote: Richard Lynch wrote: > On Sat, December 22, 2007 12:25 pm, Sascha Braun wrote: > >> Hi Fellows, >> >> I figured out, that PHP5 runs faster when I am not

Re: [PHP] PHP5 Speed Issues

2007-12-31 Thread Nathan Nobbe
On Dec 31, 2007 3:37 PM, Michael McGlothlin <[EMAIL PROTECTED]> wrote: > Richard Lynch wrote: > > On Sat, December 22, 2007 12:25 pm, Sascha Braun wrote: > > > >> Hi Fellows, > >> > >> I figured out, that PHP5 runs faster when I am not inherit classes, > >> I hope I use the right word. > >> > >> I

Re: [PHP] PHP5 Speed Issues

2007-12-31 Thread Michael McGlothlin
Richard Lynch wrote: On Sat, December 22, 2007 12:25 pm, Sascha Braun wrote: Hi Fellows, I figured out, that PHP5 runs faster when I am not inherit classes, I hope I use the right word. I mean the class sub_class extends main_class notation. As well I figured out, that I in most cases shou

Re: [PHP] PHP5 Speed Issues

2007-12-31 Thread Richard Lynch
On Sat, December 22, 2007 12:25 pm, Sascha Braun wrote: > Hi Fellows, > > I figured out, that PHP5 runs faster when I am not inherit classes, > I hope I use the right word. > > I mean the class sub_class extends main_class notation. > > As well I figured out, that I in most cases should references

Re: [PHP] php5 - possible bug discovered

2007-10-09 Thread Stut
David Restall - System Administrator wrote: My main obesrvation is that I'm glad that I decided to revisit all my old PHP4 stuff and rewrite or clean it up. I have hundreds of $Working_Class = $Under_Class; lines in my code as well as $Upper_Class = & $Aristocracy; lines too. I think the do

Re: [PHP] php5 - possible bug discovered

2007-10-09 Thread David Restall - System Administrator
Hi Robert, Stut & List Thanks for your replies which arrived after I had gone to bed |-Z Robert :- > In PHP5 objects are no longer copied when assigned. Instead the object's > handle is assigned (similar to a reference but not quite). So the > behaviour is as expected. Stut :- > > I think I ha

Re: [PHP] php5 - possible bug discovered

2007-10-08 Thread Stut
David Restall - System Administrator wrote: I think I have discovered a bug in php5. If I haven't, I've discovered a bug in the documentation or a bug in my brain. Start here: http://php.net/language.oop5.cloning -Stut -- http://stut.net/ -- PHP General Mailing List (http://www.php.net/) To

Re: [PHP] php5 - possible bug discovered

2007-10-08 Thread Robert Cummings
In PHP5 objects are no longer copied when assigned. Instead the object's handle is assigned (similar to a reference but not quite). So the behaviour is as expected. Cheers, Rob. On Mon, 2007-10-08 at 21:42 +0100, David Restall - System Administrator wrote: > Hi, > > I think I have discovered a

Re: [PHP] PHP5 under IIS6

2007-10-08 Thread Carlton Whitehead
Hi Alberto, Try using the php5isapi.dll instead of CGI. Make sure you have an entry for PHP5 in your Web Service Extensions list, and that it is marked as Allowed. Also, open the properties of your Web Sites folder in IIS Manager, go to the Home Directory Tab, click Configuration, and make su

Re: [PHP] php5: capital "I" letters in func/class method names do not work with turkish locale in php5

2007-09-07 Thread Roman
On Thu, 06 Sep 2007 15:57:57 +0300, Tijnema <[EMAIL PROTECTED]> wrote: On 9/6/07, Roman Neumüller <[EMAIL PROTECTED]> wrote: I'm a german web-designer living in Turkey. Sometimes I use opensource software like gallery2 or WP to have customers have some nice web albums or blog. The turkish tr

Re: [PHP] php5: capital "I" letters in func/class method names do not work with turkish locale in php5

2007-09-06 Thread Eric Butera
On 9/6/07, Tijnema <[EMAIL PROTECTED]> wrote: > On 9/6/07, Roman Neumüller <[EMAIL PROTECTED]> wrote: > > I'm a german web-designer living in Turkey. > > Sometimes I use opensource software like gallery2 or WP to have customers > > have some > > nice web albums or blog. The turkish translation file

Re: [PHP] php5: capital "I" letters in func/class method names do not work with turkish locale in php5

2007-09-06 Thread Roman
On Thu, 06 Sep 2007 15:57:57 +0300, Tijnema <[EMAIL PROTECTED]> wrote: On 9/6/07, Roman Neumüller <[EMAIL PROTECTED]> wrote: I'm a german web-designer living in Turkey. Sometimes I use opensource software like gallery2 or WP to have customers have some nice web albums or blog. The turkish tr

Re: [PHP] php5: capital "I" letters in func/class method names do not work with turkish locale in php5

2007-09-06 Thread Dan Shirah
Now that's service! On 9/6/07, Tijnema <[EMAIL PROTECTED]> wrote: > > On 9/6/07, Roman Neumüller <[EMAIL PROTECTED]> wrote: > > I'm a german web-designer living in Turkey. > > Sometimes I use opensource software like gallery2 or WP to have > customers > > have some > > nice web albums or blog. The

Re: [PHP] php5: capital "I" letters in func/class method names do not work with turkish locale in php5

2007-09-06 Thread Tijnema
On 9/6/07, Roman Neumüller <[EMAIL PROTECTED]> wrote: > I'm a german web-designer living in Turkey. > Sometimes I use opensource software like gallery2 or WP to have customers > have some > nice web albums or blog. The turkish translation files of such opensource > software > usually use gettext an

RE: [PHP] PHP5 objects access/instantiation model (correction)

2007-07-11 Thread Steve Perkins
From: Richard Lynch [mailto:[EMAIL PROTECTED] Sent: 11 July 2007 21:29 To: Steve Perkins Cc: php-general@lists.php.net Subject: Re: [PHP] PHP5 objects access/instantiation model (correction) You probably ought to have: class mysql_driver extends generic_driver { } Seems like that would be the

Re: [PHP] PHP5 objects access/instantiation model (correction)

2007-07-11 Thread Richard Lynch
You probably ought to have: class mysql_driver extends generic_driver { } Seems like that would be the most reasonable OOP model, imho. That said, I suspect that if you do something like: $driver = $this->driver; You then may be able to access the driver-specific data using $driver->propl; e

Re: [PHP] PHP5 objects access/instantiation model (correction)

2007-07-11 Thread Robert Cummings
On Wed, 2007-07-11 at 12:50 -0400, Nathan Nobbe wrote: > Robert, > > I looked at your code in InterJinn a couple of times; i havent gone over all > of it mind you but it looks pretty sweet. It's very different in many respects from other styles of coding. It's an MVC approach for the most part bu

Re: [PHP] PHP5 objects access/instantiation model (correction)

2007-07-11 Thread Nathan Nobbe
Robert, I looked at your code in InterJinn a couple of times; i havent gone over all of it mind you but it looks pretty sweet. have you had a look at any of the other frameworks i mentioned earlier in this thread? ez components, onPHP, and now there is a new one ive found (in recent thread) Radic

Re: [PHP] PHP5 objects access/instantiation model (correction)

2007-07-11 Thread Jochem Maas
some ideas about class design: 1. properties should normally (read almost always) be private. 2. the apps interface to the DB [connection] is via the 'generic' class, the app should have to know nothing about the drive object and should have no direct access to it. 3. use an interface definition f

Re: [PHP] PHP5 objects access/instantiation model (correction)

2007-07-11 Thread Robert Cummings
On Wed, 2007-07-11 at 12:07 -0400, Nathan Nobbe wrote: > > I also don't really get the idea of interface and abstract classes ? They > > don't seem to be any practical use ? Maybe that's me ? Anyway, not really > > relevant to this post ... > > there is a lot of usefulness in these constructs; loo

Re: [PHP] PHP5 objects access/instantiation model (correction)

2007-07-11 Thread Nathan Nobbe
I also don't really get the idea of interface and abstract classes ? They don't seem to be any practical use ? Maybe that's me ? Anyway, not really relevant to this post ... there is a lot of usefulness in these constructs; look into design patterns. also, there are code libraries already writte

Re: [PHP] PHP5 objects access/instantiation model (correction)

2007-07-11 Thread Robert Cummings
On Wed, 2007-07-11 at 16:46 +0100, Steve Perkins wrote: > > I guess there are lots of "workaround" ways. I could write lots of > "middleman" code in generic and use things like __set and __get etc but its > lots of extra overhead. I also know I could use extends but that makes the > code the wrong

Re: [PHP] PHP5 TUTORIAL

2007-06-26 Thread Yashesh Bhatia
hello, other interesting articles to give a bird's eye view of new features for php5 http://www.onlamp.com/pub/a/php/2004/07/15/UpgradePHP5.html http://devzone.zend.com/node/view/id/1714 http://www.devshed.com/c/a/PHP/Whats-New-in-PHP-5/ hth. yashesh bhatia. On 6/26/07, Preethi <[EMAIL PROTEC

Re: [PHP] PHP5 TUTORIAL

2007-06-26 Thread Nathan Nobbe
if you want to spend a little i would recommend this book from php|arch http://www.phparch.com/shop_product.php?itemid=135 -nathan On 6/26/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: Hi Preethi > Kindly suggest me the good online tutorial for PHP5. > Am already working on php4. > Need

Re: [PHP] PHP5 TUTORIAL

2007-06-26 Thread php-ml
Hi Preethi > Kindly suggest me the good online tutorial for PHP5. > Am already working on php4. > Need to migrate from php4 to php5. i think this is very important for OOP: http://www.php.net/manual/en/language.oop5.php and this one: http://www.php.net/manual/en/language.exceptions.php rega

Re: [PHP] PHP5 or PHP4 this is the question

2007-06-10 Thread Larry Garfield
On Sunday 10 June 2007, tedd wrote: > At 10:05 PM -0400 6/9/07, Robert Cummings wrote: > >On Sat, 2007-06-09 at 19:18 -0500, Larry Garfield wrote: > >> You should get a new server that supports PHP 5.2.1. PHP 4 is dead. > > > >Must be a zombie then because I see it running almost EVERYWHERE. > >

Re: [PHP] PHP5 or PHP4 this is the question

2007-06-10 Thread tedd
At 10:05 PM -0400 6/9/07, Robert Cummings wrote: On Sat, 2007-06-09 at 19:18 -0500, Larry Garfield wrote: You should get a new server that supports PHP 5.2.1. PHP 4 is dead. Must be a zombie then because I see it running almost EVERYWHERE. Cheers, Rob. Rob: You raise an excellent and ob

Re: [PHP] PHP5 or PHP4 this is the question

2007-06-10 Thread Robert Cummings
On Sun, 2007-06-10 at 11:01 -0500, Larry Garfield wrote: > On Saturday 09 June 2007, Robert Cummings wrote: > > On Sat, 2007-06-09 at 19:18 -0500, Larry Garfield wrote: > > > You should get a new server that supports PHP 5.2.1. PHP 4 is dead. > > > > Must be a zombie then because I see it running

Re: [PHP] PHP5 or PHP4 this is the question

2007-06-10 Thread Tijnema
On 6/10/07, Larry Garfield <[EMAIL PROTECTED]> wrote: On Saturday 09 June 2007, Robert Cummings wrote: > On Sat, 2007-06-09 at 19:18 -0500, Larry Garfield wrote: > > You should get a new server that supports PHP 5.2.1. PHP 4 is dead. > > Must be a zombie then because I see it running almost EVER

Re: [PHP] PHP5 or PHP4 this is the question

2007-06-10 Thread Larry Garfield
On Saturday 09 June 2007, Robert Cummings wrote: > On Sat, 2007-06-09 at 19:18 -0500, Larry Garfield wrote: > > You should get a new server that supports PHP 5.2.1. PHP 4 is dead. > > Must be a zombie then because I see it running almost EVERYWHERE. Yep, it is. PHP 4 is trying to eat your brains

Re: [PHP] PHP5 or PHP4 this is the question

2007-06-09 Thread Robert Cummings
On Sat, 2007-06-09 at 19:18 -0500, Larry Garfield wrote: > You should get a new server that supports PHP 5.2.1. PHP 4 is dead. Must be a zombie then because I see it running almost EVERYWHERE. Cheers, Rob. -- .. | InterJinn Application

Re: [PHP] PHP5 or PHP4 this is the question

2007-06-09 Thread Robert Cummings
On Sat, 2007-06-09 at 18:10 -0400, tedd wrote: > At 3:27 PM -0400 6/9/07, Robert Cummings wrote: > >On Sat, 2007-06-09 at 11:59 -0700, elk dolk wrote: > >> Hi all, > >> After designing and testing my web pages in PHP 5.2.1 I > >>learned that our web server has PHP 4.4.1 and I have t

Re: [PHP] PHP5 or PHP4 this is the question

2007-06-09 Thread Larry Garfield
You should get a new server that supports PHP 5.2.1. PHP 4 is dead. It hasn't had a non-security/bug release in years. PHP 5 is 3 years old. The one and only reason to care about PHP 4 at this point is if you're writing something that has to run on any possible cheap shared web host, and eve

Re: [PHP] PHP5 or PHP4 this is the question

2007-06-09 Thread tedd
At 3:27 PM -0400 6/9/07, Robert Cummings wrote: On Sat, 2007-06-09 at 11:59 -0700, elk dolk wrote: Hi all, After designing and testing my web pages in PHP 5.2.1 I learned that our web server has PHP 4.4.1 and I have to rollback to version 4 ! . There is no OO implementation like

Re: [PHP] PHP5 or PHP4 this is the question

2007-06-09 Thread Tijnema
On 6/9/07, elk dolk <[EMAIL PROTECTED]> wrote: Hi all, After designing and testing my web pages in PHP 5.2.1 I learned that our web server has PHP 4.4.1 and I have to rollback to version 4 ! . There is no OO implementation like classes or objects in my scripts but every page has so

Re: [PHP] PHP5 or PHP4 this is the question

2007-06-09 Thread Richard Lynch
On Sat, June 9, 2007 1:59 pm, elk dolk wrote: > After designing and testing my web pages in PHP 5.2.1 I > learned that our web server has PHP 4.4.1 and I have to > rollback to version 4 ! . There is no OO implementation like > classes or objects in my scripts but every page has some >

Re: [PHP] PHP5 or PHP4 this is the question

2007-06-09 Thread Robert Cummings
On Sat, 2007-06-09 at 11:59 -0700, elk dolk wrote: > Hi all, > After designing and testing my web pages in PHP 5.2.1 I learned > that our web server has PHP 4.4.1 and I have to rollback to version 4 ! . > There is no OO implementation like classes or objects in my scripts but every

Re: [PHP] PHP5 oop question...

2007-05-28 Thread Andrei
Stut wrote: > Andrei wrote: >> Hi list, >> >> I have a class which I use to parse simple bbcode inside some >> comments. >> I noticed on PHP5 that scope of preg_replace function is changed >> when function is called inside a class. To the point: >> >> [CODE] >> class PHS_editor >> { >>

Re: [PHP] PHP5 oop question...

2007-05-28 Thread Stut
Andrei wrote: Hi list, I have a class which I use to parse simple bbcode inside some comments. I noticed on PHP5 that scope of preg_replace function is changed when function is called inside a class. To the point: [CODE] class PHS_editor { ... function parse_content( $str =

Re: [PHP] php5 cert

2007-05-21 Thread Richard Lynch
On Sun, May 20, 2007 10:14 am, Danial Rahmanzadeh wrote: > are volcan exams really harder than actual php5 exam as phparch > asserted? I'm pretty sure after seeing Star Trek: Voyage Home, that Vulcan exams are MUCH harder than the PHP 5 exam. -- Some people have a "gift" link here. Know what I w

Re: [PHP] php5 cert

2007-05-21 Thread Richard Lynch
On Fri, May 18, 2007 4:45 pm, Greg Donald wrote: > Anyone wanna share their insights into the php5 cert test? The php4 > test was pretty simple for me, but that was a couple of years ago. It > seems there's quite a bit of new material being covered on the php5 > version. I figure with the same n

Re: [PHP] php5 cert

2007-05-20 Thread Larry Garfield
Actually I found the real exam harder than the test exam. It may have just been the question set I ended up with, but it was a lot more nitpicky on details that I rarely use in my work. On Sunday 20 May 2007, Danial Rahmanzadeh wrote: > are volcan exams really harder than actual php5 exam as ph

Re: [PHP] php5 cert

2007-05-19 Thread Greg Donald
On 5/19/07, Kevin Waterson <[EMAIL PROTECTED]> wrote: As worthless as the php4 cert. Mine has been very valuable to me, lots more job interviews and freelance work compared to before I got it. -- Greg Donald http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscrib

Re: [PHP] php5 cert

2007-05-18 Thread Kevin Waterson
This one time, at band camp, "Greg Donald" <[EMAIL PROTECTED]> wrote: > Anyone wanna share their insights into the php5 cert test? As worthless as the php4 cert. Kevin -- "Democracy is two wolves and a lamb voting on what to have for lunch. Liberty is a well-armed lamb contesting the vote."

Re: [PHP] php5 include() problem

2007-05-13 Thread Al
Is there an alternate way to execute a php in cgi-bin so it can do a chmod() on site directories as the "owner"? My approach was the only way I could think of. Given the obvious problem(s), it appears that it may not be a good choice. Richard Davey wrote: Al wrote: I've got a cgi file in m

Re: [PHP] php5 include() problem

2007-05-13 Thread Richard Davey
Al wrote: I've got a cgi file in my cgi-bin folder that I'm calling with include(). It worked with php4. My shared host just upgraded to my server to php5.2.0 and the function doesn't work. I can't tell if the problem is a php5 or server configuration [which may have changed during the upgr

Re: [PHP] php5 include() problem

2007-05-13 Thread Myron Turner
Tijnema ! wrote: On 5/13/07, Al <[EMAIL PROTECTED]> wrote: I've got a cgi file in my cgi-bin folder that I'm calling with include(). It worked with php4. My shared host just upgraded to my server to php5.2.0 and the function doesn't work. I can't tell if the problem is a php5 or server confi

Re: [PHP] php5 include() problem

2007-05-13 Thread Tijnema !
On 5/13/07, Al <[EMAIL PROTECTED]> wrote: I've got a cgi file in my cgi-bin folder that I'm calling with include(). It worked with php4. My shared host just upgraded to my server to php5.2.0 and the function doesn't work. I can't tell if the problem is a php5 or server configuration [which ma

Re: [PHP] php5 oop question

2007-04-12 Thread Larry Garfield
I have never heard that described as a "fluent interface" before, but you'd probably like jQuery. :-) It's a javascript library that uses much the same concept, although it refers to it as "function chaining". It also operates on multiple objects simultaneously, which is even niftier. On Thur

Re: [PHP] php5 oop question

2007-04-12 Thread Richard Lynch
a) I don't see how the part about the "dot notation" has anything to do with the class presetned b) I don't see any benefit to the class presented c) Trying to follow the chain of -> operators and method calls just gave me a headache. Other than that, it's really nifty. :-v On Thu, April 12, 20

Re: [PHP] php5 oop question

2007-04-12 Thread Jochem Maas
nice write up. :-) Tim Stiles wrote: > I suppose I should have summarized what I learned from that experiment, > putting myself more squarely on topic: Simply put, a Fluent interface > let me move from > /snip -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www

Re: [PHP] php5 oop question

2007-04-12 Thread Tim Stiles
I suppose I should have summarized what I learned from that experiment, putting myself more squarely on topic: Simply put, a Fluent interface let me move from $_input->addCheck('Integer'); $_input->addCheck('Range',3,9); $_input->addCheck('NonEmpty'); to $_input->addCheck('Integer')

Re: [PHP] php5 oop question

2007-04-12 Thread Tim Stiles
I've seen it referred to as a "Fluent Interface". I built one just to see how hard it was, using a standard problem: data validation. The results were promising. I combined it with an object designed to work as a factory for an internally stored decorator pattern. Class Input was the fa

Re: [PHP] php5 oop question

2007-04-12 Thread Roman Neuhauser
# [EMAIL PROTECTED] / 2007-04-11 23:44:16 -0700: > Paul Scott wrote: > >On Wed, 2007-04-11 at 23:22 -0700, Jim Lucas wrote: > > > >>Has anybody else seen this style of syntax? > >> > >http://5ive.uwc.ac.za/index.php?module=blog&action=viewsingle&postid=init_8059_1163957717&userid=5729061010 > > > >

Re: [PHP] php5 oop question

2007-04-12 Thread Roman Neuhauser
# [EMAIL PROTECTED] / 2007-04-11 23:36:56 -0700: > Paul Scott wrote: > >On Wed, 2007-04-11 at 23:22 -0700, Jim Lucas wrote: > >>Has anybody else seen this style of syntax? > > >I don't think that its really useful for anything, except maybe creating > >overly complex SQL queries. > > What about usi

Re: [PHP] php5 oop question

2007-04-11 Thread Jim Lucas
Paul Scott wrote: On Wed, 2007-04-11 at 23:22 -0700, Jim Lucas wrote: Has anybody else seen this style of syntax? http://5ive.uwc.ac.za/index.php?module=blog&action=viewsingle&postid=init_8059_1163957717&userid=5729061010 I don't think that its really useful for anything, except maybe creati

Re: [PHP] php5 oop question

2007-04-11 Thread Jim Lucas
Paul Scott wrote: On Wed, 2007-04-11 at 23:22 -0700, Jim Lucas wrote: Has anybody else seen this style of syntax? http://5ive.uwc.ac.za/index.php?module=blog&action=viewsingle&postid=init_8059_1163957717&userid=5729061010 I don't think that its really useful for anything, except maybe creati

Re: [PHP] php5 oop question

2007-04-11 Thread Paul Scott
On Wed, 2007-04-11 at 23:22 -0700, Jim Lucas wrote: > Has anybody else seen this style of syntax? > http://5ive.uwc.ac.za/index.php?module=blog&action=viewsingle&postid=init_8059_1163957717&userid=5729061010 I don't think that its really useful for anything, except maybe creating overly complex

Re: [PHP] PHP5 & Commercial Development

2007-02-09 Thread Jochem Maas
gt; Phone: (671)689-2377 > -Original Message- > From: Stut [mailto:[EMAIL PROTECTED] > Sent: Tuesday, February 06, 2007 2:55 AM > To: tedd > Cc: php-general@lists.php.net > Subject: Re: [PHP] PHP5 & Commercial Development > > tedd wrote: >> At 12:06

Re: [PHP] PHP5 & Commercial Development

2007-02-07 Thread Robert Cummings
On Wed, 2007-02-07 at 09:47 +0100, Lars Gunther wrote: > Robert Cummings skrev: > > On Tue, 2007-02-06 at 23:45 +0100, Keryx Web wrote: > > Could you point out to me where exactly the discussion became about PHP4 > > versus PHP5? I seem to be smelling the red herring technique of changing > > the c

Re: [PHP] PHP5 & Commercial Development

2007-02-07 Thread Lars Gunther
Robert Cummings skrev: On Tue, 2007-02-06 at 23:45 +0100, Keryx Web wrote: Could you point out to me where exactly the discussion became about PHP4 versus PHP5? I seem to be smelling the red herring technique of changing the conversation focus so as to inappropriately lend credence to the initial

RE: [PHP] PHP5 & Commercial Development

2007-02-06 Thread Ligaya A. Turmelle
2:55 AM To: tedd Cc: php-general@lists.php.net Subject: Re: [PHP] PHP5 & Commercial Development tedd wrote: > At 12:06 AM -0500 2/5/07, Craige Leeder wrote: >> PHP is fine for commercial environments. Many people are just afraid >> of it due to the fact it is known to break some

Re: [PHP] PHP5 & Commercial Development

2007-02-06 Thread Robert Cummings
On Tue, 2007-02-06 at 23:45 +0100, Keryx Web wrote: > > The question PHP 4 or PHP 5: If you stay with 4 you are bound to a one > size fits all solution. In PHP 5 you can use DB-specific drivers or PDO > or a PHP-based abstraction layer. That's *more* choice, not less! > > To summarize: With PDO

Re: [PHP] PHP5 & Commercial Development

2007-02-06 Thread Keryx Web
Robert Cummings skrev: I sincerely question the competence of someone who advocates a one size fits all approach to programming. There are many reasons why a developer may work with the old-school interface calls. For instance they may be supporting an old school application. They might be writin

Re: [PHP] PHP5 & Commercial Development

2007-02-05 Thread Richard Lynch
On Mon, February 5, 2007 10:55 am, Stut wrote: > tedd wrote: >> At 12:06 AM -0500 2/5/07, Craige Leeder wrote: >>> PHP is fine for commercial environments. Many people are just >>> afraid >>> of it due to the fact it is known to break some poorly written PHP >>> 4 >>> scripts, and the fact that

Re: [PHP] PHP5 & Commercial Development

2007-02-05 Thread Jochem Maas
Robert Cummings wrote: > On Mon, 2007-02-05 at 22:00 +0100, Keryx Web wrote: >> Eric Gorr skrev: >>> I haven't tracked this particular issue, but I know when PHP5 was first >>> released is wasn't recommended in a commercial/production environment. >>> However, a lot of time has passed and we're a

Re: [PHP] PHP5 & Commercial Development

2007-02-05 Thread Jochem Maas
Stut wrote: > tedd wrote: >> At 12:06 AM -0500 2/5/07, Craige Leeder wrote: >>> PHP is fine for commercial environments. Many people are just afraid >>> of it due to the fact it is known to break some poorly written PHP 4 >>> scripts, and the fact that many people don't think it's new features >>>

Re: [PHP] PHP5 & Commercial Development

2007-02-05 Thread Robert Cummings
On Mon, 2007-02-05 at 22:00 +0100, Keryx Web wrote: > Eric Gorr skrev: > > I haven't tracked this particular issue, but I know when PHP5 was first > > released is wasn't recommended in a commercial/production environment. > > However, a lot of time has passed and we're at v5.2 now...have things

Re: [PHP] PHP5 & Commercial Development

2007-02-05 Thread Keryx Web
Eric Gorr skrev: I haven't tracked this particular issue, but I know when PHP5 was first released is wasn't recommended in a commercial/production environment. However, a lot of time has passed and we're at v5.2 now...have things changed? Have Google&Yahoo, for example, moved to PHP5? Or is PHP

Re: [PHP] PHP5 & Commercial Development

2007-02-05 Thread Stut
tedd wrote: At 12:06 AM -0500 2/5/07, Craige Leeder wrote: PHP is fine for commercial environments. Many people are just afraid of it due to the fact it is known to break some poorly written PHP 4 scripts, and the fact that many people don't think it's new features are "necessary". It is perfect

Re: [PHP] PHP5 & Commercial Development

2007-02-05 Thread tedd
At 12:06 AM -0500 2/5/07, Craige Leeder wrote: Eric, PHP is fine for commercial environments. Many people are just afraid of it due to the fact it is known to break some poorly written PHP 4 scripts, and the fact that many people don't think it's new features are "necessary". It is perfectly fin

Re: [PHP] PHP5 & Commercial Development

2007-02-04 Thread Craige Leeder
Eric, PHP is fine for commercial environments. Many people are just afraid of it due to the fact it is known to break some poorly written PHP 4 scripts, and the fact that many people don't think it's new features are "necessary". It is perfectly fine to use it in a commercial environment however.

  1   2   3   4   >