Results 1 to 7 of 7

Thread: From Submission Help

  1. #1
    Join Date
    Feb 2010
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default From Submission Help

    I am very new to this & need help i got the form part working but i do not know how to send the informaton or the submissions submitted nor do i know how to code that part can somene help pls.


  2. #2
    Join Date
    May 2007
    Location
    Boston,ma
    Posts
    2,127
    Thanks
    173
    Thanked 207 Times in 205 Posts

    Default

    Post the code you have
    Corrections to my coding/thoughts welcome.

  3. #3
    Join Date
    Feb 2010
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Code:
    <HTML>
       <HEAD>
           <TITLE>Submit Pics</TITLE>
             <meta content="text/html; charset=ISO-8859-1"
     http-equiv="content-type">
      <br>
      <style type="text/css">
    body {
    scrollbar-arrow-color: #F62817;
    scrollbar-base-color: #E41B17;
    SCROLLBAR-HIGHLIGHT-COLOR: #F62817; 
    scrollbar-dark-shadow-color:#F62817;
    scrollbar-track-color: #000000;
    scrollbar-dark-shadow-color: #E41B17;
    }
    </style>
    <br>
        <STYLE type="text/css"><!--
    A:link{color:E2E5E1;cursor:crosshair; text-decoration: none}
    A:visited{color:#4F8E44;cursor:crosshair; text-decoration: none}
    A:active{color:E2E5E1;cursor:crosshair; text-decoration: none}
    A:hover{color:#95C18E;cursor:crosshair}
    --></STYLE>
    
    </STYLE>
    <br>
    <META http-equiv="Page-Enter" CONTENT="RevealTrans(Duration=4,Transition=12)">
    <META http-equiv="Page-Exit" CONTENT="RevealTrans(Duration=5.0,Transition=12)">
    <br>
    <style type="text/css">
    body {direction: rtl;}
    div, div div, div div div, table, table table, tr, tr tr, td, td , textarea, .leftnav, .comments {direction: ltr;}
    </style>
    <br>
    <body style="color: rgb(255, 255, 255); background-color: rgb(255, 255, 255); background-image: url(http://redvelvetssss.webs.com/bgtile.jpg);" alink="#339999" link="#339999" vlink="#336666">
     <br>
    <STYLE>
    body { 
    Border-top: 10px solid #F62817;
    border-bottom: 10px solid #F62817;
    border-right: 10px solid #E41B17;
    border-left: 10px solid #E41B17; }
    body { 
    </STYLE>
    <BR>
    
           </script><script type="text/javascript">
    	       function ces() {
    		       if (document.getElementById('US2257') && document.getElementById('owner') && document.getElementById('consent')) {
    		           if (document.getElementById('US2257').checked && document.getElementById('owner').checked && document.getElementById('consent').checked) {
    			           if (document.getElementById('name') && document.getElementById('email') && document.getElementById('gfpic1')) {
    			               if (document.getElementById('name').value.length==0 || document.getElementById('email').value.length==0 || document.getElementById('gfpic1').value.length==0) {
                                   if (document.getElementById('submitpics')) {
    	                               document.getElementById('submitpics').disabled=true;
                                   }
                                   if (document.getElementById('diablereason')) {
    	                               document.getElementById('diablereason').style.display='';
                                   }
    				           } else {
                                   if (document.getElementById('submitpics')) {
    	                               document.getElementById('submitpics').disabled=false;
                                   }
                                   if (document.getElementById('diablereason')) {
    	                               document.getElementById('diablereason').style.display='none';
                                   }
    				           }
    			           }
                       } else {
                           if (document.getElementById('submitpics')) {
    	                       document.getElementById('submitpics').disabled=true;
                           }
                           if (document.getElementById('diablereason')) {
    	                       document.getElementById('diablereason').style.display='';
                           }
    				   }
    	           } else {
                       if (document.getElementById('submitpics')) {
    	                   document.getElementById('submitpics').disabled=true;
                       }
                       if (document.getElementById('diablereason')) {
    	                   document.getElementById('diablereason').style.display='';
                       }
    			   }
    		   }
           </script>
       </HEAD>
       <body bgcolor="black" text="#FFFFFF" link="aqua" vlink="aqua" alink="aqua" align="center">
       <div style="text-align: center">
       <A HREF="http://92.234.202.220/~redvelve/main.html"><img src="http://redvelvetssss.webs.com/topbanner.jpg" border="0"></A><br>
       </div>
       <H2 style="text-align: center; color: limegreen;">Submit Pictures</H2>
       <table border="0" align="center">
       <tr><td>
       <form action="/sendpics/index.php" method="post" enctype="multipart/form-data">
    	   <font color='limegreen'>Contact Information:</font><br>
           Name: <INPUT TYPE="TEXT" NAME="name" id="name" value="" SIZE="30" onchange="ces();"> <font color='red'>(required)</font><br>
    	   Email: <INPUT TYPE="TEXT" NAME="email" id="email" value="" SIZE="48" onchange="ces();"> <font color='red'>(required)</font><br>
    	   <br>
    	   <font color='limegreen'>Include as many pictures as you have.</font><br>
    	   1st Picture: <input name="gfpic1" id="gfpic1" type="file" onchange="ces();" /> <font color='red'>(required)</font><br />
    	   2nd Picture: <input name="gfpic2" id="gfpic2" type="file" /><br />
    	   3rd Picture: <input name="gfpic3" id="gfpic3" type="file" /><br />
    	   4th Picture: <input name="gfpic4" id="gfpic4" type="file" /><br />
    	   5th Picture: <input name="gfpic5" id="gfpic5" type="file" /><br />
    	   6th Picture: <input name="gfpic6" id="gfpic6" type="file" /><br />
    	   7th Picture: <input name="gfpic7" id="gfpic7" type="file" /><br />
    	   8th Picture: <input name="gfpic8" id="gfpic8" type="file" /><br />
    	   9th Picture: <input name="gfpic9" id="gfpic9" type="file" /><br />
    	   10th Picture: <input name="gfpic10" id="gfpic10" type="file" /><br />
    	   <br>
    	   <font color='limegreen'>Comments:</font><br />
    	   <textarea name="comments" cols="80" rows="10">Here are my pictures.
    	   </textarea><br>
    	   <br>
    	   <font color='limegreen'>Please certify the ownership, consent and that the model is of legal age by checking the applicable boxes.</font><br>
    	   <input type="checkbox" name="US2257" id="US2257" value="Y" OnClick="ces();"> I certify that all models depicted are at least 18 years of age. <font color='red'>(required)</font><br>
    	   <input type="checkbox" name="owner" id="owner" value="Y" OnClick="ces();"> I certify that I am the owner of the pictures or videos. <font color='red'>(required)</font><br>
    	   <input type="checkbox" name="consent" id="consent" value="Y" OnClick="ces();"> I certify that I have consent of all models depicted to submit this content. <font color='red'>(required)</font><br>
    	   <font color='limegreen'>You must certify that your content matches all the above criteria in order to submit</font><br>
    	   <br>
    	   <div style="text-align: center; display: none" id="diablereason">
    	       <font color="red">The submit button is disabled until all required fields are filled in and<br>
    		   you have certified the ownership, consent and age of the models</font><br><br>
    	   </div>
    	   <div style="text-align: center">
    	   <input type="submit" id='submitpics' value="Send Pics" />
    	   </div>
       </form>
       <script type="text/javascript">
    	   ces();
       </script>
       </td></tr>
       </table><br>
       <div style="text-align: center">
       <A HREF="http://92.234.202.220/~redvelve/main.html">Back to main page</A><br>
       </div>
                <td align="center">
                All Images © Copyright 2010 Red Velvet
    <BR>
    
    <br>
    </HTML>

  4. #4
    Join Date
    May 2007
    Location
    Boston,ma
    Posts
    2,127
    Thanks
    173
    Thanked 207 Times in 205 Posts

    Default

    So you need to upload files and get user input data? How do you want to store the user data text file(s), database, email to you, something else?
    Corrections to my coding/thoughts welcome.

  5. #5
    Join Date
    Feb 2010
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    um i wanted to have it emailed to me

  6. #6
    Join Date
    Feb 2010
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    ok i treid this i deleted
    Code:
    <form action="/sendpics/index.php" method="post" enctype="multipart/form-data">
    & added this
    Code:
    <form action="somthing@msn.com" method="post" enctype=name="signup" onsubmit="multipart/form-data">
    but it didnt work completely.

  7. #7
    Join Date
    Feb 2010
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Unhappy no helpp??????

    Ok i guess posting on this forum was a mistake only one person responded & ty for responding but noone wants to be helpful.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •