467,915 Members | 1,142 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 467,915 developers. It's quick & easy.

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
  • viewed: 1648
Share:
1 Reply

"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 discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

10 posts views Thread by Andy B | last post: by
4 posts views Thread by Greg Burns | last post: by
11 posts views Thread by ElmoWatson | last post: by
reply views Thread by Anonieko Ramos | last post: by
5 posts views Thread by Gavin Stevens | last post: by
5 posts views Thread by V. Jenks | last post: by
1 post views Thread by cab0san | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.