• On Wednesday, 19th February between 10:00 and 11:00 UTC, the forum will go down for maintenance. Read More

PHP code review... dissection for learning - PHP experts chime in plz!

xhanuman

Junior Member
Joined
Sep 28, 2008
Messages
113
Reaction score
111
From what I can tell, this guy is at the top of his class with what he is doing... or so it would seem. Seems as though this is an internal 'refresh' in this url string - cturl - that's what I understand from light research. The whole string smacks of CS... but seems to have some words to lead a viewer to think it some form of tracking - not bad. Any layman explanation of what all is going on here? Thanks in advance... and maybe you can employ this yourself... although, putting a php file directly into an image tag seems sloopy, non? I can see all of the %2's convert to a slash and all the regular jargon for http:// formating... and the 1x1px trick.


Code:
<img src="/imp.php?cturl=http%3A%2F%2Fwww.domainname.com%2Findex.php&cmd=PixelImpression&pixel_ref=http%3A%2F%2Fwww.domainname.com%2Fcategory%2Fweb-hosting%2Findex.php" width="1" height="1" border="0" alt="" />

My take is that it is pounding a referrer and a "round edible disc with chocolate chips" into the heart of the browser. (and it does, just trying to understand the mechanics) I suspect .htaccess is in full use here to force the img tag to php etc. This guy has an entire realm of sites pumping each other - the perfect example of how to dominate - close to 50 backlinks with mostly the same IP/owner.
 
I suppose I should wait until I reach the required amount of posts to continue on with this subject. My greatest inquiry is about the use of CTurl... it's always great to learn about something new... I'm curious if many people use it as well.
 
Back
Top