Exp-8

0
index.php "; echo "NamePasswordEmail"; while (($line = fgets($file)) !== false) { $line = trim($line); $data = explode(':', $line); if (count($data) == 3) { echo ""; echo "" . htmlspecialchars($data[0]) . ""; echo "" . htmlspecialchars($data[1]) . ""; echo "" . htmlspecialchars($data[2]) . ""; echo ""; } } fclose($file); echo ""; } else { echo "File not found."; } ?> data.txt oggy: 123: oggy@example.com jack: 456: jack@example.com

Post a Comment

0Comments

GUYS IF YOU HAVE ANY DOUBT. PLEASE LET ME KNOW

Post a Comment (0)