HICKSVILLE - A Hicksville man is under arrest for allegedly posing as a doctor to get powerful painkillers.

Police say Adeel Riaz, 28, would call pharmacies, saying he was a doctor. He allegedly called in fake prescriptions for hundreds of pills to multiple pharmacies throughout Nassau County.

Dr. Jeffrey Reynolds, of the Long Island Council On Alcohol and Drug Dependence, says the state has legislation to make it tougher for things like this to happen, but Riaz found a loophole. The legislation requires doctors to input prescriptions into a state database that pharmacists can check, but it does not require them to.

Court documents obtained by News 12 Long Island say Riaz was using other people's personal information to phone in fake prescriptions.

Bail for Riaz was set at $10,500. He is due back in court next week.