Wrox Programmer Forums
Go Back   Wrox Programmer Forums > PHP/MySQL > BOOK: Beginning PHP 6, Apache, MySQL 6 Web Development ISBN: 9780470391143
|
BOOK: Beginning PHP 6, Apache, MySQL 6 Web Development ISBN: 9780470391143
This is the forum to discuss the Wrox book Beginning PHP 6, Apache, MySQL 6 Web Development by Timothy Boronczyk, Elizabeth Naramore, Jason Gerner, Yann Le Scouarnec, Jeremy Stolz; ISBN: 9780470391143
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning PHP 6, Apache, MySQL 6 Web Development ISBN: 9780470391143 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 June 1st, 2010, 05:21 PM
Authorized User
 
Join Date: Apr 2010
Posts: 21
Thanks: 0
Thanked 0 Times in 0 Posts
Default Problems with Chapter 7 - adding special effects to an image

Anyone else out there having problems with chapter 7? The code in the book was working fine until I made the changes to put in the special effects (starts on page 192). When I select one of the effects and click on "Preview", there is no image showing up on the page. I downloaded the code from the website and tried using that, and the same thing happens.

If I click the "Save" button, a new image is being created with the selected effect, but the page displays the original image without the effect applied to it (at least now I am getting an image, even though it is the wrong one).

I would like to get this working correctly, before I move on to the next chapter, but I am new to php and I can't see anything obvious that might be causing the problem. If someone has this working properly, could you please post the code for image_effect.php and check_image.php that you are using.
 
Old July 20th, 2010, 10:49 AM
Authorized User
 
Join Date: Jun 2010
Posts: 36
Thanks: 1
Thanked 1 Time in 1 Post
Default

Hi, i try to answer you.. seems here are not much people expert (or desirous) to answer.. I'm not expert.. but i try.. (and sorry for the english but i'm italian).

First, what's your OS? If you have Linux maybe is authorization problem with the image, i made some test with the same script in Win and Linux, linux reported me the problem.

Quote:
If I click the "Save" button, a new image is being created with the selected effect, but the page displays the original image without the effect applied to it (at least now I am getting an image, even though it is the wrong one).
Same problem, but if you try to update the final page with the final picture you will see the image with the effect, the important is the saved image, it works.

I've used the downloaded Wrox files for verify the good running, no difference with the book.
 
Old July 20th, 2010, 12:31 PM
Authorized User
 
Join Date: Apr 2010
Posts: 21
Thanks: 0
Thanked 0 Times in 0 Posts
Thumbs up Thank you for your response

Thank you for taking the time to answer and try to help me out. I gave up on trying to fix the code in that chapter a long time ago. I have moved on and now I am working on Chapter 11 - Sending E-Mail.
 
Old July 20th, 2010, 01:02 PM
Authorized User
 
Join Date: Jun 2010
Posts: 36
Thanks: 1
Thanked 1 Time in 1 Post
Default

I'm also on chp 11, just start today! Let see if there are problems...

ps: Do you have any idea about my thread? If have you done the chp 10 maybe you can help me? Thanks

Last edited by DMatt; July 20th, 2010 at 01:16 PM..





Similar Threads
Thread Thread Starter Forum Replies Last Post
After Effects CS2 Plugin - newbie mattybennett C++ Programming 0 August 22nd, 2007 04:06 PM
Trigger effects melvik SQL Server 2000 3 January 16th, 2007 01:40 PM
Effects of Browser Back Button prafullprashant ASP.NET 1.0 and 1.1 Basics 0 November 23rd, 2005 02:32 AM
storing special special characters in nvarchar... ACE2084 SQL Server 2000 2 February 9th, 2005 11:45 AM
Multiple Button Effects Bob Bedell Dreamweaver (all versions) 2 August 12th, 2003 07:10 PM





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