Ticket system

Post all your tuts or request for tuts here.
User avatar
SpiritWebb
Posts: 3107
Joined: Sun Jul 12, 2009 11:25 pm

Re: Ticket system

Post by SpiritWebb »

This is my main page for the ticket system. The admin login, is at the far right bottom...(not shown)
Image

Image
User avatar
hallsofvallhalla
Site Admin
Posts: 12026
Joined: Wed Apr 22, 2009 11:29 pm

Re: Ticket system

Post by hallsofvallhalla »

User avatar
hallsofvallhalla
Site Admin
Posts: 12026
Joined: Wed Apr 22, 2009 11:29 pm

Re: Ticket system

Post by hallsofvallhalla »

User avatar
SpiritWebb
Posts: 3107
Joined: Sun Jul 12, 2009 11:25 pm

Re: Ticket system

Post by SpiritWebb »

I get this in the connect.php file...line 2:

Notice: Undefined variable: QUERY_STRING in C:\wamp\www\ticket\connect.php on line 2
Sorry, not logged in please Login

connect.php

Code: Select all

<?php
parse_str("$QUERY_STRING");

$db = mysql_connect("localhost", "root", "") or die("Could not connect.");
if(!$db) 
	die("no db");
if(!mysql_select_db("ticket",$db))
 	die("No database selected."); 
if(!get_magic_quotes_gpc())
{
  $_GET = array_map('mysql_real_escape_string', $_GET); 
  $_POST = array_map('mysql_real_escape_string', $_POST); 
  $_COOKIE = array_map('mysql_real_escape_string', $_COOKIE);
}
else
{  
   $_GET = array_map('stripslashes', $_GET); 
   $_POST = array_map('stripslashes', $_POST); 
   $_COOKIE = array_map('stripslashes', $_COOKIE);
   $_GET = array_map('mysql_real_escape_string', $_GET); 
   $_POST = array_map('mysql_real_escape_string', $_POST); 
   $_COOKIE = array_map('mysql_real_escape_string', $_COOKIE);
}
?>
Image

Image
User avatar
hallsofvallhalla
Site Admin
Posts: 12026
Joined: Wed Apr 22, 2009 11:29 pm

Re: Ticket system

Post by hallsofvallhalla »

Code: Select all

parse_str("$QUERY_STRING");
delete that line.
mmoore5553
Posts: 2
Joined: Mon Aug 08, 2011 12:57 pm

Re: Ticket system

Post by mmoore5553 »

I am sorry but I am asking if you have completed the other videos in the series ? I have been unable to find them. I been looking for a tutorial like this. Thank you.
User avatar
hallsofvallhalla
Site Admin
Posts: 12026
Joined: Wed Apr 22, 2009 11:29 pm

Re: Ticket system

Post by hallsofvallhalla »

wow i need to finish this :) totally forgot about it.
mmoore5553
Posts: 2
Joined: Mon Aug 08, 2011 12:57 pm

Re: Ticket system

Post by mmoore5553 »

oh that would be great. I just doing one for a small business and thought it would be great to learn .
thorian
Posts: 30
Joined: Mon Aug 01, 2011 10:55 pm

Re: Ticket system

Post by thorian »

all of this can be accomplished through basic html... and some styling to make it pretty. form.. submit to email. ie hosted email labeled support from ur host. reply. doing an in game support can be done through the messages tutorial. you could just make the user support.. then pretty up an index of info... or better yet.. through a forum. customizing forums is ez
Andrew
Posts: 16
Joined: Mon Aug 15, 2011 12:57 pm

Re: Ticket system

Post by Andrew »

hallsofvallhalla wrote:wow i need to finish this :) totally forgot about it.
Yeah, it would be awesome. :), Since that's the only thing that I need right now and can't find better video's on youtube than yours!
Post Reply

Return to “Tutorials”