I am noob in coding... Therefore I will be very grateful, if somebody helps to find out the name of a script which I search! I need to learn what script it is used in this link:
[example93479283749.com...]
This link redirect on last site (example00000000000.net). Here all domains are replaced on "example (with digits)".
Thankful in advance to all!
are you asking how to write a redirect script?
the simplest redirect script would look like this:
print "302 Moved\nLocation: http://example.com\n\n";
replace example.com with the url from the input parameters.
the first line printed is the http status code for a temporary redirect and the second line is a http location header.
the final two newlines are important.
This script - main.cgi in this link [example93479283749.com...]
is not only for redirection!
He also change HTTP_REFERER to example93479283749.com - i mean to based site and not referer site (for example from google)!
Well, it`s good to find some script like this, but i even can`t understand what keywords googling! :(
[google.com...]
galench:
your simplest redirect.cgi for the sample (WebmasterWorld) url:
#!/usr/bin/perluse CGI qw(:standard);
print redirect(param('url'));
I try some sites with perl redirection what you specify!
Some body can explaine to me how HTTP_REFERER is working?
Let`s examine some. For example:
1. I go googling and has found this post!
2. After this i visited this page and click on link with redirection in first my message:
http://www.searchengineworld.com/r/redirect.cgi?f=13&d=3551541&url=http://www.example93479283749.com.
3. It is redirecting me to example93479283749.com.
Now question! What HTTP_REFERER will have last site example93479283749.com? IT`s will be google or searchengineworld.com?