Can this be done? And how?

Under the configurations would like to perform the following (I'm used to
PHP hence the example):

Set: summary.pppoeusername to: <?php include
phppage.php?serial=[SERIAL]&request=pppoeusername ?>

Set: summary.pppoepassword to: <?php include
phppage.php?serial=[SERIAL]&request=pppoepassword ?>

 

Php code does the following:

 

$sn = $_POST['serial'];

$req = $_POST['request'];

 

#DB connector.#

$qry = "SELECT $req WHERE serial = $sn";

#extract $result from fetched $qry#

 

echo $result;// ([email protected]) or (password)

 

Thanks.

 

/RV

_______________________________________________
Users mailing list
[email protected]
http://lists.genieacs.com/mailman/listinfo/users

Reply via email to