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

Re: [php_greek] POST se remote file?

Expand Messages
  • bright_eyes@hotpop.com
    On Sat, 31 Aug 2002 18:04:21 -0200 (GMT+2) Stoilis Giannis wrote: SG SG Duo tropoi uparxoun gia na steileis dedomena se mia selida,
    Message 1 of 3 , Aug 31, 2002
    • 0 Attachment
      On Sat, 31 Aug 2002 18:04:21 -0200 (GMT+2) Stoilis Giannis <stoilis@...> wrote:

      SG>
      SG>Duo tropoi uparxoun gia na steileis dedomena se mia selida, POST kai GET.
      SG>Yparxei tropos na steilw mesa apo programma PHP data se mia selida me POST, kai
      SG>oxi me GET? 8a to ekana me GET, alla ta dedomena einai uperbolika polla...
      SG>apo oti eida, h fopen den anaferei kati sxetiko.
      SG>Mhpws na melethsw pws douleuei akriwbws to HTTP POST, kai na anoiksw xuma
      SG>connection ston server, opou kai 8a kanw oti 8elw na kanw?
      SG>eimai sigouros oti den zhtaw tipota paralogo kai oti 8a uparxei kapoios etoimos
      SG>tropos... uparxei kati sthn php pou to kanei kai den to exw brei? mhpws kapoio
      SG>class apo kapou allou? exei dokimasei kaneis tipota paromoio?
      SG>
      SG>O logos pou to 8elw, einai gia na kanw submit se mia sugkekrimenh forma ston
      SG>server mou. Exw ton kwdika thn formas (einai apo to phpBB forum), alla
      SG>paraeinai ogkwdhs kai periplokos gia na ton antigrapsw se suntomo xroniko
      SG>diasthma.

      Den katalaba akribws ti 8es na kaneis.

      egw pantws 8a prospa8ousa na kanw kati tetoio:

      echo "<form method=\"GET\" name=\"form\" method=get action=\"confirm.php\">"
      echo "blah .. blah"
      echo "</form>"


      SG>- Giannis Stoilis

      --
      Kourtis A. Kornilios
      "The worst is yet to come"
    • Stoilis Giannis
      Duo tropoi uparxoun gia na steileis dedomena se mia selida, POST kai GET. Yparxei tropos na steilw mesa apo programma PHP data se mia selida me POST, kai oxi
      Message 2 of 3 , Aug 31, 2002
      • 0 Attachment
        Duo tropoi uparxoun gia na steileis dedomena se mia selida, POST kai GET.
        Yparxei tropos na steilw mesa apo programma PHP data se mia selida me POST, kai
        oxi me GET? 8a to ekana me GET, alla ta dedomena einai uperbolika polla...
        apo oti eida, h fopen den anaferei kati sxetiko.
        Mhpws na melethsw pws douleuei akriwbws to HTTP POST, kai na anoiksw xuma
        connection ston server, opou kai 8a kanw oti 8elw na kanw?
        eimai sigouros oti den zhtaw tipota paralogo kai oti 8a uparxei kapoios etoimos
        tropos... uparxei kati sthn php pou to kanei kai den to exw brei? mhpws kapoio
        class apo kapou allou? exei dokimasei kaneis tipota paromoio?

        O logos pou to 8elw, einai gia na kanw submit se mia sugkekrimenh forma ston
        server mou. Exw ton kwdika thn formas (einai apo to phpBB forum), alla
        paraeinai ogkwdhs kai periplokos gia na ton antigrapsw se suntomo xroniko
        diasthma.

        - Giannis Stoilis
      • Stoilis Giannis
        ... pragmati... as poume oti uparxei mia selida edw: http://www.server.com/form.php h sugkekrimenh selida epeksergazetai to input pou pairnei apo ton xrhsth
        Message 3 of 3 , Sep 1, 2002
        • 0 Attachment
          Στις Σαβ 31 Αυγ 2002 19:25, ο/η bright_eyes@... έγραψε:
          > Den katalaba akribws ti 8es na kaneis.

          pragmati...

          as poume oti uparxei mia selida edw: http://www.server.com/form.php
          h sugkekrimenh selida epeksergazetai to input pou pairnei apo ton xrhsth kai
          to perna se mia bash. epeidh to input einai polu megalo, opws file upload,
          large text submit, to method pou xrhsimopoiei einai POST, kai ta stelnei ston
          eauto ths. H selida DEN einai se diko mou server, einai kapou sto internet.

          Twra, egw 8elw ena scriptaki php na kanei submit data se auth th forma. Pws
          les se ena php script na paei kai na sumblhrwsei mia forma me ena keimeno 500
          leksewn kai na kanei upload 15 arxeia?
          as h8ela na perasw apla merikes meablhtes sto remote arxeio, apla 8a kalousa
          to script etsi: http://www.server.com/form.php?a=1&b=2 klp klp kai 8a
          teleiwne ekei to 8ema. ti ginetai omws an to a pou 8elw na perasw egw sto
          script, einai 1 mb? mesw GET den ginetai fusika, ara 8eloume POST. Auto pou
          rwthsa egw einai: PWS kanoume POST se remote selida, mesw ths PHP?
        Your message has been successfully submitted and would be delivered to recipients shortly.