Jump to content
xisto Community

Amezis

Members
  • Content Count

    536
  • Joined

  • Last visited

Posts posted by Amezis


  1. Just got a new computer, with these specs:............................................HARDWARE............................................Intel Pentium 4 - 2.80 GHz512 MB RAM160 GB HarddiskI'm not sure about the graphic card, but I think it is and Intel 82915G/GV/910GL Express Chipset - 128 MB17" screen with 1280x1024DELL speakersSoundMAX Digital Audio sound card.............................................OS.............................................Windows XP Home Service Pack 2


  2. I'm making a simple login script, but it doesn't seem to work like I want. The error messages work, but if I actually write the right username and password, it won't work.

     

    Here's the message I get:

    Warning: Cannot modify header information - headers already sent by (output started at /home/ngnorge/public_html/fsm/index.php:7) in /home/ngnorge/public_html/fsm/logginn/login.php on line 9

    Here's the script:

     

    login.php

    <?php include('config.php');if($action == "submit"){	if(($userinput == "")||($passinput == "")){	echo "$noinfo";	} else {  if(($userinput == $username)&&($passinput == $password)){  header( "Location: $location" );  } else { //this is line 9, where the problem occurs... Is there really a problem here?  echo "$badinfo";  }	}}include('form.php');?>

    config.php
    <?php$username = "my-username";$password = "a-secret-password";$location = "http://fsm.neongames.trap17.com/meny.php";$badinfo = "Wrong username/password, please try again";$noinfo = "You did not enter info in all fields, please fill out all fields.";?>

    form.php
    <form name="form1" method="post" action=""><input name="userinput" type="text" id="userinput" size="16" onfocus="this.value=''" value="Username"><br><input name="passinput" type="password" id="passinput" size="16" onfocus="this.value=''" value="password"><br><input type="submit" name="Submit" value="Logg inn"><input name="action" type="hidden" id="action" value="submit"></form>


  3. Duh, of course I know about that. But if I have a table width like that, there will be a horizontal scrollbar on smaller screens. I want that smaller screens have a smaller table (around 300px). And larger screens have 350px. Is that possible?


  4. Well, I have a table that I don't want to be over 350 pixels in width - even on the largest screens. On small screens, the table will be smaller. But on large screens, I don't want the table to larger than 350 pixels... Is there a way to do that?


  5. On the bottom of my site, I get weird error messages, but only in Opera (Not firefox or IE). The messages appears below the last include tag on my site, so they appear on the bottom of the page.

    I get two different messages:

    ETag: "9e80b2- HTTP/1Date: Fri, 02 Sep 2005 11:48:28 GMT Server: Apache/2.0.52 (Unix) Connection: Keep-Alive Keep-Alive: timeout=1, max=98 ETag: "4b94ff-40c5-98ed0bc0" HTTP/1.1 200 OK Date: Fri, 02 Sep 2005 11:48:28 GMT Server: Apache/2.0.52 (Unix) Last-Modified: Fri, 02 Sep 2005 11:48:26 GMT ETag: "4b9516-1be2-8a1f9680" Accept-Ranges: bytes Content-Length: 7138 Keep-Alive: timeout=1, max=97 Connection: Keep-Alive Content-Type: image/gif GIF89ad

    ETag: "4b94fc-

    Do someone know why this is happening?

  6. I can't believe it! ;) I am sooooooooooo stupid!

     

    #newshover a:link, #newshover a:visited, a:active { text-decoration: none; display: block; width:100% }

    I forgot to set #newshover before "a:visited"...

    Any mod just close this thread.


  7. Wow I found the problem... This is weird:

    #newshover { font-size: 9pt; font-weight: bold; width: 100% }#newshover a:link, #newshover a:visited, a:active { text-decoration: none; display: block; width:100% }#newshover a:hover { text-decoration: none; color: #FFFFFF; background:#34579B }
    When I removed this from the CSS file, everything worked normally. But I really want to get it back to the CSS file, since I need it...

  8. I have a big CSS problem to one of my sites (not the one hosted at Xisto):
    http://www.dhost.info/globalrs/
    Well, all links that doesn't have any specific class or ID, are totally weird when I click them. I don't know why. But I removed the CSS file, and then it worked, so it IS my CSS file.

    If you could check out the links that are normal (no special hover effect), which can be found in most of the news, click on it, and you'll see the problem. If you know why the problem occurs, please tell me. By the way, the CSS file can be found here if you want to check:
    http://dhost.info/content/view/104/


  9. I didn't know where to post it, so I just posted it here.

     

    Well, what I want is a program to rotate an image I have. However, when I do it in Photoshop, the some of the lines are getting really pixelated and the quality of the image and details are gone. So, I wonder if there are any programs that can rotate the image 45 degrees without losing the picture quality.

     

    Also, I've made a picture showing what I mean.

     

    Before rotating 45 degrees:

    Posted Image

     

    After rotating:

    Posted Image

     

    As you may see, the lines on the second image are completely messed up.

    But is there a program, or just a good way to rotate an image without losing the quality?


  10. I don't think there have been "aliens" on earth, but life on other planets is possible (My opinion). I think most of these UFO's that we see are either illusions or something that you think is an alien... Normally, people who sees ufos, believe in aliens that are coming to earth, or just really want to see some.Some people are saying "I only believe what I see"... But you can see lots of things that aren't real. (I'm not talking about screens). People often thinks they see something, but in fact, they see something very different.


  11. Well, okay, but does encrypted JavaScript work on all browsers where JavaScript is enabled?

    Also, well, I'm really new to Javascript. External JavaScript, is that a code like this?

    <script type="text/javascript" src="http://forums.xisto.com/no_longer_exists/;
    If that's the case, then I suppose I could just link the form to it:
    <form name="formname" action="http://forums.xisto.com/no_longer_exists/;

×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | 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.