Jump to content

At0mic

Member
  • Posts

    282
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    United Kingdom

About At0mic

  • Birthday 03/26/1978

Contact Methods

  • Website URL
    http://

At0mic's Achievements

0

Reputation

  1. I've been trying to Activate Terminal Services Licensing over the internet but I'm not receiving the confirmation email from Microsoft with the required registration key. Anyone know if Microsoft has stopped allowing people to activate over the Internet? I know that Windows 2000 is in its Extended Support Period but I managed to activate last year without any problems.
  2. I've got two static public IP addresses I assigned the first static IP to a Netgear DG834G and disabled NAT and DHCP. I assigned the second static IP to a Netgear FVS318v3. I couldn't get the FVS318v3 to access the internet but then I realised that the LAN side of the DG834G still had a local IP address even though NAT was disabled. I don't have a third static IP address so I also set this to the first static IP. Now the DG834G has the internet IP and the LAN IP both configured using the first public IP which I would guess is an IP conflict but it works. Now the Netgear FVS318v3 can access the internet. However, although the first static IP can be accessed from the internet, the second static IP cant (FVS318v3). How can I get the FVS318v3 to access the internet? Do I need to buy a different modem to replace the Netgear DG834G which doesn't have this LAN address when I disable NAT? Please help
  3. Surely its still a binary backup and prone to the same kind of data corruption?
  4. The company database gets backed up each day using NTBACKUP. A consultant checked out my system and said the following NTBACKUP is based on backupexec which is one of the leading backup solutions so surely it can be trusted?
  5. I've used the "Run only allowed Windows applications" feature in Windows 2000 Server's Group Policy When somebody logs onto Windows XP for the first time, the classic theme is activated and the quick launch doesn't work. What files are run at first logon to create the XP theme and the quick launch toolbar? I need to add them to the "Run only allowed Windows applications" list. I'm able to select manually select the XP theme so it isn't so much of a problem. However, if I try to enable quick launch, I get a message saying "cannot create toolbar". I added IE4UINIT.EXE to the list of allowed applications and now I’m able to select quick launch but it doesn’t appear. All the profiles that were created before the change to group policy are ok. It’s only new profiles. I know there’s lots of articles about fixing the Quick Launch toolbar but I don’t want to keep having to fix it every time somebody logs onto a computer for the first time.
  6. I need to re-install Windows XP on 80 computers and I'm getting really annoyed with having to spend 10 minutes on the Windows Activation hotline each time while they ask such questions as: Did you buy your computer with windows pre-installed? How many computers are you using with that product key? Have you changed more than two pieces of hardware? Have you changed the motherboard? Its even more anoying when I have to speak to somebody and I have to try and convince them that I'm not doing anything illegal. Its driving me insane I cant take much more of this. Every computer is legal and has its own COA sticker. The last company I worked for had a VLK so I didn't have to go through all this. I know it would be illegal to use the VLK and CD from my previous job, but if we got investigated by somebody from Microsoft, would they be bothered about it?
  7. I didn't realize that option existed in Group Policy thanks very much
  8. The main server is running Debian Linux and all the workstations are running Windows XP Pro. The guy who set it up used POLEDIT.EXE (from win98) to create an Allowed Software List to restrict which executables can run on each computer. This he said, prevents any viruses from running. I'm not sure if thats true or not? We're thinking about ditching Linux and moving to Windows 2000 Server or Server 2003. What's the best way to have an allowed software list on a Windows Server? I've looked at group policy but I can find any options in there. Maybe there's a way we could continue using POLEDIT.EXE? I know its been designed for Windows 98 but this guy somehow managed to get it to work with XP over a network with some function in Linux.
  9. Oh yeah I meant to have posted editnews.php at the time but must have forgot. With errors turned on, I get: Notice: Undefined index: submit in H:\xampplite\htdocs\pages\news\editNews.php on line 49 when I try and edit the page and press submit, I get: Notice: Undefined index: cmd in H:\xampplite\htdocs\pages\news\editNews.php on line 22 <? include ('../../inc/config.php'); if($_GET["cmd"]=="edit" || $_POST["cmd"]=="edit") { if (!isset($_POST["submit"])) { $id = $_GET["id"]; $sql = "SELECT * FROM news WHERE id=$id"; $result = mysql_query($sql); $myrow = mysql_fetch_array($result); ?> <form action="editNews.php" method="post"> <input type=hidden name="id" value="<?php echo $myrow["id"] ?>"> Name:<INPUT TYPE="TEXT" NAME="name" VALUE="<?php echo $myrow["name"] ?>" SIZE=30><br> Start_date:<INPUT TYPE="TEXT" NAME="start_date" VALUE="<?php echo $myrow["start_date"] ?>" SIZE=30><br> Headline:<INPUT TYPE="TEXT" NAME="headline" VALUE="<?php echo $myrow["headline"] ?>" SIZE=30><br> Article:<TEXTAREA NAME="article" ROWS=10 COLS=30><? echo $myrow["article"] ?></TEXTAREA><br> <input type="hidden" name="cmd" value="edit"> <input type="submit" name="submit" value="submit"> </form> <? }?> <? if ($_POST["submit"]) { $id = $_POST["id"]; $name = $_POST["name"]; $start_date = $_POST["start_date"]; $headline = $_POST["headline"]; $article = $_POST["article"]; $sql = "UPDATE news SET name = '".$_POST['name']."', start_date = '".$start_date."', headline = '".$headline."', article = '".$article."' WHERE id = '$id' "; $result = mysql_query($sql) or die('Could not edit row '.mysql_error()); } } ?>
  10. Hi can anyone help me? If I turn on error reporting, I get: Notice: Undefined index: submit in H:\xampplite\htdocs\pages\news\editNews.php on line 48 When I make my changes and click submit, I get: Notice: Undefined index: cmd in H:\xampplite\htdocs\pages\news\editNews.php on line 21 Notice: Undefined index: id in H:\xampplite\htdocs\pages\news\editNews.php on line 62
  11. I've just tested my website using Firefox and I get the following error message when I try to log in: Warning: Unknown: Your script possibly relies on a session side-effect which existed until PHP 4.2.3. Please be advised that the session extension does not consider global variables as a source of data, unless register_globals is enabled. You can disable this functionality and this warning by setting session.bug_compat_42 or session.bug_compat_warn to off, respectively. in Unknown on line 0 If I press "back" and refresh the page, I'm logged in. Everything works properly in IE6. Please please please can anyone help? Here's my login code: <? session_start("sesh"); $log_u = trim($_POST['username']); $log_p = trim($_POST['password']); if( !empty($log_u) && !empty($log_p) ) { $login_u = trim($log_u); $login_p = trim(md5($log_p)); include ('inc/config.php'); $q = "SELECT * FROM staff WHERE username = '$login_u' AND password = '$login_p'"; $r = mysql_query($q); if (mysql_num_rows($r) == 1) { while ( $row = mysql_fetch_array($r) ) { $first_name = $row['first_name']; $last_name = $row['last_name']; $username = $row['username']; $staff_id = $row['id']; $permission_id = $row['permission_id']; $permission_to_book_rooms = $row['permission_to_book_rooms']; $room_booking_admin = $row['room_booking_admin']; $is_manager = $row['is_manager']; $password = $row['password']; $email = $row['email']; $full_name = $first_name ." " .$last_name; session_start("stusesh"); session_register('first_name'); session_register('last_name'); session_register('username'); session_register('full_name'); session_register('staff_id'); session_register('email'); session_register('permission_id'); session_register('permission_to_book_rooms'); session_register('room_booking_admin'); session_register('password'); session_register('is_manager'); if ( $page_logged_in_from == "login.php" ) { header("location: /index.php"); exit; } else { header("location: $page_logged_in_from"); exit; } } } else { $page_title = "error"; include ('header.php'); echo "<p>You have entered an incorrect first name or password</p>"; echo $_SESSION['first_name'] ."<br/>"; echo $_SESSION['last_name'] ."<br/>"; echo $_SESSION['password'] ."<br/>"; include ('footer.php'); exit; } } else { if ( !empty($_SESSION['username']) && !empty($_SESSION['password']) ) { if ( $page_logged_in_from == "login.php" ) { header("location: /index.php"); exit; } else { // header("location: $page_logged_in_from"); exit; } } else { $page_title = "error"; include ('header.php'); echo "<p>You must fill in your <b>first name</b> and your <b>password</b>!</p>"; include ('footer.php'); exit; } } ?>
  12. Sorry mad_raven you posted while I was replying to MtK so I've only just read your reply. I tried your code and it works Thank you so much. Quick question, why did it work before in my old version of XAMPP? Is it due to modifications with the PHP scripting language?
  13. No it says "Updated Information Ok". However, when I go back to the main page, the entry I edited has empty fields.
  14. I've got website running happily using XAMPP 1.4.15 However, I desperately want to upgrade to the latest XAMP 1.6.1 The problem I'm having after the upgrade is with a php page that lets me edit users. I can add users ok but if I try to edit them, all the cells in that row end up empty. There's no error message which makes it difficult to diagnose. At first, I thought the reason was due to the new XAMPP having MySQL 5.0.37. I upgraded XAMPP 1.4.15 to MySQL 5.0.37 and it still worked perfectly. There's something in XAMP 1.6.1 which isn't compatible with my php code. I even tried XAMP 1.6.1 with PHP 4.4.6 but I still had the same problem. Please help I've attached the PHP code + MySQL database in case anyone would be so kind as to take a look at it. files2.zip
×
×
  • Create New...