How do I properly insert “include” line?

Hi,

I was told by statcounter that to use their code on a php redirect page I should create a page with statcounter code on it such as statcounter.html then add it to my page. However, I don’t know where to add it and it may be several days before I get a reply from them. So I’m curious if my php code currently looks like this:

<?php
header( ‘Location: http://www.example.com’ ) ;
?>

would the "include" line then be added so it looks like this?:

<?php
header( ‘Location: http://www.example.com’ ) ;
include ‘statcounter.com.html’;
?>

Or would I add it elsewhere? I want to make sure the redirect still works, and the click is tracked as well.

Thanks,
Chris

View full post on Tycoon Talk

, , ,

Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Get Adobe Flash playerPlugin by wpburn.com wordpress themes


RSS Site FeedRSS Site Feed

© 1992-2011 DC2NET™, Inc. All Rights Reserved