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.

<form action="<?php echo $_SERVER['PHP_SELF']; ?>" method="post">

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

thanks again!