You could probably use a meta refresh to do the forwarding instead and then be able to use the popup.
Have the php send the console code first in the head, then a meta refresh set to 1 or 2 seconds and that should do what you want, if I understand correctly what you're trying to do.
|