php inside vicidial script
Posted: Sat Sep 30, 2017 5:22 pm
is it possible to get something like this
to work inside the vicidial script screen?
or is there another way to have a different script pop depending on user group?
- Code: Select all
$user_group = $_GET ['user_group'];
if ($user_group == "100") {
echo file_get_contents('/srv/www/htdocs/agc/script.php');
}
if ($user_group == "101") {
echo file_get_contents('/srv/www/htdocs/agc/script2.php');
}
to work inside the vicidial script screen?
or is there another way to have a different script pop depending on user group?