Al Stiles Posted October 16, 2007 Report Share Posted October 16, 2007 I will start by saying that I am a relative novice at the business of webservers. I have used Apache 2.2 with good success and have created two files. The first is an .HTML file that creates a form and the second file is a .PHP file that handles the form and returns a message to the sender. I have tested it on the Apache and it works as expected. I just downloaded Uniform Server 3.5 and after jumping through numerous hoops, many I crafted myself, I was able to get to the admin panel. I attempted to run the two previously mentioned files and met with the same behavior that I first encountered when running them on the Apache server early in my learning to program in PHP. The form displays properly and submits. However, instead of the expected reply from the form handler, I have the actual code of the form handler file displayed. I am sure that this is happening because the form isn't going to Uniform Server but to the w:// drive and pulling the PHP file and displaying the contents. Just to be sure, I entered http://localhost and received an error message that said that the page could not be displayed. I then typed in http://localhost/register.htm and received the same error message. It seems to me that I am not getting the path right. I am attaching one of the two files, the .HTML form, to this entry and will follow it up with the .PHP file. These files are, by the way, resident on the root of the w:// drive I have gone through this forum and noted that the "can't get to the localhost page" seems to be a common issue, but none of the solutions seemed to fit. What can I do to fix this issue? As promised, the .PHP fileregister.htmhandle_form.php Quote Link to comment Share on other sites More sharing options...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.