CrawlTrack, webmaster dashboard.
Web analytic, SEO and protection

CrawlProtect, your website safety.
Reinforced protection

Two php/MySQL scripts, free and easy to install
The tools you need to manage and keep control of your site.


CrawlTrack and CrawlProtect support forum

You are not logged in.

#1 25-05-2006 21:07:01

Nouveau membre
Registered: 25-05-2006
Posts: 1

Can not include code in all pages

Hi there and thanks for the great work!!!

I have a problem not really related to your coding but including the code to call your script.

If i inlude it in normal php pages everything is cool, but i have a script that generates like 10.000 pages dynamic from database every night and i create the pages with fwrite.

Now when i include your code to be written to these files i get an error as the code:

$url =urlencode($_SERVER['REQUEST_URI']);

is not written in the head of these files, somehow it gets executed and stops with an error with T_ENCAPSED_AND_WHITESPACE.

I checked myself and it is the part


i can not get to work with fwrite as - like i said - gets executed when I write it.

Any help appeciated


Last edited by jay (25-05-2006 21:09:41)



#2 25-05-2006 21:19:44

Registered: 30-10-2005
Posts: 2980

Re: Can not include code in all pages


Try to put \ before each, like that:


Hope this will help you,


CrawlTrack & CrawlProtect developer



Board footer

Powered by PunBB
© Copyright 2002–2008 PunBB