Wrox Programmer Forums
|
BOOK: Dreamweaver MX: PHP Web Development
This is the forum to discuss the Wrox book Dreamweaver MX: PHP Web Development by Gareth Downes-Powell, Tim Green, Bruno Mairlot; ISBN: 9780764543876
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Dreamweaver MX: PHP Web Development 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 3rd, 2005, 12:52 PM
Registered User
 
Join Date: Aug 2005
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default CH9pg255 $PHP_SELF Problem. Local Server

Ch 9, pg 255 Create User issue, $PHP_SELF function d/n work :(

It seems my local test server (IIS5) will not execute the
form action="<?php echo($PHP_SELF) ?>".

THIS IS WHAT HAPPENS-
When the page loads I get this error message:
"Notice: Undefined index: submit in C:\DreamweaverMX_PHP_Wrox\hotel\Untitled-3.php on line 3".

And if I submit the page I get a HTTP 405 error message.


THIS IS WHAT I'VE TRIED-
The 'if' control code works if the form POST's to a completely new page.

And the original code and form action="<?php echo($PHP_SELF) ?>" works
fine on my remote server.

the IIS execute permissions is set for scripts and executable.

Any suggestions?

Ned





Similar Threads
Thread Thread Starter Forum Replies Last Post
Sending E-Mail from Local to Remote Server tact_259 Classic ASP Basics 6 April 13th, 2008 01:46 AM
Local Server Startup Issue.. ankur_icfai SQL Server 2000 2 October 3rd, 2006 04:31 AM
Date Format - Local x Server fskilnik Classic ASP Basics 0 November 2nd, 2005 07:34 AM
Getting the a local copy of the Server DB Sappu SQL Server ASP 2 March 21st, 2005 12:27 PM





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