Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developersí questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old April 5th, 2009, 07:47 PM
Registered User
 
Join Date: Apr 2009
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Chapter 7 p204,205 issues

Hey, first time poster here and PHP rookie...

Working with:

Apache 2 Server on remote host
PHP Version 5.2.3-1ubuntu6.5

MYSQL 5.0

Issue:

Got the code on pg's 204 & 205 to upload to both image_table and directory folder...and change gifs and png's images to jpg's...and return to browser as it should as stated in the book. All seems good until I try to fool the code by uploading something other than a jpg, gif or png, .txt file for example. Upon submit, I return about 10 lines of error with NO Sorry, go back and try again lines of text. I've got the code as in the book and have noticed that if I change: if ($type > 3) on page 204 to <3 .....I finaly get the Sorry, go back and try again lines of text on the next page. It appears like the file type integer keys on page 201 don't seem to be filtering out non acceptable file types...IS IT JUST ME???

Any suggestions, cures or similar experiences???...Thanks, BakoArt
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Chapter 1 - PHP installation issues Abelmiah BOOK: Beginning PHP5, Apache, and MySQL Web Development ISBN: 978-0-7645-7966-0 1 June 21st, 2009 05:01 PM
Issues with Chapter 6 Donnynag BOOK: Beginning ASP.NET 3.5 : in C# and VB BOOK ISBN: 978-0-470-18759-3 2 January 3rd, 2009 01:38 PM
Chpt 6 pg 204-205 harrison4411 BOOK: Beginning ASP.NET 2.0 BOOK VB ISBN: 978-0-7645-8850-1; C# ISBN: 978-0-470-04258-8 2 June 10th, 2006 09:52 AM
Issues about PerformanceCounter (Chapter 22) newmike BOOK: Professional C#, 2nd and 3rd Editions 0 June 15th, 2004 10:10 PM
Chapter 4 issues HenryT BOOK: Professional SQL Server Reporting Services ISBN: 0-7645-6878-7 1 June 9th, 2004 02:49 PM



All times are GMT -4. The time now is 04:31 PM.


Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.