0) { $filename = $_GET['vc']; header( 'Content-Disposition: attachment; filename='. $filename ); header( 'Content-Length: '. strlen( $output ) ); header( 'Connection: close' ); header( 'Content-Type: text/x-vCard; name='. $filename ); header( 'Cache-Control: store, cache' ); header( 'Pragma: cache' ); echo $output; } else { echo "error retrieving vCard."; } ?>