PUM_Ajax::serve_pixel()
Creates and returns a 1×1 tracking gif to the browser.
Description Description
Source Source
File: classes/Ajax.php
public static function serve_pixel() { $gif = PUM_Ajax::get_file( POPMAKE_DIR . 'assets/images/beacon.gif' ); header( 'Content-Type: image/gif' ); header( 'Content-Length: ' . strlen( $gif ) ); exit( $gif ); }
Expand full source code Collapse full source code View on Trac