Foser Posted June 30, 2007 Share Posted June 30, 2007 instead of doing <?php $_SERVER['PHP_SELF']; ?> can i just name the file name of that same file.? so im workign on index.php, and i want the action to be in index.php? or do i have to put PHP_SELF if i do some php in the file. Link to comment https://forums.phpfreaks.com/topic/57815-solved-php_self-question/ Share on other sites More sharing options...
sKunKbad Posted June 30, 2007 Share Posted June 30, 2007 you can do either Link to comment https://forums.phpfreaks.com/topic/57815-solved-php_self-question/#findComment-286449 Share on other sites More sharing options...
mmarif4u Posted June 30, 2007 Share Posted June 30, 2007 Also u can leave it blank. Like: <form method='post' action=''> For the same page. Link to comment https://forums.phpfreaks.com/topic/57815-solved-php_self-question/#findComment-286451 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.