preg_match
| From: | Alex Chamberlain | Date: | Mon, 27 Oct 2008 15:08:55 +0000 |
| Subject: | preg_match | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-282496@lists.php.net to get a copy of this message | ||
Hi,
I don’t understand regular expressions at all – I will make an effort to
learn about them one day, but I need a solution today. I want to use the
__autoload function, but not for all my class only those that finish in
‘Controller’. So for instance,
‘ErrorController’ should load ‘errorcontroller.inc.php’
‘IndexController’ should load ‘indexcontroller.inc.php’
‘FooBar’ should NOT load anything whatsoever.
Can you help me write an __autoload function please??
Alex
No virus found in this outgoing message. Scanned by AVG Free 8.0
Checked by AVG - http://www.avg.com
Version: 8.0.175 / Virus Database: 270.8.3/1748 - Release Date: 27/10/2008
07:57