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
include, insert, line, properly