0

Hello everybody and thanks in advance for any help you can provide.

I am currently working on transitioning a mysql project to mssql and php v 5.3.3

I am having trouble with

<form action="{$_SERVER['PHP_SELF']}" method="post">

when I look at the source code of a working page... Say login.php
the Formaction would read.

<form action="login.php" method="post">

But when I look at the source code of my page not working I see

<form action="{$_SERVER['PHP_SELF']}" method="post">

upon submitting the form I get a 404 page that reads.

The requested URL /{$_SERVER['PHP_SELF']} was not found on this server.

I've compared my ini pages with those of the working environment
and can't see what the problem is.

Does anyone have any ideas?

again, thanks in advance.

2
Contributors
2
Replies
3
Views
7 Years
Discussion Span
Last Post by dottomm
0

Thanks Zero13.
I thought I tried that, but I guess not.

thanks again!

Solved!

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.