Well, now that I reread what you posted, you wouldn't necessarily have access to every variable that is present - some things like threadid would need to be passed to the external php file in some way. If you don't want to pass the parameters on the url or via POST (i.e. an html form), then you would have to use some other method. (tbworld had posted about some possible methods, but deleted his post when I said he was wrong about what you wanted.

. Maybe he can undelete it).