= MAX_SAVED_URLS) { // Delete the first element array_shift($data); } // Add that to the array array_push($data, $that); return $data; } if(empty($_POST['url'])) { header('location : index.php'); } else { if (is_readable(DATA_FILE)) { $data = unserialize(gzinflate(file_get_contents(DATA_DIR.ASSOC_NAME))); } else { $data = array(); } } ?>
Short link for:'.$url.''; ?>
Missing URL. Back to index page."; } ?>