Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > PHP/MySQL > Beginning PHP
Password Reminder
Register
| FAQ | Members List | Search | Today's Posts | Mark Forums Read
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
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old August 29th, 2006, 06:43 PM
Registered User
 
Join Date: Aug 2006
Location: , , .
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Chapter 10 problem

All,

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

Regards,

Ralph

Reply With Quote
  #2 (permalink)  
Old September 16th, 2006, 01:14 PM
Registered User
 
Join Date: Sep 2006
Location: Zetten, , Netherlands.
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

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


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
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



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


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