Jump to content
php.lv forumi

777

Reģistrētie lietotāji
  • Posts

    253
  • Joined

  • Last visited

Everything 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. mmm, a tad tu doma ka caur POST formu nevar XSS uztaisit ? :))))
  4. tad tu mums atradies tads baigais koderis ... doma es nezinu kam es otro reizi parbaudu vienu un to pashu ? tas ir pret XSS gudrinieks ...
  5. shis dara to pashu vnk salidzini vel paroles ...
  6. 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: /"); }
  7. nu visur ir savas fishkas ... mosh kaut kur arzemes iehoste savu majas lapu
  8. man skiet tas ir action script :) isti neesmu parliecinats , jo ar flash neesmu nekad stradajis
  9. Papildus augstāk minētajam, jūs iegūsiet pieredzi strādāt angļu firmā, atrodoties mūsu ofisā Vecrīgā. laikam te pat :)
  10. 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 ....
  11. man vairak shkiet, ka tur db uzbuve ir nepareiza
  12. DOM + JavaScript http://mootools.net/ , daudz ka interesanta var atrast tur un paskaties shito, http://www.huddletogether.com/projects/lightbox/
  13. Grey_Wolf, bet tomer, vinam bus vairak skaidribas php koda ... nevis draugs uzrakstija ifus un viss
  14. 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 ...
  15. Grey, nu ka kuram :) es savu kodu varu lasit mierigi :) viss ok case 'video': include("video.php"); break; millers, kaut vai http://lv.php.net manuali ... bet zinu ir daudz labu anglju un krievu gramatas PHP+MYSQL
  16. IM24LV, nu ko padarisi, ja grib ... es jau ieteicu vinai, cita temata, vienkarshi palasit gramatas, tad daudz kas bus saprotams ...
  17. millers, tu labak panem gramatu, un drusku palasi par if, else, switch ... ja tu palasisi gramatu, tev pasham bus mazak jautajumu, un tev bus ari skaidraks kods ...
  18. :D failus case`os vajag includot ...
  19. 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.
  20. bubu :) ja vinam draugs sarakstija ifus ;) doma vinsh saprata , ko tu tagad vinam rekomendeji ?
  21. kodu paradi, mes te neesam kaut kadi zilnieki .. kas var uzreiz pateikt kas un kur
  22. es tev paradiju kur var but kljuda, jebkursh ifinsh atdalas ar { } if() { } elseif() { }
×
×
  • Create New...