8/04/2000

what i need is this:

if someone goes to one of my permalinks –
“2000_07_01_archive.html#536333”

i need it to redirect to
?x=2000_07_01_archive.html#536333.”

how do i do that in php, does anyone know? i need help!