Jump to content
php.lv forumi

777

Reģistrētie lietotāji
  • Posts

    253
  • Joined

  • Last visited

Posts posted by 777

  1. Grey_Wolf , es te paradiju tikai htmlspecialchars :) bet man ir funkcija secure kura ir gan htmlspecialchars, gan trim , gan stripslashes, gan real_escape_string viss ir ok, un es nesaku ka mans kods ir perfekts un visiem pie taa japieturas ...

     

    $username = $_POST['user_name'];

    $username = secure($username);

    $password = $_POST['user_pass'];

    $password = secure($password);

  2. davaj tu labak liksi manu kodu miera ? ja gribi palidzet puisim tad palidzi ... es rakstu jau pailgi, un tici man, man viss ir ok ar kodu ... un ko es parbaudu divas reizes un kam , ta jau ir mana darishana, zini ir tads izteiciens ... 7 reizes nomeri , vienu reizi nogriez .... ta ari es parbaudu lai butu droshs un pec tam jau talak viss aiziet ....

  3. vispirms

    $username = $_POST['user'];

    $username = htmlspecialchars($username);

     

    $result = ("SELECT `username` FROM `members` WHERE username='".$username."'")

    list($user_name, $user_id) = mysql_num_rows(mysql_query($result));

     

    if($user_name != $username)

    {

    print "Nepareizs username, pamegini velreiz";

    } else {

    setcookie(...);

    Header("Location: /");

    }

  4. bubu, nav ta ka tu doma, ar fx elementiem var daudz ko interesantu uztaisit ... vinsh jau pats nezin ko vinjam vajag, es piemeram taisiju fotkas ar lightbox ...

     

    tapec iedevu visu kas vinam varetu palidzet atrast , to ko vinsh grib , vai domaja ....

  5. kr4 millers skaties

     

    <html lang='lv'>
    <meta http-equiv='content-type' content='text/html; charset=utf-8'>
    <link rel="icon" href="img/favicon.ico" type="image/x-icon">
    <title>Uo.Ability HomePage</title>
    <head>
    <body background="img/bg.jpg">
    <link rel="stylesheet" type="text/css" href="styles.css" >
    </head>
    <br>
    <br>
    <img align="center" src="img/head/header-home.gif" width="850" height="100"> 
    <?php include("inc/Serv-status.php"); ?>
    <br>
    <a class="hilight" title="Home"		  href="http://ability-uo.sytes.net/uo/index.php">Home</a>     
    <a class="hilight" title="Login"		 href="http://ability-uo.sytes.net/uo/?tag=login">Login</a>     
    <a class="hilight" title="Registracija"  href="http://ability-uo.sytes.net/uo/?tag=Reg">Registracija</a>     
    <a class="hilight" title="done"		  href="http://ability-uo.sytes.net/uo/?tag=bug">Bug fix</a>     
    <a class="hilight" title="Sms"		   href="http://ability-uo.sytes.net/uo/?tag=sms">Sutit Sms</a>     
    <a class="hilight" title="About"		 href="http://ability-uo.sytes.net/uo/?tag=about">Par Mums</a>     
    <a class="hilight" title="Contact"	   href="http://ability-uo.sytes.net/uo/?tag=contact">Kontakteties</a>     
    <a class="hilight" title="lejupielade"   href="http://ability-uo.sytes.net/uo/?tag=download">Lejupielade</a>     
    <a class="hilight" title="video"		 href="http://ability-uo.sytes.net/uo/?tag=video">Video</a>     
    <a class="hilight" title="muzika"		href="http://ability-uo.sytes.net/uo/?tag=muzika">Muzika</a>
    <?php include("inc/get.php"); ?>
    </html>

     

    viss kas iet pirms include("inc/get.php"); paradisies visas lapas, ja tu augsha vel kaut ko pieraksti <p>Sveicinati</p> , tad tas sveicinati paradisies visur ... tas it kaa headers tev ...

  6. dazhreiz pietiek vnk pameklet caur google

    ceru angliski saprotat

     

    MySQL table "is marked as crashed and should be repaired"

    Solution > INVALID SQL: 145 : Table '{something}' is marked as crashed and should be repaired

     

    If you receive an error message on your web site that says that a table "is marked as crashed and should be repaired," or anything mentioning an issue with ".MYI", ".MYD", or ".FRM' file(s)... usually this can be remedied by running a repair on your MySQL database from inside your cPanel.

     

    1) Login to your cPanel

    2) Go to the MySQL section, and click the "REPAIR" icon next to your database's name

     

    If this doesn't fix it, you can try going back and running the repair once more. If you still have trouble, please submit a support ticket to our help desk with the exact error message you are receiving, the URL on your web site where we can see the error message, and any other details that may assist us in resolving your issue and we would be more than happy to help you get everything back up and running normally.

×
×
  • Create New...