Forms not being subitted to the correct path

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Matt Walker

    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:\poli cy.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.msba net.org\nor_sho wpolicy.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
  • Randell D.

    #2
    Re: Forms not being subitted to the correct path


    "Matt Walker" <stooge88@hotma il.com> wrote in message
    news:c1bca936.0 309251109.7e4d8 239@posting.goo gle.com...[color=blue]
    > 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:\poli cy.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.msba net.org\nor_sho wpolicy.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[/color]

    I'm not familiar with IIS/PHP installation but was wondering if you
    confirmed that
    D:\policy.msban et.org\nor_show policy.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.msban et.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?


    Comment

    Working...