Testa detta:
<?php
$ftp = ftp_connect("FTPhost.com", "21"); // (HOST, PORT)
if(!$ftp)
die("No connection");
if(!(ftp_login($ftp, "AlphaII", "***"))) // (POINTER, USER, PASSWORD)
die("Wrong user/pass");
if(!($tid = ftp_mdtm($ftp, "fil.php"))) // (POINTER, FILE)
die("No file");
ftp_close($ftp);
// Skriv ut tiden i formatet Dag Månad, År - Timme:Minut
echo date("j M, Y - H:i", $tid);
?>
Funkar ju endast om du har FTP-tillgång till servern, och om scriptet är rätt... Är inte säker :)
------------------
SPiN, bjorne.w@telia.com
-- They pretend to pay me, I pretend to work --