Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > PHP/MySQL > BOOK: Beginning PHP, Apache, MySQL Web Development ISBN: 978-0-7645-5744-6
Password Reminder
Register
| FAQ | Members List | Search | Today's Posts | Mark Forums Read
BOOK: Beginning PHP, Apache, MySQL Web Development ISBN: 978-0-7645-5744-6
This is the forum to discuss the Wrox book Beginning PHP, Apache, MySQLWeb Development by Michael K. Glass, Yann Le Scouarnec, Elizabeth Naramore, Gary Mailer, Jeremy Stolz, Jason Gerner; ISBN: 9780764557446
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning PHP, Apache, MySQL Web Development ISBN: 978-0-7645-5744-6 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 Search this Thread Display Modes
  #1 (permalink)  
Old December 16th, 2007, 07:24 AM
Registered User
 
Join Date: Dec 2007
Location: , , .
Posts: 2
Thanks: 0
Thanked 1 Time in 1 Post
Default Chapter 7 - Problem with filepath on Image Upload

I'm stuck on the first exercise because I think I have the file path wrong. This is how I entered the path (replacing 'user' with my username).

/home/user/public_html/beginning_amp/chapter7/images/

And this is the error message that pops up. Any ideas?


Warning: move_uploaded_file(c:/home/user/public_html/beginning_amp/chapter7/images/photo.jpg) [function.move-uploaded-file]: failed to open stream: No such file or directory in /home/user/public_html/beginning_amp/chapter7/check_image.php on line 21

Warning: move_uploaded_file() [function.move-uploaded-file]: Unable to move '/tmp/phpm9E8vf' to 'c:/home/user/public_html/beginning_amp/chapter7/images/photo.jpg' in /home/user/public_html/beginning_amp/chapter7/check_image.php on line 21

Reply With Quote
The Following User Says Thank You to btaysisson For This Useful Post:
  #2 (permalink)  
Old December 18th, 2007, 05:54 AM
Registered User
 
Join Date: Dec 2007
Location: , , .
Posts: 2
Thanks: 0
Thanked 1 Time in 1 Post
Default

solved it myself. I had kept the "c:" from the example.

Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
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
Upload image-create & save thumbnail-display image angshujit ASP.NET 2.0 Professional 6 July 11th, 2013 10:34 PM
Chapter 6 FCKeditor image upload hdpark BOOK: ASP.NET 2.0 Instant Results ISBN: 978-0-471-74951-6 12 February 19th, 2008 01:04 PM
Chapter 7 - Image Problem SoftMind BOOK: ASP.NET 2.0 Instant Results ISBN: 978-0-471-74951-6 4 June 19th, 2006 04:30 PM
chapter 7 image upload on Mac OS X laolaonk BOOK: Beginning PHP5, Apache, and MySQL Web Development ISBN: 978-0-7645-7966-0 0 February 19th, 2006 10:20 PM
IE filepath bug.. no end of grief.. Phylobates XSLT 7 August 12th, 2005 02:55 AM



All times are GMT -4. The time now is 02:47 AM.


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