PDA

View Full Version : Disable referer


Anonymous
11-04-2004, 08:33 PM
Hello guys! Thanks for your work and sorry for my english! :wink:

I would want to know as I can disable the Referer and user counter function because I use an external script for statistics...

I can delete parts of the code?

which?

Thanks

pixelpunk
11-04-2004, 09:21 PM
I don't have the files with me at the moment, I'll look into it tomorrow.
Need to find the exact lines for you.

Otherwise you can delete stuff near the top which deals with the visitorlogging, and way down the bottom for the thing that prints out the referers.

However, keeping it in will do no harm. Nor will it slow down the script for you.

// pixel

Anonymous
11-04-2004, 09:57 PM
Need to find the exact lines for you.

Thanks thanks thanks!!! :D

However, keeping it in will do no harm. Nor will it slow down the script for you.

I had wondered it.. It was only to make some order in the database...

Thank you so much.
Rain

pixelpunk
11-05-2004, 07:32 AM
From main script index.php (backup first, this is not tested)

Remove the following lines:

11 - 12
43
45 - 59
275 - 329

That should do it.

// pixel

Anonymous
11-05-2004, 03:52 PM
Thank you so much!

Now I don't have time...

I try tomorrow and then I say to you if it works!

Very very thanks! :D

Rain

Anonymous
11-06-2004, 11:01 AM
Ok! All done! 8)

Only the lines 275 - 329 was wrong:

318-329 are "browse" functions... Right?

The script seems to work.. I have only one more little problem (is not important but I dont'understand):

If I try to watch the Feed Rss with "Feed Reader", I can't get the thumbs images... Before the right URL of the thumb comes outside "about:blank".
Ex:
about:blankwww.myurl.com/pathtopixelpost/..........

You have some idea of why? :D

I repeat: this is not important... It is only in order to understand...

Thanks for all! :mrgreen:
Rain