He first starred in the film "Hackers" (1995), with Angelina Jolie, whom he married in 1996. Shortly after "Hackers", Miller was cast as Sick Boy in "Trainspotting". He was suggested for the role by Ewan McGregor. The accent he used in the film was regarded as very convincing, leading some people to incorrectly believe that he was Scottish. Miller has stated: "I had to do a lot of work. I read and re-read the book and I pretended to be Scottish all the time I was in Glasgow, hanging around with Scots, picking up bits and pieces on the street and in bars. Everyone's been very encouraging and Danny thinks that I've got it about right. Of course, the others are from all over Scotland and have different accents themselves, so I've tried to just pick up a general, composite accent."