Data+Laikas:

<?php echo date("Y.m.d H:i:s"); ?>

Narsykle:

<?php echo "$HTTP_USER_AGENT"; ?>

IP rodymas:

<?php echo "$REMOTE_ADDR"; ?>

Skaitliukas paprastas.Sukurti File:counter.txt ir suchmodinkite,ir si script irasome i counter.php:

<?php $fp=fopen("counter.txt","a+"); fputs($fp,"1"); fclose($fp); $fp1=filesize("counter.txt"); echo "$fp1"; ?>

Suskaiciuoja Eilutes:

<?php $failas="file.txt"; $arr=file($failas); $skaiciuojama=count($arr); echo "Eiluciu:$skaiciuojama"; ?>

Suskaiciuoja zodzius

<?php $name="Zodziai"; $words=explode(" ",$name); echo count($words); ?>
---
[^] Atgal
[«] Skaitykla

* * Gen. time: 0.0459
* © xneox.com