PHP - dahil ya da gerekli komut dosyası adını almak

0 Cevap php

Eğer dahil veya gerekli script isim nasıl geri alabilirim?

Example: script login.php has a require_once('validate.php') ... validate.php is also called by a number of other scripts. Other than manually setting a flag, is there a way to have validate.php know which script is including/requiring it?

0 Cevap