473,218 Members | 1,418 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,218 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 1853

"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...
1
isladogs
by: isladogs | last post by:
The next online meeting of the Access Europe User Group will be on Wednesday 6 Dec 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, Mike...
0
by: veera ravala | last post by:
ServiceNow is a powerful cloud-based platform that offers a wide range of services to help organizations manage their workflows, operations, and IT services more efficiently. At its core, ServiceNow...
0
by: abbasky | last post by:
### Vandf component communication method one: data sharing ​ Vandf components can achieve data exchange through data sharing, state sharing, events, and other methods. Vandf's data exchange method...
2
by: jimatqsi | last post by:
The boss wants the word "CONFIDENTIAL" overlaying certain reports. He wants it large, slanted across the page, on every page, very light gray, outlined letters, not block letters. I thought Word Art...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 7 Feb 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:30 (7.30PM). In this month's session, the creator of the excellent VBE...
0
by: fareedcanada | last post by:
Hello I am trying to split number on their count. suppose i have 121314151617 (12cnt) then number should be split like 12,13,14,15,16,17 and if 11314151617 (11cnt) then should be split like...
0
by: stefan129 | last post by:
Hey forum members, I'm exploring options for SSL certificates for multiple domains. Has anyone had experience with multi-domain SSL certificates? Any recommendations on reliable providers or specific...
0
Git
by: egorbl4 | last post by:
Скачал я git, хотел начать настройку, а там вылезло вот это Что это? Что мне с этим делать? ...
1
by: davi5007 | last post by:
Hi, Basically, I am trying to automate a field named TraceabilityNo into a web page from an access form. I've got the serial held in the variable strSearchString. How can I get this into the...

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.