Wrox Programmer Forums
|
BOOK: Beginning PHP4/PHP 5 ISBN: 978-0-7645-4364-7; v5 ISBN: 978-0-7645-5783-5
This is the forum to discuss the Wrox book Beginning PHP4 by Wankyu Choi, Allan Kent, Chris Lea, Ganesh Prasad, Chris Ullman; ISBN: 9780764543647
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning PHP4/PHP 5 ISBN: 978-0-7645-4364-7; v5 ISBN: 978-0-7645-5783-5 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 27th, 2003, 06:50 PM
Registered User
 
Join Date: Jun 2003
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default Problem with upload script

I tried the simple upload script on page 369 and I am testing it on an IIS server and when I hit submit it says: is empty. So it appears that the $filename variable isn't being set at all. Any ideas?

Thanks,

Jeremy
 
Old June 29th, 2003, 01:02 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 158
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to NotNowJohn
Default

If the variable is undefined maybe this will help you:
http://p2p.wrox.com/topic.asp?TOPIC_ID=628

...but the Soon is eclipsed by the Moon
 
Old June 30th, 2003, 02:00 PM
Registered User
 
Join Date: Jun 2003
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I am testing on 2 different IIS servers, a development server and a live server. Both have global_variables set to on and it works in development, but not on production. I am thinking that maybe it is a permissions issue. Any other thoughts?

Thanks,

Jeremy
 
Old June 30th, 2003, 02:03 PM
Registered User
 
Join Date: Jun 2003
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I suppose I should also mention that the production server is an intranet server within my company with very limited access so security is not a big concern and should be safe to leave global_variables on.
 
Old July 2nd, 2003, 01:48 PM
Registered User
 
Join Date: Jun 2003
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default

As I suspected, it was a permissions issue. Cased closed. Thanks.





Similar Threads
Thread Thread Starter Forum Replies Last Post
ASP pure script upload ittorget Classic ASP Basics 13 November 5th, 2007 03:57 AM
file upload script problem kale_tushar ASP.NET 1.0 and 1.1 Professional 7 November 30th, 2006 05:08 PM
Upload file to server from ASP script crmpicco Classic ASP Components 2 June 14th, 2006 01:25 AM
asp file upload script having problems with MYSQL paulmcn Classic ASP Databases 0 September 16th, 2005 01:26 PM
Script to upload text file to SQL with errors ss2003 Beginning PHP 2 March 10th, 2004 12:00 PM





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