Index: wp-includes/functions.php
===================================================================
--- wp-includes/functions.php	(revision 3454)
+++ wp-includes/functions.php	(working copy)
@@ -997,6 +997,9 @@
 	if ( $wpdb->get_var("SELECT post_id FROM $wpdb->postmeta WHERE meta_key = '_pingme' OR meta_key = '_encloseme' LIMIT 1") )
 		$doping = true;
 
+	if ( substr(php_sapi_name(), 0, 3) == 'cgi' )
+		return $doping;
+
 	if ( $doping ) {
 		$ping_url = get_settings('siteurl') .'/wp-admin/execute-pings.php';
 		$parts = parse_url($ping_url);
Index: wp-admin/admin-footer.php
===================================================================
--- wp-admin/admin-footer.php	(revision 3454)
+++ wp-admin/admin-footer.php	(working copy)
@@ -8,5 +8,10 @@
 </div>
 <?php do_action('admin_footer', ''); ?>
 <script type="text/javascript">if(typeof wpOnload=='function')wpOnload();</script>
+
+<?php if ( (substr(php_sapi_name(), 0, 3) == 'cgi') && spawn_pinger() ) : ?>
+<iframe id="pingcheck" src="' . get_settings('siteurl') .'/wp-admin/execute-pings.php?time=' . time() . '" style="border:none;width:1px;height:1px;"></iframe>
+<?php endif; ?>
+
 </body>
-</html>
\ No newline at end of file
+</html>

