سؤال

i've a problem with fetch username,password from the freeradius i've edited default and putted : authorize {

update control { 
             Auth-Type := `/usr/bin/php /etc/raddb/file.php %{User-Name} %{User-Password}`
        }

now how does file.php see the username and password ? i tried both get,post and even request and still null and nothing to view so ..

How can i pass these variables to my php file.

هل كانت مفيدة؟

المحلول

i found the solution ... it's by putting -q to command line and fetch all with $argv

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top