Quote:

PS.
btw, you don't need split if you define printers variable like this :
$printers=Printer1,Printer2,Printer3




Which is well documented in the KiXtart Manual, however it's a best practice to always enclose strings in quotes (single quotes preferred) unless you're competing in KiXgolf.

What you are doing is horrible inefficient, prone to errors, and tough to debug. Just imagine supporting 100+ users, where the login script has to create 100+ distinct variables that do not contain any valuable information anyway. Data should be stored separately from script logic.
_________________________
There are two types of vessels, submarines and targets.