Location: PHPKode > projects > The Community Wish List Server > wlserver/receivegift.php
<?php
session_start();
require("php/classes/wishlist.php");
$currentList=new WishList($_SESSION['currentUser']);
$currentList->deleteItem($_GET['giftKey']);
$prevKey = $currentList->getPreviousItemKey($_GET['giftKey']);
header ("Location: index.php#giftid$prevKey?sm=$sm");
?>
Return current item: The Community Wish List Server