Jump to content

Zer0Cam

Members
  • Posts

    43
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

Zer0Cam's Achievements

Member

Member (2/5)

0

Reputation

  1. Hello, I want to know how to pull eithier my IRC live chatroom to my homepage using php. Or I want to pull the live userlist of the people coming in how would I approach this
  2. Hey everyone, So theres a few things that came to mind and I want to accomplish I have some what of an idea how I want to aproach this. There is a page php based but you can embed html into the page. Theres going to be the page with 4 video feeds youtube feeds for example. What I want to do is have a page in the background lets say mysite.com/admin it will bring you to a page with a list of "videos" on the left a long list. And when you click on one it will give you a preview on the right of each video you clicked on the left.. It will refresh every lets say 5 seconds I don't know it will pull the new feeds that are streamed on AIR next to there video stream it will say if there on air or not. Also to have a simple link (icon) next to there url so I can click it and it will go to there profile I would also like to add a hover over (tips) to some parts of it
  3. FOLLOW UP! So I wrote a little more in depth.. Hey Everyone, I'm not sure who to address this to or were to post it. Feel free if this isnt the right place to post it have a moderator or somthing move it or somthing. I have a few questions I would like to address.. Coding wise and wether or not I am aproaching this right. First Concept. .. I'm an IT computer guy at the school I used to attend and now I am a former graduate. We used this program on a computer to monitor the computer labs we would get thumbnail views like remote desktop. There would be a lab aid (a person to monitor) the lab to ensure kids are doing stuff apropritly. So my question is I want to create some sort of program that is strictly for that computer so they cant cheat or change it. That is like a time stamp that pops up every 20 minutes or so to make sure they are there and they are active. It needs to support multiple users, Because theres more then one lab monitor person every period. It will some how grab ahold of the calander on the computer and syncronize with the current date and time and it will hold attendence.. I Don't want to make it webased because they can just go home and do it from there house so I thought.. VB I want another side of the application so that the Administrator, I myself or anyone who I add to the admin section can access it .. I also would like to add a update notification for this if i plan on updating it this is easy, but i want the most efficient way Next question how do I go about coding this? I need help. Any help on this would be apreciated... Thanks, Miles
  4. I don't know how I would go about doing this!. But I want to make sure they don't cheat the system. And it has to like record number of days absent etc.. Want to help me with this?
  5. Ok so... I want to create some sort of login system for a "Student" Who logs in and checks in mysteriously. I am not sure how to go about doing this I need some ideas? My Response And his... Not sure how I should aproach this.. He wants some sort of a check in system but no way he can cheat the system. Any ideas guys?
  6. Hey, I don't know where to put this but is there away to open a url upon logging into windows , maybe a registry execute?
  7. Teacher Name:<input type='text' name='teacher_name' size='40' /><br /> Room Number:<input type='text' name='room_number' size='40' /><br /> Are there just as a place holder, I'am trying to figure out how to make them required fields
  8. Ok So I want to make 2 of the selected fields REQUIRED Teacher Name: Room Number: This is the code I have <?php // page_ticket_submit.php: Page to submit a new ticket if (!defined('IN_SUPPORT') || eregi("page_ticket_submit.php",$_SERVER['PHP_SELF'])) die("You can't run this directly!"); session_start(); // If the user isn't logged in if (!isset($_SESSION['support_in']) || $_SESSION['support_in'] !== true) { header("Location: http://{$_SERVER['HTTP_HOST']}{$_SERVER['PHP_SELF']}?page=login&return=ticket_submit"); } // If they've submitted one if (isset($_POST['submit2'])) { // If no subject entered if (!isset($_POST['subject']) || $_POST['subject'] == "") { writeError("ERROR: You must enter a subject. Please click the 'Back' button in your browser to fix this."); die(); // No message? That's not helpful at all } elseif (!isset($_POST['message']) || $_POST['message'] == "") { writeError("ERROR: You must enter a message (if you don't want to write a message, why are you filling in a support ticket?). Please click the 'Back' button in your browser to fix this."); die(); } else { // Insert the ticket $database->safe_query("INSERT INTO tickets (userID, date, category, subject, severity, lastPost) VALUES (%i, NOW(), %i, '%s', %i, %i)", array($_SESSION['support_id'], $_POST['category'], $_POST['subject'], $_POST['severity'], $_SESSION['support_id']), __FILE__, __LINE__); $ticket_id = $database->get_insert_id(); // Insert the message // NOTE: The actual ticket and the message are stored seperately, so don't get confused here $database->safe_query("INSERT INTO ticket_messages (date, message, ticketID, userID) VALUES (NOW(), '%s', %i, %i)", array(nl2br(htmlentities($_POST['message'])), $ticket_id, $_SESSION['support_id']), __FILE__, __LINE__); // Get the body of the email $message = newTicketMail($_SESSION['support_id'], stripslashes($_POST['subject']), $_POST['severity'], stripslashes($_POST['message'])); // Send the actual email mail($SETTINGS['adminEmail'], "New support ticket (ID #{$ticket_id})", $message, "From: {$SETTINGS['fromEmail']}"); pageHeader("Ticket Received"); echo "Your ticket was received by our support team and we will reply as soon as possible.<br /><br /><a href='index.php?page=ticket_main'>back</a>"; } // If the form hasn't been submitted yet } else { pageHeader("Submit a Support Ticket"); // Get the category list $cat_list = showTicketCategories(false, "name ASC", 0); // Get the severity list $severities = showTicketSeverities(false); // Show the input form echo <<<EOT If you would like to submit a support ticket to our support team, please use the form below. We will try to reply as soon as possible.<br /><br /> <form action='index.php?page=ticket_submit' method="post" name="adminForm"> <input type='hidden' name='submit2' value='true' /> Subject: <input type='text' name='subject' size='40' /><br /> Category: <select name='category'>{$cat_list}</select><br /> Severity: {$severities}<br /> Teacher Name:<input type='text' name='subject' size='40' /><br /> Room Number:<input type='text' name='subject' size='40' /><br /> Message: EOT; outputBBCEditor("message", "Type your message here"); echo "<input type='submit' value='Submit Ticket' /> </form>"; } ?> Line that should be looked at I think <form action='index.php?page=ticket_submit' method="post" name="adminForm"> <input type='hidden' name='submit2' value='true' /> Subject: <input type='text' name='subject' size='40' /><br /> Category: <select name='category'>{$cat_list}</select><br /> Severity: {$severities}<br /> Teacher Name:<input type='text' name='subject' size='40' /><br /> Room Number:<input type='text' name='subject' size='40' /><br /> Message: Teacher room name & room number I would like to if the user doesn't put the teacher name or room number when they go to submit it it would say like on a popup Please Enter The Required fields
  9. Were would I put this? In the file that that page is in? And were?
  10. Ok, I designed a ticket system and I want to add a field for How would I add this so there required to put in the name and room number *Teacher Name: [ Box here] *Room Number: [H11] URL: http://test.geekinc.info/index.php?page=ticket_submit
  11. No it works in IE 7 and mozzila firerfox fine , But It doesn't work in IE 6 is there anyway to make it work in all of them ?
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.