Replace hard-coded path to self with PHP $_SERVER["PHP_SELF"]