Welcome

genosI

Nothing better than your own script.
PHP and mySQL is like women"s breast, one ain"t enough, and three is too much

Others

Visit also author site at andisetiawan.com

About Us

Visit also author site at andisetiawan.com


User Referrer

andiim3
Programming

in PHP, we could know where is the user come from, or referred from.

It will be so useful for site logging, like in GenosI script.

You don't need to write a lot of script to do this. We only need one variable that will solve our problem.

So, here's how to get the user referrer in PHP :

Variable used : $_SERVER['HTTP_REFERER']

The variable above will return the user referrer.

and here's the sample of HTTP referrer :


<?php

echo $_SERVER['HTTP_REFERER'];

?>

Practice it soon man..

Printer friendly page
Their comments about this post:


Add your comment here





Calculate the number shown below


answer :

clinguk2 dead diem evil gemes hoho hore jedug lemar lirik matabelo mataduitan mikir mlorok nangis nyembah plis pray puyeng sikut



Message :



Hits : 166  | Comments (0)
 

Nothing better than your own script.
PHP and mySQL is like women"s breast, one ain"t enough, and three is too much

Other

Nothing better than your own script.
PHP and mySQL is like women"s breast, one ain"t enough, and three is too much

Your Details

    Page hits : 10707
    Your IP : 38.107.191.118
    Browser : Other 0
    OS : Other