I currently only have is so it shows the data of the text file but that's it.
// set file to read
$file = '/home/mypath/file.txt' or die('Could not open file!');
// open file
$fh = fopen($file, 'r') or die('Could not open file!');
// read file contents
$data = fread($fh, filesize($file)) or die('Could not read file!');
// close file
// print file contents
I'm making a link script. Basically for lazy people like me who are too lazy to upload the sidebar everytime. I finally got it to show the live links, but I want to be able to delete links as well. Even better, I'd like to move links up and down the list but I will wait till later for that. Any help would be greatly appreciated.