Location: PHPKode > projects > Online Resource Management system > storms/user/user_remove_software_from_tray.php
<?php

/******************************************************
 *   File name: user_remove_software_from_tray.php
 *   Function: Remove software from request list
 *   maintained by: Raymond Lai
 *   last update: 29 Jan 2001
 *   Input: softwareID
 *   Output: updated request list at the user's session
 *   Purpose: To remove a user selected software from the
 *            "shopping cart", i.e. the request list
 ******************************************************/

include("../includes/session_mysql.inc");

session_start();
session_register("software_request_items");

unset($software_request_items["$softwareid"]);

header("Location: $HTTP_REFERER");
exit;

?>
Return current item: Online Resource Management system