Jump to content
php.lv forumi

Vecteevs

Reģistrētie lietotāji
  • Posts

    227
  • Joined

  • Last visited

Everything posted by Vecteevs

  1. Autors ar humora izjūtu. Tavu db var dabūt par velti uztaisot ciklu un ieliekot visu saturu savā db.
  2. Un protams tev jābūt izveidotam failam, uz kuru norādi ceļu.
  3. Vecteevs

    css

    Apskaties kaut vai šī foruma pirmkodu (ctrl+u) tur redzēsi kā viss notiekās
  4. Pārdodu domēna vārdu latviesiem.lv Par cenu vienosimies privāti. Sīkāks info: [email protected]
  5. Vecteevs

    Wink

    ieliekot datubāzē ierakstus un pēc tam vajadzīgos pēc lietotāja id atlasot un sakārtot?
  6. E-pastu draugiem.lv nevar dabūt. dokumentācijā ir rakstītas lietas, kuras var dabūt.
  7. BAigi forši. Uzliec vēl rekordu tabulu :D. Vari mēģināt attīstīt pievienojot līmeņus un ātrumus
  8. /* * OK; before you read the following code know what I am trying to do. * I needed to get the list of child catagories from the root node so that * the root node didn't appear in the selection box. But for some stupid * fucking reason the stupid fucking DBA wont let me access the items using * indices and I instead have to use their stupid fucking Iterator * implementation. So there. */ $firstList = $this->getRootNode()->getChildren(); foreach ($firstList as $node) { $nodes = $node->getChildren(); break; // wtf? } // if i ever see this again i'm going to start bringing guns to work //hack for ie browser (assuming that ie is a browser) /** * For the brave souls who get this far: You are the chosen ones, * the valiant knights of programming who toil away, without rest, * fixing our most awful code. To you, true saviors, kings of men, * I say this: never gonna give you up, never gonna let you down, * never gonna run around and desert you. Never gonna make you cry, * never gonna say goodbye. Never gonna tell a lie and hurt you. */ // // Dear maintainer: // // Once you are done trying to 'optimize' this routine, // and have realized what a terrible mistake that was, // please increment the following counter as a warning // to the next guy: // // total_hours_wasted_here = 16 // // TODO: Fix this. Fix what? // no comments for you // it was hard to write // so it should be hard to read // I will give you two of my seventy-two virgins if you can fix this. options.BatchSize = 300; //Madness? THIS IS SPARTA! // I am not responsible of this code. // They made me write it, against my will. //Dear future me. Please forgive me. //I can't even begin to express how sorry I am. double penetration; // ouch # To understand recursion, see the bottom of this file. And the bottom of page # To understand recursion, see the top of this file. //I am not sure why this works but it fixes the problem. //somedev1 - 6/7/02 Adding temporary tracking of Logic screen //somedev2 - 5/22/07 Temporary my ass /* * You may think you know what the following code does. * But you dont. Trust me * Fiddle with me, and youll spend many a sleppless * night cursing the moment you thought you be clever * enough to "optimize" the code below. * Now close this file and go play with something else. // drunk, fix later // Magic. Do not touch. // I dedicate all this code, all my work, to my wife, Darlene, who will // have to support me and our three children and the dog once it gets // released into the public Exception up = new Exception("Something is really wrong."); throw up; //ha ha //When I wrote this, only God and I understood that I was doing //Now, God only knows http://cobaia.net/2010/09/top-funny-source-code-comments/
  9. Nu kā, kad lietotājs piesakās jaunumiem, ievadi viņa e-pastu datubāzē. Un kad grib atteikties aizūti uz viņa e-pastu apstiprinājuma vēstuli un izdzēs no db
  10. Nūūū saglabāt pie cepumiem. Vai arī samest DB un ja saskaitās 3 vai vairāk apmeklējumi no IP adreses tad redirects uz tavu lapu
  11. Ideja ir šāda http://www.tizag.com/mysqlTutorial/mysqljoins.php
  12. Tas noteikti neitekemē apmeklētāju skaitu. Man lapa iet.
  13. Čau, varbū kāds zin vai appserv iet uz windows 8? Cik lejupielādēju neviena versija neiet. Varbūt varat ieteikt ko citu, kas varētu strādāt?
  14. http://www.tizag.com/mysqlTutorial/mysqlsum.php
  15. Viņi jau piedāvā gatavus risinājumus ne? Vismaz suncore ir. No turienes var pasmelt idejas
  16. Ja kādam vajag varu izīrēt domēna vārdu latviesiem.lv Varbūt noderēs :)
  17. Tiek pārdots latviesiem.lv domēns. interesantiem pa skaipu (estevigribu) par cenu vienosimies.
  18. Vispār jau var resetot paroli faili - appserv - reset mysql root pass
  19. Jā, ja piemēram tev būs valūta kā USD, tad kad lietotājs pirms, viņam parādīs maiņas kursu un atvilks no bankas tik un tik latus un tev ieskaitīs to naudu dolāros.
  20. man tur ir teikums, to vārdu es kā piemēru..
×
×
  • Create New...