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

Re: [php_greek] array passing ...

Expand Messages
  • Batis
    ... Ti akrivws pinakas einai? Se formes einai dynato na peraseis arrays me ton eksis tropo... As poume pws theloume ta text[0] ws text[2] na exoun ta keimena
    Message 1 of 6 , Jun 24, 2001
    View Source
    • 0 Attachment
      At 04:06 ìì 23/6/2001, you wrote:

      >kalhspera,
      >
      >pws mporw na perasw enan pinaka apo mia selida se mia allh ?
      >
      >to parakatw (ginetai?) den mou douleye ...
      >
      ><input type=hidden name=stack value=<?echo($stack)?> >
      >
      >any ideas on it ?
      >
      >thanx,
      >
      >-manos

      Ti akrivws pinakas einai?

      Se formes einai dynato na peraseis arrays me ton eksis tropo... As poume
      pws theloume ta text[0] ws text[2] na exoun ta keimena twn 3 inputs:
      <INPUT TYPE="text" NAME="text[]">
      <INPUT TYPE="text" NAME="text[]">
      <INPUT TYPE="text" NAME="text[]">

      De kserw an ayto voithaei sto provlima sou. Dwse parapanw plirofories gia
      to ti akrivws thes na kaneis...

      Pantws o kalyteros tropos na pernas dedomena ap'ti mia selida stin alli
      einai ta sessions, kanoun ti douleia para poly eykoli.


      .................................................................
      .. Dimitris Batis ....................... bat_geor@... ..
      .. http://www.ravencrypt.com ....................................
      .. ICQ: 18204204 .................... Yahoo! ID: deggial_wrath ..
      .................................................................

      "The road to truth is long, and lined the entire way with annoying bastards."
      -- Alexander Jablokov, The place of no shadows
    • Georgiou George
      Er.. sigoura den einai kai o pio orthodo3os tropos , alla prosopika tha ekana save ta periexomena tou array se ena file temporarily. iparxei to function
      Message 2 of 6 , Jun 24, 2001
      View Source
      • 0 Attachment
        Er..

        sigoura den einai kai o pio orthodo3os tropos , alla prosopika tha ekana
        save ta periexomena tou array se ena file temporarily.

        iparxei to function $array = file("filename.txt"); to opio metaferei tin
        kathe grammi tou txt file se kathe cell tou array.

        to vriskw pretty good auto.

        George

        At 14:41 24/06/2001 +0300, you wrote:
        >At 04:06 ìì 23/6/2001, you wrote:
        >
        > >kalhspera,
        > >
        > >pws mporw na perasw enan pinaka apo mia selida se mia allh ?
        > >
        > >to parakatw (ginetai?) den mou douleye ...
        > >
        > ><input type=hidden name=stack value=<?echo($stack)?> >
        > >
        > >any ideas on it ?
        > >
        > >thanx,
        > >
        > >-manos
        >
        >Ti akrivws pinakas einai?
        >
        >Se formes einai dynato na peraseis arrays me ton eksis tropo... As poume
        >pws theloume ta text[0] ws text[2] na exoun ta keimena twn 3 inputs:
        ><INPUT TYPE="text" NAME="text[]">
        ><INPUT TYPE="text" NAME="text[]">
        ><INPUT TYPE="text" NAME="text[]">
        >
        >De kserw an ayto voithaei sto provlima sou. Dwse parapanw plirofories gia
        >to ti akrivws thes na kaneis...
        >
        >Pantws o kalyteros tropos na pernas dedomena ap'ti mia selida stin alli
        >einai ta sessions, kanoun ti douleia para poly eykoli.
        >
        >
        >.................................................................
        >.. Dimitris Batis ....................... bat_geor@... ..
        >.. http://www.ravencrypt.com ....................................
        >.. ICQ: 18204204 .................... Yahoo! ID: deggial_wrath ..
        >.................................................................
        >
        >"The road to truth is long, and lined the entire way with annoying bastards."
        >-- Alexander Jablokov, The place of no shadows
        >
        >
        >-
        >Ãéá íá äéáãñáöåßôå áðü ôç ëßóôá, óôåßëôå Ýíá email óôï:
        >To unsubscribe from this group, send an email to:
        >
        >php_greek-unsubscribe@yahoogroups.com
        >
        >
        >
        >Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
      • Batis
        ... Ayto ousiastika kanei aytomata i xrisi twn sessions. ................................................................. .. Dimitris Batis
        Message 3 of 6 , Jun 25, 2001
        View Source
        • 0 Attachment
          At 10:34 ìì 24/6/2001, you wrote:
          >Er..
          >
          >sigoura den einai kai o pio orthodo3os tropos , alla prosopika tha ekana
          >save ta periexomena tou array se ena file temporarily.
          >
          >iparxei to function $array = file("filename.txt"); to opio metaferei tin
          >kathe grammi tou txt file se kathe cell tou array.
          >
          >to vriskw pretty good auto.
          >
          >George

          Ayto ousiastika kanei aytomata i xrisi twn sessions.


          .................................................................
          .. Dimitris Batis ....................... bat_geor@... ..
          .. http://www.ravencrypt.com ....................................
          .. ICQ: 18204204 .................... Yahoo! ID: deggial_wrath ..
          .................................................................

          "The road to truth is long, and lined the entire way with annoying bastards."
          -- Alexander Jablokov, The place of no shadows
        • Panayotis Vryonis
          ... O kaluteros tropos (an den 8eleis ssessions) einai na xrhsimopoihseis to serialize. P.x. echo
          Message 4 of 6 , Jun 27, 2001
          View Source
          • 0 Attachment
            Batis wrote:

            > At 10:34 μμ 24/6/2001, you wrote:
            >
            >>Er..
            >>
            >>sigoura den einai kai o pio orthodo3os tropos , alla prosopika tha ekana
            >>save ta periexomena tou array se ena file temporarily.


            O kaluteros tropos (an den 8eleis ssessions) einai na xrhsimopoihseis
            to serialize. P.x.

            echo "<input type=hidden name=panos value=\"" .
            urlencode(serialize($myarray)) . "\">" ;

            Sthn epomenh selida 8a exeis:

            $myarray = unserialize(urldecode($panos)) ;

            An malista 8eleis na eisai "sigouros" oti o xrhsths den kanei peiramata
            kai bazei me kapoio tropo dikes tou times, mporeis na exeis:

            Page1.php:
            $secret="exw ena mustiko (Vougiouklakh)" ;
            $ser = serialize($myarray) ;
            $check = md5($ser . $secret) ;
            echo "<input type=hidden name=mydata value=\"" . urlencode($ser) . "\">" ;

            echo "<input type=hidden name=check value=\"" . urlencode($check) . "\">" ;


            Page2.php:

            $secret="exw ena mustiko (Vougiouklakh)" ;
            if ( md5($ser . $mydata))!=$check ) {
            ERROR!!!
            } else {
            $myarray = unserialize($mydata) ;
            }

            Ennoeitai oti to $secret den fanerwnetai *pote* ston xrhsth!

            Panayotis.

            --
            yassou.net: be there before you go!
            http://www.yassou.net/
          • Panayotis Vryonis
            Oooops! Typografiko! Sorry! To exw dior8wsei, einai h grammh pou ksekinanei me ==== ... -- yassou.net: be there before you go! http://www.yassou.net/
            Message 5 of 6 , Jun 27, 2001
            View Source
            • 0 Attachment
              Oooops! Typografiko! Sorry!
              To exw dior8wsei, einai h grammh pou ksekinanei me ====>

              Panayotis Vryonis wrote:

              > O kaluteros tropos (an den 8eleis ssessions) einai na xrhsimopoihseis
              > to serialize. P.x.
              >
              > echo "<input type=hidden name=panos value=\"" .
              > urlencode(serialize($myarray)) . "\">" ;
              >
              > Sthn epomenh selida 8a exeis:
              >
              > $myarray = unserialize(urldecode($panos)) ;
              >
              > An malista 8eleis na eisai "sigouros" oti o xrhsths den kanei peiramata
              > kai bazei me kapoio tropo dikes tou times, mporeis na exeis:
              >
              > Page1.php:
              > $secret="exw ena mustiko (Vougiouklakh)" ;
              > $ser = serialize($myarray) ;
              > $check = md5($ser . $secret) ;
              > echo "<input type=hidden name=mydata value=\"" . urlencode($ser) . "\">" ;
              >
              > echo "<input type=hidden name=check value=\"" . urlencode($check) . "\">" ;
              >
              >
              > Page2.php:
              >
              > $secret="exw ena mustiko (Vougiouklakh)" ;
              ====> if ( md5($mydata . $secret))!=$check ) {
              > ERROR!!!
              > } else {
              > $myarray = unserialize($mydata) ;
              > }
              >
              > Ennoeitai oti to $secret den fanerwnetai *pote* ston xrhsth!
              >
              > Panayotis.
              >
              >



              --
              yassou.net: be there before you go!
              http://www.yassou.net/
            Your message has been successfully submitted and would be delivered to recipients shortly.