473,327 Members | 2,074 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,327 software developers and data experts.

Forms not being subitted to the correct path

I'm running PHP 4.3 on a Windows 2000 server w/ IIS. I have php
installed on C: under a folder called 'php'. My website resides on
D:. I have a form on one of the pages in a subfolder in the site.
Whenever someone tries to submit the form, I get the following
message:

Warning: Unknown(D:\policy.msbanet.org\nor_showpolicy.php): failed to
open stream: No such file or directory in Unknown on line 0

Warning: (null)(): Failed opening
'D:\policy.msbanet.org\nor_showpolicy.php' for inclusion
(include_path='.;c:\php4\pear') in Unknown on line 0

The really weird thing is that the path in the address bar of the
browser is pointing to the root folder rather than the subfolder. Am
I missing a php.ini setting that redirects to the root folder?

Thanks,
Matt
Jul 17 '05 #1
1 1857

"Matt Walker" <st******@hotmail.com> wrote in message
news:c1**************************@posting.google.c om...
I'm running PHP 4.3 on a Windows 2000 server w/ IIS. I have php
installed on C: under a folder called 'php'. My website resides on
D:. I have a form on one of the pages in a subfolder in the site.
Whenever someone tries to submit the form, I get the following
message:

Warning: Unknown(D:\policy.msbanet.org\nor_showpolicy.php): failed to
open stream: No such file or directory in Unknown on line 0

Warning: (null)(): Failed opening
'D:\policy.msbanet.org\nor_showpolicy.php' for inclusion
(include_path='.;c:\php4\pear') in Unknown on line 0

The really weird thing is that the path in the address bar of the
browser is pointing to the root folder rather than the subfolder. Am
I missing a php.ini setting that redirects to the root folder?

Thanks,
Matt


I'm not familiar with IIS/PHP installation but was wondering if you
confirmed that
D:\policy.msbanet.org\nor_showpolicy.php

exists and that your webserver had read access to it, and its parent
directory?

Why not place a simple test script in D:\policy.msbanet.org\ called
test.php and have it contain

<?
phpinfo();
?>

test that you can visit the page test.php in the root folder of your
website - it should give you an entire environment dump.

Secondly - you mention that the root folder, as opposed to the subfolder is
named in the address bar - What sub folder are you talking about (if your
root folder is http://policy.msbanet.org/ )

Please make clear what you expect to see in the address bar...
--
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on usenet?
Jul 17 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

10
by: Andy B | last post by:
Hi, I am very new to JavaScript and my first assignment is to create a simple game. Below is my code which works fine in IE, but not in any other browser (Opera, Netscape, Mozilla). It has no form...
4
by: Greg Burns | last post by:
I have built a web app that uses forms authentication. There isn't a "remember me" feature (i.e. the authentication cookie is not permanent). When you close the browser, and open a new one, you...
11
by: ElmoWatson | last post by:
I tried on the Security newgroup, as well as other places, and haven't gotten an answer yet - - I'm pulling my hair out over this one. I'm trying to get Forms Authentication working.....I can get...
9
by: Hermit Dave | last post by:
Hi, I am making a web application (rather two applications) one which is host and used by customers when they are just browsing through products. The second application resides on a secure...
0
by: Anonieko Ramos | last post by:
ASP.NET Forms Authentication Best Practices Dr. Dobb's Journal February 2004 Protecting user information is critical By Douglas Reilly Douglas is the author of Designing Microsoft ASP.NET...
5
by: Gavin Stevens | last post by:
I'm trying to figure out the ASP.NET Forms Auth I have 3 or 4 pages i want to allow anonymous access to.. Then I have 5 or 6 pages I placed in another directory in the webproject. These I want...
5
by: V. Jenks | last post by:
Using forms authentication, can I control which pages and/or directories a user would have access to or is that only available with Windows authentication? Thanks!
1
by: cab0san | last post by:
I have several applications all on the same server. I would like them to all use the same login page. Example: http://server1/customers/app1.aspx http://server1/suppliers/byregion/app2.aspx ...
5
by: Sebastian | last post by:
Hello, I am attempting to share forms authentication between two applications but running into problems. The documentation I've been able to dig up says (to summarize) if the the Web.Config...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.