Pete Doherty is to go on trial after he pleaded guilty to two offences of drugs possession and driving without a licence or insurance.
Doherty, 30, was released on £50,000 bail during an appearance at Stroud Magistrates' Court this morning.
It follows his arrest on suspicion of dangerous driving in the early hours of Thursday morning.
Police found £35 worth of heroin in a car being driving by Doherty after a gig in Gloucester.
Fifteen wraps of the drug, with a street value of £300, were also found at the singer's home in Marlborough, Wiltshire.
Doherty denied a charge of dangerous driving and entered no plea to the drink-driving allegation.
The singer must adhere to a number of conditions as part of his bail, according to the Press Association.
The Babyshambles star was told he will have to obey a 7pm – 7am curfew order at his home in Wiltshire. These won't apply when the singer is performing, however.
He was also forbidden from travelling in the front seat of any vehicle and must attend a weekly Narcotics Anonymous meeting.
Doherty is due to go on trial at Gloucester Crown Court August 11.
You can keep up to date with all the latest news from Gigwise by following us on Twitter and liking us on Facebook.

Whitney Houston, Dead Aged 48
BBC Denies Burying Jimmy Saville Sex Abuse
Katy Perry Unveils New Single 'Part Of Me' - Listen
Plan B's 'iLL Manors' Movie Labelled As 'Horrific'
Pete Doherty Awarded Damages From News Of The World Publishers Over Phone Hacking
Pete Doherty Released From Prison Early
Music Stars Who Nearly Became The Next Ryan Giggs
Pete Doherty Prison Sentence 'Devastates' Charlotte Gainsbourg
The 15 Best B-Sides Of All Time
M.I.A Demands Women In Burkas: Ridiculous Rock Star Riders!
Dry The River, All The Young Play Manchester Ritz
~ by chic stewart 6/15/2009 Report