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 October 24th, 2003, 06:43 AM
Authorized User
 
Join Date: Sep 2003
Posts: 23
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to Jams30
Default Possible code error in userman.php?

Hi

I'm having problems with the userman.php script in chapter 13 - the files for the exercise I am using are the ones that I downloaded this site. The script loads the page ok, I can view records in the table and can view records for individual users, but when making changes to the access log records and hit the 'change' button, I get a new window open but it displays -

HTTP 405 - Resource not allowed
Internet Information Services

I have followed the IIS help files but cannot find the problem. Has anyone else had the same problem and if so, can you tell me what the solution might be?


Thanks in advance


Jamal

 
Old October 24th, 2003, 10:34 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 836
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Well, if there's a problem with your PHP code, then you should get a PHP error, not an IIS error. PHP generates its errors as HTML, so that regardless of how your PHP script runs, the web server still serves up a web page.

If you're running into IIS problems, I'd double check the permissions and file extensions to make sure everything's configured okay.

Here's a silly question: Do other PHP scripts work properly?


Take care,

Nik
http://www.bigaction.org/
 
Old October 27th, 2003, 01:21 PM
Authorized User
 
Join Date: Sep 2003
Posts: 23
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to Jams30
Default

Hi Nik

Yes everything else seems to be working ok - apart from the email scripts in following chapters, but I think that's more to do with the ports being blocked on the LAN in this office. I'm not sure on what to do about the IIS error I'm getting although its not imperative that I have this work as I understand the principle.

Thanks for your help on this Nik.

Regards

Jamal


Quote:
quote:Originally posted by nikolai
 Well, if there's a problem with your PHP code, then you should get a PHP error, not an IIS error. PHP generates its errors as HTML, so that regardless of how your PHP script runs, the web server still serves up a web page.

If you're running into IIS problems, I'd double check the permissions and file extensions to make sure everything's configured okay.

Here's a silly question: Do other PHP scripts work properly?


Take care,

Nik
http://www.bigaction.org/





Similar Threads
Thread Thread Starter Forum Replies Last Post
Help with php and this part of the code...? dekemcaffee Beginning PHP 2 September 29th, 2007 05:14 PM
PHP code in the book aplav BOOK: Professional Ajax ISBN: 978-0-471-77778-6 1 September 3rd, 2006 08:28 AM
php - should i code my site with this? bennn Beginning PHP 6 November 25th, 2004 09:31 AM
PHP code error Yee Dreamweaver (all versions) 1 October 21st, 2004 03:14 PM
Error: movie.php & commit.php on p182-186, ch6 willburke BOOK: Beginning PHP, Apache, MySQL Web Development ISBN: 978-0-7645-5744-6 0 October 12th, 2004 02:48 PM





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