Hi, > <form name="login" method="post" action="<?=$_SERVER['PHP_SELF']?>"> > > When I login, what shows up in the URL bar is: > > http://localhost/nedi/%3C?=$_SERVER['PHP_SELF']? > > This indicates that php is not grabbing that <?=$_SERVER['PHP_SELF']?> > and interpreting it. Any ideas why? Thanx.
This has nothing to do with OpenBSD. Please look in /var/www/conf/php.ini and check the value of 'short_open_tag' and make sure it says 'on' for this to work. Better yet, change: <?=$_SERVER['PHP_SELF']?> to <?php echo $_SERVER['PHP_SELF']; ?> and it'll work on any php installment. HTH... Nico