Jump to content
katmai

Script info

Recommended Posts

Posted

Nu stiu daca s-a mai postat,sau daca sa mai vorbit despre acest subiect...in fine sa zicem ca va faceti un guest book si vreti sa afisati niste date despre userul care vizualizeaza subiectul ex:browser si adresa de ip.

Scriptul arata cam asa.


<?php

$file = $_SERVER['PHP_SELF'];
$user = $_SERVER['HTTP_USER_AGENT'];
$address = $_SERVER['REMOTE_ADDR'];

echo "

Vizualizati fisierul [b]$file[/b].</p>\n";

echo "

Vizualizati aceasta pagina cu:
[b]$user[/b]
Ip adress:
[b]$address[/b]</p>\n";

?>

Scriptul lam facut astazi asa la repezeala..ca mi-a trebuit anyway..sper sa va placa simplu si compact...nu e nush ce da na.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...