|
Haven't registered yet? Do it here now!
|
Cleo
Joined: 31 Mar 2009 Posts: 11
|
|
|
|
|
|
|
Posted: Tue Sep 08, 2009 9:35 pm Post subject: Tracking code |
|
|
|
|
|
|
|
|
|
|
The script I'm putting the tracking code in doesn't like the single quotes.
Is it ok to use double quotes like this?
Code: | <img src="http://cleos-porn-links.com/lo/track.php?id=2&ref=<? echo rawurlencode($_SERVER['HTTP_REFERER'])?>" border= "0" width="1" height="1" style="display:none;" /> |
This is the page I'm using it on,
http://cleos-porn-links.com/porntube/ |
|
|
|
|
|
|
|
Atanasis Owner
Joined: 22 May 2004 Posts: 4284 Location: The Net
|
|
|
|
|
|
|
Posted: Wed Sep 09, 2009 8:28 am Post subject: |
|
|
|
|
|
|
|
|
|
|
the problem isn't in the quotes, though it will work with these as well.
the problem is that you are putting the code in non php page and thats why it doesn't track any hit. Either make your page .php one or make your server parse html pages as php ones.. _________________ Thanks,
Kaktusan
|
|
|
|
|
|
|
|
Cleo
Joined: 31 Mar 2009 Posts: 11
|
|
|
|
|
|
|
Posted: Wed Sep 09, 2009 1:10 pm Post subject: |
|
|
|
|
|
|
|
|
|
|
Actually that page is php but I can only edit the Smarty templates so I guess I'm running into the same issue I did when adding in the include code.
This is what worked for getting the include code for the link trades.
Code: | {php}
// including a php script directly from the template.
include('/var/www/cleos-porn-links.com/lo/site_templates/site_2_3.php');
{/php} |
I have other pages that are shtm and also a Movable Type blog that uses its own type of includes plus I'll be using this on Wordpress Blogs
It seems like getting the tracking code into all these different types of pages may not be possible. I guess the trades still work, just can't track hits in. |
|
|
|
|
|
|
|
Atanasis Owner
Joined: 22 May 2004 Posts: 4284 Location: The Net
|
|
|
|
|
|
|
Posted: Wed Sep 09, 2009 1:21 pm Post subject: |
|
|
|
|
|
|
|
|
|
|
yes, if you use Smarty, its pain to deal with it and you need find out how exactly to put php code in it..
yes, linktrading works, just the stats tracking is not working.. if it is not of high importance to you, you can leave it.. _________________ Thanks,
Kaktusan
|
|
|
|
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2002 phpBB Group
|
|
|
|
| |