[phpOpenTracker-User] Log Exit targets [HELP]
"s0undt3ch" <[email protected]> Wed, 21 Apr 2004 20:17:46 +0100 (GMT Daylight Time)
| Newsgroups | gmane.comp.web.phpopentracker.general |
|---|---|
| Message-ID | <4086C8DA.000003.02168@VAMPAS_HOME> |
"Sebastian Bergmann" <[email protected]> wrote in message news:[email protected]... Markus wrote: > ich habe mir das Simple-Beispiel für meinen Server angepasst, aber > leider sind die Tabellen für Exit-Pages und Exit-Links leer. Do you "tunnel" outgoing links through exit.php? -- Sebastian Bergmann http://sebastian-bergmann.de/ http://phpOpenTracker.de/ Did I help you? Consider a gift: http://wishlist.sebastian-bergmann.de/ ------------------------------------------------------- This SF.net email is sponsored by: SlickEdit Inc. Develop an edge. The most comprehensive and flexible code editor you can use. Code faster. C/C++, C#, Java, HTML, XML, many more. FREE 30-Day Trial. www.slickedit.com/sourceforge How can this be done???? I cant seem to get it working. Pedro. Here's a sample of my page: {STARTS HERE} require_once('./phpOpenTracker.php'); function encode_exit_urls($buffer) { return preg_replace( "#<a(.*)href=(\"|')http://([^\"']+)(\"|')#isUm", '"<a href=\"exit.php?url=".base64_encode(\'\\2\')."\""', $buffer ); // start output-buffering ob_start('encode_exit_urls'); } //header('P3P: CP="NOI NID ADMa OUR IND UNI COM NAV"'); require_once('include/config.php'); //Start Timing the page creation process define('START', timing()); //define the title of the page. $PAGE_TITLE = 'Site Entrance'; //assign it to fast template. $tpl->assign('PAGE_TITLE', $PAGE_TITLE); {STUFF HERE} //log statistics phpOpenTracker::log(array( 'document' => $PAGE_TITLE)); //log statistics end {STUFF HERE} {ENDS HERE} Thanks, ><))))º> ><))))º> ><))))º> ><))))º> ><))))º> [PT]Pedro <soundtech @ hotpop (dot) com> ><))))º> ><))))º> ><))))º> ><))))º> ><))))º> ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click