Wrox Programmer Forums
|
BOOK: Beginning PHP5, Apache, and MySQL Web Development ISBN: 978-0-7645-7966-0
This is the forum to discuss the Wrox book Beginning PHP5, Apache, and MySQL Web Development by Elizabeth Naramore, Jason Gerner, Yann Le Scouarnec, Jeremy Stolz, Michael K. Glass; ISBN: 9780764579660
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning PHP5, Apache, and MySQL Web Development ISBN: 978-0-7645-7966-0 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old April 2nd, 2007, 09:26 AM
Registered User
 
Join Date: Mar 2007
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default bb code in chapter 16

Good day,

I keep getting these errors with the bbcode in the forum example in chapter 16:

Warning: preg_replace(): Unknown modifier 'g' in C:\Path tosite\..\functions.php on line 341

Warning: preg_replace(): Unknown modifier ']' in C:\Path tosite\..\functions.php on line 341

Warning: preg_replace(): Unknown modifier 'b' in C:\Path tosite\..\functions.php on line 341

Warning: preg_replace(): Unknown modifier ']' in C:\Path tosite\..\functions.php on line 341

Warning: preg_replace(): Unknown modifier 'r' in C:\Path tosite\..\functions.php on line 341

Warning: preg_replace(): Compilation failed: unmatched parentheses at offset 12 in C:\Path tosite\..\functions.php on line 341

I am using PHP 4 because of compatibility issues still related with old sites of mine and PHP5.
If this is an issue related to PHP4, anyone have any idea on how I might be able to change the code to make it work?






Similar Threads
Thread Thread Starter Forum Replies Last Post
Error in Source Code in Chapter 16 Lcstyle BOOK: Beginning Linux Programming, 4th Edition ISBN 978-0-470-14762-7 1 February 28th, 2009 10:14 AM
Chapter 16 code samples freiZimmer BOOK: Professional Microsoft Robotics Studio ISBN: 978-0-470-14107-6 1 October 9th, 2008 02:24 PM
Problem with code from chapter 16 earlsinclair2001 BOOK: Beginning PHP5, Apache, and MySQL Web Development ISBN: 978-0-7645-7966-0 1 December 5th, 2005 01:58 AM
Problem with book code of Chapter 16 legendofzelda2000 BOOK: Beginning PHP5, Apache, and MySQL Web Development ISBN: 978-0-7645-7966-0 6 July 13th, 2005 02:12 PM
Chapter 16 missing sample code bruceaj VB.NET 2002/2003 Basics 3 June 18th, 2003 08:18 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.