servidor php propio
<form action="<?php echo $_SERVER['PHP_SELF']; ?>">
//there is no reason to use this to submit form data to the same page
<form action="">
//will do the same thing
php auto
<form name="form1" method="post" action="<?php echo $_SERVER['PHP_SELF']; ?>" >
Cuando usar uno mismo sobre this esto
class X {
private $non_static_member = 1;
private static $static_member = 2;
function __construct() {
echo $this->non_static_member . ' '
. self::$static_member;
}
}
new X();