Then that code should work. What's your URL?