newbie trying to make code - please help

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • painintheass
    So Fucking Banned
    • Apr 2004
    • 838

    #1

    newbie trying to make code - please help

    code question:

    I'm trying to set up a form that will allow people to upload photos to me and I recieve them in email attachement.

    But it does not work. I'm very new at this so I searched the web and found this.

    here is the code can can anyone tell me what I am doing wrong?


    <td bgcolor="#122333">
    <div align="center"><font color="#FF0000"><b>Votre photo(s) <font color="#cccccc">(pas plus de 90kb!):</font></b></font></div>
    </td> <tr>
    <td valign="top">
    <div align="center">
    </div>
    </td>
    <td>
    <div align="center">
    <input type="file" name="image1" class="a" id=1 onchange="a(2)">
    </div>
    <div align="center">
    <input type="file" name="image2" class="a" id=2 onchange="a(3)">
    </div>
    <div align="center">
    <input type="file" name="image3" class="a" id=3 onchange="a(4)">
    </div>
    <div align="center">
    <input type="file" name="image4" class="a" id=4 onchange="a(5)">
    <div align="center">
    <input type="file" name="image5" class="a" id=4 onchange="a(6)">
    </div>
    <div align="center">
    <input type="submit" name="submit" value=" Envoyer ">
    <input type="hidden" name="usernum" value="2518510078" /><input type="hidden" name="cpv" value="2" />
    <input type="reset" name="reset" value=" Effacer"></div></div>
    </form>
  • pstation
    Confirmed User
    • Jul 2003
    • 1135

    #2
    are you setting the correct headers?

    Comment

    • teksonline
      So Fucking Banned
      • Jan 2005
      • 2904

      #3
      that is not code, it is HTML, I do not see a <form tag which
      specifies what you are doing, using a webot (fp extensions) to submit the pic
      or calling a POST or GET from a web script?

      Comment

      • StuartD
        Sofa King Band
        • Jul 2002
        • 29903

        #4
        Here's a thought... stop pretending to be a webmaster and give someone $10 to do it. It's simply html. 5 minute job.
        This is me on facebook
        This is me on twitter

        Comment

        • painintheass
          So Fucking Banned
          • Apr 2004
          • 838

          #5
          Originally posted by NichePay - StuartD
          Here's a thought... stop pretending to be a webmaster and give someone $10 to do it. It's simply html. 5 minute job.
          Excuse someone for trying to fucking learn.

          Comment

          • StuartD
            Sofa King Band
            • Jul 2002
            • 29903

            #6
            Originally posted by painintheass
            Excuse someone for trying to fucking learn.
            There are html tutorial sites for that... gfy is not one of them.
            It's admirable to try to learn... but asking for hand outs isn't the way to do it.
            This is me on facebook
            This is me on twitter

            Comment

            • Thrawn$
              Confirmed User
              • Apr 2002
              • 4596

              #7
              i can do it for a blowjob
              Tracking 202 | Start Tracking PPC Campaigns Like A Pro

              Comment

              • myneid
                Confirmed User
                • Jan 2003
                • 738

                #8
                make sure you have a <form> tag and also you will need to set the enctype in the form tag. you'll have to search for what the value is
                Tanguy 0x7a69 inc. Programmer/President/CEO
                http://www.0x7a69.com
                A Leader in Programming since 1996
                PHP, Ruby on Rails, MySQL, PCI DSS, and any Technical Consulting

                Comment

                • V_RocKs
                  Damn Right I Kiss Ass!
                  • Nov 2003
                  • 32467

                  #9
                  Originally posted by painintheass
                  Excuse someone for trying to fucking learn.
                  www.w3schools.com

                  Comment

                  • who
                    So Fucking Banned
                    • Aug 2003
                    • 19593

                    #10
                    n00bs are so cute :P

                    Comment

                    Working...