Make sure these variables are defined in PHP before calling them.