Jump to content

d22552000

Members
  • Posts

    535
  • Joined

  • Last visited

    Never

Posts posted by d22552000

  1. BUT not if you use <button or <input type="button".

     

    both of those are invalid for most buttons.

     

    If you want to do buttons that accept return you can always add a tab code to it.

     

    <input type="submit" value="submit" name="submit" acesskey="13">

     

    You dont need acesskey, I just use it for acessability with program that people may use to show websites.

  2. This is PHP related becasue all the css is generated differently every time the page is loaded.

     

    (only the indented part is the code, the rest is just so it iwll do highlighting)

     

    <html>

    <body>

    <table>

    <tr height="30%">

    <td class=".tcat">

    <p align="center">

    <font face="verdana" size="4">

    <input classs=".option" type="text" name="" value="" size="32">

    </font>

    </p>

    </td>

    </tr>

    </table>

    </body>

    </html>

     

     

    Can you please tell me whats wrong with this? Why is it not attaching to my CSS?

     

    <style type="text/css" id="feedback_css"> <!--
    .tcat
    {
    background: #222222 url(forum/images/dark_vb_v2/gradients/gradient_tcat.gif) repeat-x top left;
    color: #ffffff;
    font: bold 9pt verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif;
    }
    .tcat a:link, .tcat_alink
    {
    color: #76E4FB;
    text-decoration: none;
    }
    .tcat a:visited, .tcat_avisited
    {
    color: #76E4FB;
    text-decoration: none;
    }
    .tcat a:hover, .tcat a:active, .tcat_ahover
    {
    color: #8DA7B4;
    text-decoration: underline;
    }
    .option
    {
    background: #25292C;
    color: #DBDBDB;
    font: 10px verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif;
    white-space: nowrap;
    cursor: pointer;
    }
    .option a:link, .option_alink
    {
    color: #DBDBDB;
    text-decoration: none;
    }
    .option a:visited, .option_avisited
    {
    color: #DBDBDB;
    text-decoration: none;
    }
    .option a:hover, .option a:active, .option_ahover
    {
    color: #DBDBDB;
    text-decoration: none;
    }
    --> </style>
    

  3. lol

     

    now whats relaly funny is when you make one computer connect to a lot of proxies all at once and see what that does  :D

     

    then have all the proxies connect ton ONE thing all at once.  Even if on google its hilarious. 

     

    I got htis:

     

    "You're clicking too fast!  Please wati 1 second between requests to the server!"

  4. Thank you AZU for explaingin that you wanted me to use a comma.  I did not understand your post and frankly, im tired -,-.  I have been working on this for a while.

     

     

    except for the page size being about 2.1MB it worked out thanks solved.

     

    I can stand the size since this is being used on a T1 connection by teachers in a district or by lan.

  5. while($row = mysql_fetch_array($res, MYSQL_ASSOC)) {

    // get total items in the $row array

    $items = count($row) - 1;

     

    // now that we not how many items are in the $row array,

    // we can use a for loop to loop through the array

    for($i = 1; $i <= $items; $i++)

    {

        echo $row['STDID' . $i] . '<br />';

    }

    }

     

    works now, IM AN IDIOT. fuck -,-.

     

    now im not gonna say solved yet cuase i bet thers gonna be another problem in like a second -,-.  ill rely with the new problem lol.

  6. Array
    (
        [CLSID] => 101
        [sTDID1] => 1
        [sTDID2] => 2
        [sTDID3] => 3
        [sTDID4] => 4
        [sTDID5] => 5
        [sTDID6] => 6
        [sTDID7] => 7
        [sTDID8] => 8
        [sTDID9] => 9
        [sTDID10] => 10
        [sTDID11] => 11
        [sTDID12] => 12
        [sTDID13] => 13
        [sTDID14] => 14
        [sTDID15] => 15
        [sTDID16] => 16
        [sTDID17] => 17
        [sTDID18] => 18
        [sTDID19] => 19
        [sTDID20] => 20
        [sTDID21] => 21
        [sTDID22] => 22
        [sTDID23] => 23
        [sTDID24] => 24
        [sTDID25] => 25
        [sTDID26] => 26
        [sTDID27] => 27
        [sTDID28] => 28
        [sTDID29] => 29
        [sTDID30] => 30
        [sTDID31] => 31
        [sTDID32] => 32
        [sTDID33] => 33
        [sTDID34] => 34
        [sTDID35] => 35
    )
    

     

    as I said, lots of STDID.

     

    oh im an idiot. thtas why yoru code didnt wkr cause I told yiou STDNTID but this table uses STDID -,- all my other tables use STDNTID.  omfg im a frekin moron.  m trying your code with STDID and seein if it works..

  7. $id = $_POST['teaid'];
    $pw = $_POST['teapw'];
    $agent = $_SERVER['HTTP_USER_AGENT']; 
    $uri = $_SERVER['REQUEST_URI']; 
    $user = $_SERVER['PHP_AUTH_USER']; 
    $ipa = $_SERVER['REMOTE_ADDR']; 
    $ref = $_SERVER['HTTP_REFERER']; 
       if($ref == ""){ $ref = "None"; } 
       if($user == ""){ $user = "None"; } 
    $ip = "IP: $ipa | Agent: $agent  | URL: $uri | Referrer: $ref | Username: $user n";
    
    if (isset($id) && (strlen($id)!=0)) {
     if (isset($pw) && (strlen($pw)!=0)) {
       mysql_connect('localhost','root','') or die(mysql_error());
       mysql_select_db("Rolla High School") or die(mysql_error());
       $sql = "SELECT * FROM `teaid` WHERE `TEAID` = '".$id."' AND `TEAPW` = '".$pw."'";
       $res = mysql_query($sql) or die(mysql_error());
       $num = mysql_num_rows($res);
       if ($num =! 0 && $num == 1) {
         session_start();
         $_SESSION['$id'] = $pw;
         header("location: index.php?id=".$id."&pw=".$pw."&s=2");
       } else {
    
         $SQL = "INSERT INTO `acess` (`ID` ,`IP` ,`time` ,`date` ) VALUES (1 ,'".$ip."',CURTIME( ) ,CURDATE( ) );";
    
         $res = mysql_query($sql) or die(mysql_error());
         echo "Invalid Login Provided.<br /><br />";
       }
       mysql_close() or die(mysql_error());
     }
    }
    

     

    Uh.. when I enter a fake uer and pass it gives me login was not valid, and I get no errors. but I lok in the database and there are no new rows.

     

    Field  Type     Collation            Null      Extra 
    ID     int(7)                        No        auto_increment               
    IP     text     latin1_swedish_ci    No                 
    time   time                          No                 
    date   date                          No                 
    

  8. but it doestnn wokr

     

    example:

     

    // get total items in the $row array

    $items = count($row) - 1;

     

    // now that we not how many items are in the $row array,

    // we can use a for loop to loop through the array

    for($i = 1; $i <= $items; $i++)

    {

        echo $row['stdntid' . $i] . '<br />';

    }

     

    just ouptuts 59 <br /> without the values.  I WANT THE VALUES/

×
×
  • 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.