Sponsored Content
Top Forums Programming Creating a simple Help Desk system in PHP Post 302453920 by cjcox on Thursday 16th of September 2010 06:36:14 PM
Old 09-16-2010
Design wise, you have some kind of general queue and assignment queues. Now... these could be implemented as one big area of "problems" that are tagged as having been assigned or not.... lots of options.

There are probably a ton of simple php db based examples out there to get you started. If you don't like using a db, the logic at least will be there and you could translate it (might not be hard) into some kind of file based system.

Thinking of this as a filesystem (just an example):

Code:
helpsystem
helpsystem/ticket
helpsystem/ticket/1
helpsystem/ticket/1/ticket.txt
helpsystem/ticket/1/user3 -> ../../user3
helpsystem/ticket/2
helpsystem/ticket/2/ticket.txt
helpsystem/ticket/3
helpsystem/ticket/3/ticket.txt
helpsystem/ticket/3/user1 -> ../../user1
helpsystem/ticket/3/user2 -> ../../user2
helpsystem/ticket/4
helpsystem/ticket/4/ticket.txt
helpsystem/user1
helpsystem/user1/3 -> ../ticket/3
helpsystem/user1/4 -> ../ticket/4
helpsystem/user2
helpsystem/user2/3 -> ../ticket/3
helpsystem/user3


One possible interpretation is that users inside of tickets means assignment. Tickets inside of users means following or possibly accepting if assigned.

Ticket.txt contains the ticket data, but the directory could have other elements, like a resolution, for example.

Obviously, there's a lot to a design...
 

8 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

creating a simple archiving script

Im trying to create a script to archive specified directories into a specified tarball backup file. This is what i want the input to look like ex. save -i '/bin/b*' -i '/bin/ls' -o backup this is what i have #!/bin/bash #save - backup file script unset myInput unset myOutput while... (3 Replies)
Discussion started by: lensmen
3 Replies

2. Shell Programming and Scripting

Creating simple shell program

Hi, I'm new to UNIX shell programming... can anyone help in doing the following : 1) create a text file named "Model File" having following columns : Name Number Physics Chemistry 2) prompt user to n rows enter the name, number, physics ,chemistry 3) display the entire columns and rows... (1 Reply)
Discussion started by: Mayuri P R
1 Replies

3. UNIX for Dummies Questions & Answers

Help with creating a simple program!!

i am new to shell scripting!! i am making this program in bourne shell, that asks the user to input "Hello (their name)" or "question (their name)", any other input, "ERROR" will be outputted. if they input "Hello (name)", i want to out saying Hello (name) but if they input "question (name)", i... (4 Replies)
Discussion started by: bshell_1214
4 Replies

4. Shell Programming and Scripting

how to execute ksh simple shell script without creating .sh file

please help me to execute a simple shell script like for i in `ls echo $i done . i dont want to create a new sh file to execute it. Can i just type and execute it ? because I always this kind of simple for loops . Please help . Thanks (7 Replies)
Discussion started by: Sooraj_Linux
7 Replies

5. Homework & Coursework Questions

Creating a .profile, displaying system variables, and creating an alias

Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted! 1. The problem statement, all variables and given/known data: Here is what I am supposed to do, word for word from my assignment page: 1. Create/modify and print a... (2 Replies)
Discussion started by: Jagst3r21
2 Replies

6. UNIX for Beginners Questions & Answers

Creating a simple ID Script

Hello everybody, :wall:I am new to Linux and I want to create a simple script on Ubuntu that will allow to make database with a few perimeters. create file and name it Database and complete it with any information id firstname lastname phone 0 1 2 3 4 ... (4 Replies)
Discussion started by: kkishore4580
4 Replies

7. Homework & Coursework Questions

Help with creating a simple shell script

Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted! 1. The problem statement, all variables and given/known data: Write a shell script that accepts two arguments. The two arguments are the name of 2 files. • If the arguments... (3 Replies)
Discussion started by: Scripter12345
3 Replies

8. Web Development

Creating a Simple Linux Dashboard with Oracle Jet

Creating a Simple Linux Dashboard with Oracle Jet - Part 1 the Server Side PHP Code Creating a simple Linux dashboard with Oracle Jet is easy and fun. It's simple to create a dashboard to monitor your Linux server using Oracle JET. The sky is the limit with indicators and gauges. ... (7 Replies)
Discussion started by: Neo
7 Replies
shishi_tkts_get_tgs(3)						      shishi						    shishi_tkts_get_tgs(3)

NAME
shishi_tkts_get_tgs - API function SYNOPSIS
#include <shishi.h> Shishi_tkt * shishi_tkts_get_tgs(Shishi_tkts * tkts, Shishi_tkts_hint * hint, Shishi_tkt * tgt); ARGUMENTS
Shishi_tkts * tkts ticket set handle as allocated by shishi_tkts(). Shishi_tkts_hint * hint structure with characteristics of ticket to begot. Shishi_tkt * tgt ticket granting ticket to use. DESCRIPTION
Get a ticket via TGS exchange using specified ticket granting ticket. This function is used by shishi_tkts_get(), which is probably what you really want to use unless you have special needs. RETURN VALUE
Returns a ticket if successful, or NULL if this function is unable to acquire on. REPORTING BUGS
Report bugs to <bug-shishi@gnu.org>. COPYRIGHT
Copyright (C) 2002-2010 Simon Josefsson. Copying and distribution of this file, with or without modification, are permitted in any medium without royalty provided the copyright notice and this notice are preserved. SEE ALSO
The full documentation for shishi is maintained as a Texinfo manual. If the info and shishi programs are properly installed at your site, the command info shishi should give you access to the complete manual. shishi 1.0.1 shishi_tkts_get_tgs(3)
All times are GMT -4. The time now is 11:46 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy