I just started playing with PHP this week. Im adding a function to an existing php application and having some issues with headers I think. When at this url http://localhost/juke/search.php?do=list.tracks&col=ge_id&val=73&sort=ge, I click on an item which plays the selected mp3, however, it puts me to a blank screen afterwards. I tried using $refer = getenv("HTTP_REFERER"); with header ("Location: $refer\n\n"); but it puts me back to http://localhost/juke rather than the the full path, header ("Location: $PHP_SELF\n\n"); does the same thing. Any ideas how I can correct this? Im trying to have the user returned to the full path they were at when they click the play item.
Thanks,
Jeff