![]() |
|
|
#1
|
|||
|
|||
|
preg_replace Help
Ok. I'm trying to include files using a tag "{T.filename}". Here's my code:
php Code:
- JTD |
|
#2
|
|||
|
|||
|
Check out "Example #4 Using the 'e' modifier" on the preg_replace php.net page. That's what allows you to execute functions in preg_replace.
|
|
#3
|
|||
|
|||
|
Could you please tell me how? I've been trying:
php Code:
php Code:
php Code:
|
|
#4
|
||||
|
||||
|
php Code:
__________________
Coderi |
|
#5
|
||||
|
||||
|
This works on PHP 5:
php Code:
![]() Jay
__________________
▌Jay Shah ▌MyCoHost - User Mode Linux VPS (DP Review)() - No OpenVZ = No Overselling ![]() ▌Managed VPS's with cPanel/WHM, Fantastico, WHM Master Resellers & RVSkins! |
|
#6
|
|||
|
|||
|
Quote:
Quote:
![]() Thanks everyone!! - JTD |
![]() |
| Bookmarks |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Preg_Replace help please. | Barbacamanitu | PHP | 1 | Mar 14th 2008 4:23 am |
| preg_replace Help | hrock | PHP | 2 | Jan 4th 2008 7:25 am |
| Need help with preg_replace please. | Jak | PHP | 2 | Apr 16th 2007 3:30 pm |
| Preg_replace | cbkman | Programming | 5 | Jan 29th 2007 4:21 pm |
| preg_replace help!!! | yo-yo | PHP | 2 | Jul 28th 2005 11:36 am |