Hi again,
I made this and name it serial.php:
<?php
$file = file("serials.txt");
list($user, $pass, $serial) = explode("," $file[0]);
$fp = fopen("serials.txt", "w+");
for($i = 1; $i < sizeof($file); ++$i) {
fwrite($fp, trim($file[$i]) . "\n");
}
fclose($fp);
echo "Your username is: $user. Your password is: $pass. Your serial is: $serial";
?>
and while trying I got this error:
Parse error: parse error, unexpected T_VARIABLE in /home/username/public_html/testdir/serial.php on line 4
Can you please help some more as I'm not an expert in php.
Thanks again in advance for your time.
James