Page 1 of 1

$PHP_SELF

Posted: Wed Aug 28, 2002 6:02 am
by harsha
hi

i have a problem if i use action="<?=$PHP_SELF ?>" the path is not printing

can you plz tell me the problem with it

even i tried

action = <? echo $PHP_SELF; ?>
action = <? echo "$PHP_SELF"; ?>
action = <? echo '$PHP_SELF'; ?>

is there any problem with my php installation or with apache??? :roll:

Posted: Wed Aug 28, 2002 6:09 am
by twigletmac
Try

Code: Select all

$_SERVER&#1111;'PHP_SELF']
Mac