Loading ...
Sorry, an error occurred while loading the content.

Re: [php_greek] Βοήθεια σχετικά με ένα project

Expand Messages
  • Glezos Dimitrios
    Thoma, Auto pou thes mallon xwrizetai se 2 stadia, tin eggrafi kai tin anagnwrisi metepeita. Gia tin eggrafi, tha dimiourgiseis ena pinaka me tous xristes (A)
    Message 1 of 5 , Sep 1, 2001
    • 0 Attachment
      Thoma,

      Auto pou thes mallon xwrizetai se 2 stadia, tin eggrafi kai tin anagnwrisi
      metepeita. Gia tin eggrafi, tha dimiourgiseis ena pinaka me tous xristes
      (A) kai ena prosorino (B). O B tha periexei ta dedomena pou xrisimopoiise
      o xristis kata tin eggrafi kathws kai ena tyxaio kodiko pou tha tou stalei
      me email. Otan epistrepsei sto site kai valei to username kai ton tyxaio
      kodiko tou, tote tha tou zita ena monimo password, kai ta dedomena tha
      eggrafontai episima ston A kai tha diagrafontai apo ton B.

      Twra gia to deftero stadio. Ston pinaka A mporeis profanws na doseis
      prosvasi ston xristi MONO stin grammi pou periexei ta dedomena tou. O
      pinakas C einai autos pou thes na exei prosvasi o xristis. Tha prepei na
      vreis ena tropo na antistixiseis tin grammi tou A (ton xristi diladi) me
      tis grammes tou C (ta dedomena) pou thes na exei prosvasi o xristis. Gia
      na ginei afto tha ftiakseis loipon ena pinaka D pou tha periexei dyo
      stiles: To ID tou xristi kai ta ID twn grammwn tou C pou tha exei prosvasi
      o xristis.

      px. O xristis me id 1, exei prosvasi (mesw tou D) stis grammes 1+2 tou
      pinaka C.

      Tbl A: id=1 username=blah

      Tbl C: id=1 data=kafes
      id=2 data=tsai

      Tbl D: id=1 id_A=1, id_C=1
      id=2 id_A=1, id_C=2



      Kati pou mporei na se voithisei einai to MySQL web interface
      (http://popeye.snu.ac.kr/~smkim/mysql). Koitazontas ton kodika mporeis na
      katalaveis polla.

      Dimitris


      PS: www.hotscripts.com, www.phpbuilder.com, www.php.net/manual/en,
      www.mysql.com


      -
      Dept Computer Engineering and Informatics
      University of Patras, Greece (ceid.upatras.gr)
      ICQ: 9295964, PGP: 0xA72CC7DA

      "He who gives up functionality for ease of use
      loses both and deserves neither." (Anonymous)
      -
    • Str Mobile
      den nomizo oti xreiazetai tosi fasaria gia antigrafi dedomenon apo ton A ston B. An katalaba kala o filos 8omas den psaxnei gia kapoia efarmogi diaxeirisis
      Message 2 of 5 , Sep 1, 2001
      • 0 Attachment
        den nomizo oti xreiazetai tosi fasaria gia antigrafi
        dedomenon apo ton A ston B.

        An katalaba kala o filos 8omas den psaxnei gia kapoia
        efarmogi diaxeirisis mysql, an kano la8os min
        sinexisete.

        Ego 8eoro A ton pinaka pou mpainoun oi xristes kai B
        ton pinaka pou mpainoun ta ar8ra tou xristi (an bebaia
        einai ar8ra)

        Ston A loipon grafetai o xristis kai to sistima tou
        stelnei ena kodiko me email. Episis to sistima bazei
        ena flag px R (register). An o xristis kanei login to
        sistima diabazei to flag kai ton ipoxeonei na allaksei
        passwd. Molis ginei auto to flag ginetai kati allo px
        M (member) kai pleon o xristis tin epomeni fora pou 8a
        mpei den tou leei to sistima oti prepei na allaksei
        kodiko.

        Gia ton pinaka B tora. Ekei stin ekastote grammitou
        ar8rou 8a prepei na mpainei kai kapoio id tou xristi
        pou na antistixei se ena monadiaio ID ston pinaka A
        kai na perigrafei ton xristi. Etsi ama kanei login to
        sistima kserei poios einai kai tou epitrepei na
        peiraksei ta stoixeia ston pinaka B pou tou anikoun.

        Oso gia to poia pedia 8a mporei na peirazei o xristis
        (A i B pinakas) auto ka8orizetai apo tin efarmogi
        (php na ipo8eso!).

        Gia ena pragma 8a simfonousa gia kapoio prosorino
        pinaka einai gia na apofeuontai grigores kai axristes
        eggrafes (px login qw, pass qw, klp)

        oso gia to MySQL web interface
        (http://popeye.snu.ac.kr/~smkim/mysql)
        ena pragma paratirisa kai to 8eoro mega sfalma. To na
        kano login kai to login kai to passwd na einai sto
        url!!! einai apo ta poio kouta sistimata asfaleias pou
        mporo na skefto. To na eimai se ena intranet, entaksei
        paei kai erxetai, alla an o server einai kapou stin
        ameriki kai ego ellada, poios kserei se posous routers
        exei katagrafei sta logs to url. Auto to leo genika
        gia olous. Exo dei log (imi-router) kai trabaga ta
        malia mou gia to poso afeleis einai merikoi!

        Auta.
        Stratos

        --- Glezos Dimitrios <glezos@...> wrote:
        >
        >
        > Thoma,
        >
        > Auto pou thes mallon xwrizetai se 2 stadia, tin
        > eggrafi kai tin anagnwrisi
        > metepeita. Gia tin eggrafi, tha dimiourgiseis ena
        > pinaka me tous xristes
        > (A) kai ena prosorino (B). O B tha periexei ta
        > dedomena pou xrisimopoiise
        > o xristis kata tin eggrafi kathws kai ena tyxaio
        > kodiko pou tha tou stalei
        > me email. Otan epistrepsei sto site kai valei to
        > username kai ton tyxaio
        > kodiko tou, tote tha tou zita ena monimo password,
        > kai ta dedomena tha
        > eggrafontai episima ston A kai tha diagrafontai apo
        > ton B.
        >
        > Twra gia to deftero stadio. Ston pinaka A mporeis
        > profanws na doseis
        > prosvasi ston xristi MONO stin grammi pou periexei
        > ta dedomena tou. O
        > pinakas C einai autos pou thes na exei prosvasi o
        > xristis. Tha prepei na
        > vreis ena tropo na antistixiseis tin grammi tou A
        > (ton xristi diladi) me
        > tis grammes tou C (ta dedomena) pou thes na exei
        > prosvasi o xristis. Gia
        > na ginei afto tha ftiakseis loipon ena pinaka D pou
        > tha periexei dyo
        > stiles: To ID tou xristi kai ta ID twn grammwn tou C
        > pou tha exei prosvasi
        > o xristis.
        >
        > px. O xristis me id 1, exei prosvasi (mesw tou D)
        > stis grammes 1+2 tou
        > pinaka C.
        >
        > Tbl A: id=1 username=blah
        >
        > Tbl C: id=1 data=kafes
        > id=2 data=tsai
        >
        > Tbl D: id=1 id_A=1, id_C=1
        > id=2 id_A=1, id_C=2
        >
        >
        >
        > Kati pou mporei na se voithisei einai to MySQL web
        > interface
        > (http://popeye.snu.ac.kr/~smkim/mysql). Koitazontas
        > ton kodika mporeis na
        > katalaveis polla.
        >
        > Dimitris
        >
        >
        > PS: www.hotscripts.com, www.phpbuilder.com,
        > www.php.net/manual/en,
        > www.mysql.com
        >
        >
        > -
        > Dept Computer Engineering and Informatics
        > University of Patras, Greece (ceid.upatras.gr)
        > ICQ: 9295964, PGP: 0xA72CC7DA
        >
        > "He who gives up functionality for ease of use
        > loses both and deserves neither." (Anonymous)
        > -
        >
        >


        __________________________________________________
        Do You Yahoo!?
        Get email alerts & NEW webcam video instant messaging with Yahoo! Messenger
        http://im.yahoo.com
      • Glezos Dimitrios
        Strato, Exeis dikaio kai to eixa skeftei kai egw auto me to permission se mia column. Ek peiras omws protimw na dimiourgw temporary tables para flags se ena
        Message 3 of 5 , Sep 2, 2001
        • 0 Attachment
          Strato,

          Exeis dikaio kai to eixa skeftei kai egw auto me to permission se mia
          column.

          Ek peiras omws protimw na dimiourgw temporary tables para flags se ena
          pinaka kai na ta elegxeis me if statements kathe fora pou thes na pareis
          ena dedomeno. O kwdikas ginetai pio euanagnwstos kai eueliktos, kai pio
          grigoros na graftei xwris tosa if (eidika ama thes naprosthafaireis
          dedomena panw tou).

          Toulaxiston auto exw katalavei egw me ton kairo.

          Thwma asta euxaristw kai kane douleia :)

          Dimitris




          -
          Dept Computer Engineering and Informatics
          University of Patras, Greece (ceid.upatras.gr)
          ICQ: 9295964, PGP: 0xA72CC7DA

          "He who gives up functionality for ease of use
          loses both and deserves neither." (Anonymous)
          -
        Your message has been successfully submitted and would be delivered to recipients shortly.