Wrox Programmer Forums
Go Back   Wrox Programmer Forums > PHP/MySQL > Beginning PHP
Beginning PHP Beginning-level PHP discussions. More advanced coders should post to the Pro PHP forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Beginning PHP 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 August 29th, 2006, 06:43 PM
Registered User
Join Date: Aug 2006
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Chapter 10 problem


I am attempting to get a fille upload to work at the job using PHP.
My goal is to leverage in as much Linux as I can.

The "file_upload.php script in Chapter 10 does not upload the file selected.

I tried this at work on my Ubuntu box and here at home as well.
My understanding of the script is that it should upload a file to the "./docs" directory,
and then display the file name, size, and type. I get no error message, but I get no file nor information.

I checked the things I could think of like permissions to the "./docs" directory and group ownership name.

Is there an error in the code? Do I need to adjust any Apache settings to allow file creation.

Any help would be appreciated. Trying to get this up and running tommorrow.

Feel free to respond here and to my E-Mail gnulinuxgeek@rochester.rr.com



Old September 16th, 2006, 01:14 PM
Registered User
Join Date: Sep 2006
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts

Make sure you have enoug rights to create the file. CHMOD 777 (rwx)

Similar Threads
Thread Thread Starter Forum Replies Last Post
chapter 10 problem nikItas BOOK: Beginning Access 2003 VBA 1 August 5th, 2008 08:54 AM
Chapter 10 (P 367) Connection Problem sookarama BOOK: Beginning ASP.NET 2.0 BOOK VB ISBN: 978-0-7645-8850-1; C# ISBN: 978-0-470-04258-8 1 September 6th, 2006 07:59 AM
Chapter 10 login problem Dennis Mollet BOOK: Beginning VB.NET Databases 1 August 18th, 2005 04:07 AM
Chapter 10 Navigator.aspx problem jason88 BOOK: Beginning ASP.NET 1.0 0 May 27th, 2004 03:54 AM

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