I was visiting yahoo.com .... while i was searching for books (as much as i remeber), i accdently pressed the stop button (exactly after the first 3-4 search results)
Below the shown search results, i found the famouse words:
" Transfer Interrupted! " BUT, unlike the other normal "Transfer interrupted" this one was clickable, when i clicked on it it transfared me into internet visa site?
try it by yourself, in the search page, to see that the "Transfer Interrupted!" are clickable!
THE QUESTION: how did they do this? does anyone know a cgi script or so, that does this when the page viewing is "Interrupted"? Is it easy to write such a script?
The other question is about another cgi "trick" i was visiting a site (thought i bookmarked it but i didn't :( , and at their front page i found this statemnt: " There are 547 visitors on this server NOW! " to be frank, i am 100000% sure that they did not recive this number of visitors since they have launched their site!
I reloded the page and bingoooo the number was 18 visitor only, reload again (immdeiatly) and the number was 410, the 900, then 13, then 45 etc..... I checked their source, just to find that there are NO JAVA SCRIPT! , just a simple one-line code that says: <!--#exec cgi="/cgi-bin/numbers.cgi" --> :)
so the trick is that they are useing a cgi script the prints a number (randomly) sellected from a group of numbers!
THE QUESTION: how did they do this? does anyone know a cgi script or so, that randomly prints a number from a givien group of numbers?
Is it easy to write such a script?