[PHP] Re: preg_replace question

2003-02-23 Thread Phil Roberts
[EMAIL PROTECTED] (Electroteque) wrote in news:[EMAIL PROTECTED]: > yet another regex question how could i hange the value within the > quotes with preg_replace > > php_value upload_max_filesize "5M" > > $str = preg_replace("#php_value upload_max_filesize\s?['\"](.+?)[\"']#i", "php_value upl

[PHP] Re: OOP and object references, not copies - how to do?

2003-02-23 Thread Phil Roberts
[EMAIL PROTECTED] (Erik FranzéN) wrote in news:[EMAIL PROTECTED]: > Say the you are going to create a simple forum and you want to have a > number of classes: > > Class Sql - handles the DB interface > Class User - handles users > Class Messages - handles messages > > When you are writing the c

[PHP] Re: Tutorials on OOP

2003-02-23 Thread Phil Roberts
[EMAIL PROTECTED] (Davy Obdam) wrote in news:[EMAIL PROTECTED]: > Hi people,. > > I have to build several classes for a project i am doing, but i am quite > new to OOP programming. I need to make a database abstraction layer > class and a user login class.. Does anyone know some good tutorials