HTML - Form Processing Scripts
Hi, I'm marcxx
I would like to know how to process a form so that submitted forms are sent to my email. Somebody said that I should ask the system administrator for the web server hosting my site, but the domain name sellers don't seem to know. I want to just paste code into my HTML so that it works. Previously considered methods have been: <form method="post" action="mailto:youremailatemail.com"> is not recommended as "the user requires an email package to be installed and configured". Using "form-mailer" CGI programs: You have to supply information including your website's FTP id and password. I don't know know to get these. Any ideas how I can get round this? Similar TutorialsHi, I have put together a website with an html form and I have had some problems with it. The link is: http://stephaniescatering.net/pricecalculator.html I believe the html on the form is correct, but I dont know any form processing software to use or have knowledge of PHP. I dont know what to put for the action=" " tag I would like the form processor to send the results to my email. Can anyone please help me, or are there any free form processing programs that can help me? Thanks Hi there, My boss has just asked me to come up with some ideas for building a minisite in Korean..... We will be using a translation service for the the Korean however the next part is coding it! Does anyone know ehere I could find a utf 8 converter and also know of an easy to use perl script that will process forms? Regards Greg I have this form below: Code: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Form</title> </head> <body> <h1>Test Form:</h1> <form action="name.php" method="get" name="form1"> <input type="hidden" name="table" value="elements" /> <input type="hidden" name="column" value="name" /> <label>Name:</label><input type="text" name="data" /> <input type="hidden" name="status" value="new" /> <input type="hidden" name="rowid" id="rowid" value="456" /> </form> <form action="symbol.php" method="get" name="form2"> <input type="hidden" name="table" value="elements" /> <input type="hidden" name="column" value="symbol" /> <label>Symbol:</label><input type="text" name="data" /> <input type="hidden" name="status" value="new" /> <input type="hidden" name="rowid" id="rowid" value="456" /> </form> <form action="atomic_number.php" method="get" name="form3"> <input type="hidden" name="table" value="elements" /> <input type="hidden" name="column" value="atomic_number" /> <label>Atomic Number:</label><input type="text" name="data" /> <input type="hidden" name="status" value="new" /> <input type="hidden" name="rowid" id="rowid" value="456" /> </form> <input type="button" value="Form submit" onclick="form1.submit(); form2.submit(); form3.submit()" /> </body> </html> What I am trying to do is send each input through each of the scripts using the get method. For some reason, only the last one is submitted. What is wrong with my code? I've been working on editing a template for someone, and got it how they like it (almost). The only problem is I get an error a few times 'Error Processing This Directive'. I wonder if it has to do wiith tables, as there are plenty of those (I need more experience working with tables). It doesn't show up offline, but does when I put it online on the server. I did a search, but all I got was more pages with the same error rather than a solution. Does anyone know how to fix this? The page on the server is http://www.learn-korean-now.com/bath/index4.html Thanks. I am looking to start accepting credit cards from my site ASAP! But, I want to find the perfect place to handle my online payments first. Here are my guidelines: -I hate paypal! I have used them in the past and had nothing but problems, and I will never use them again. -I do not have a business license or account set up yet. I haven't really made any $ off my site yet, and I need to before I get the license and open a business account. -I need this set up quickly. I have already missed $250 of sales today because I do not have a way to accept credit cards, and I will lose at least $120 tomorrow too. -I will need to withdraw the funds every ~2 weeks. I know some services won't let you withdraw as often. -A place that will accept e-checks is great too. -I am comfortable with (X)HTML, but my php skills aren't the best, so the easier it is to set up, the better. I was using radio buttons, but am open to anything. So does anyone know of a quick, easy service that I can set up to start accepting credit cards quickly, using at most html and php, without a business? Any help or guidance is greatly appreciated! Please feel free to give me any advice. i need some best free classifieds,social networking and greeting cards and if you have some special scripts please tell me with no ads and no links and please tell me its easy to install php scripts bcoz i don't know any thing about php ehat is the method installing php just i have to upload on my site or i have to do some other stuff i m aslo trying on free site with php and my sql supported plz rply thnx in advance I am planning to build up an online shop but I can't decide on how to proceed. What ty pes of free scripts are available for usage? Hi I am trying to build a basic HTML page with an embedded video script. I want the video (Like YouTube) on the left of the page and then directly too the right a description of the video. The problem is my description will not go to the right of the video it just goes underneath the video which is no good. Here is the code I have used: <p id="player1"><a href="http://www.macromedia.com/go/getflashplayer">Get the Flash Player</a> to see this player.</p> <script type="text/javascript"> var s1 = new SWFObject("flvplayer.swf","single","320","240","7"); s1.addParam("allowfullscreen","true"); s1.addVariable("file","myvideofile.flv"); s1.addVariable("image",""); s1.addVariable("width","320"); s1.addVariable("height","240"); s1.write("player1"); </script> <font size="5" color="#000000"><b>Track Listing</b></font><BR> If anyone knows what I am doing wrong it would be a great help. Hey, Struck with a problem, how to excute scripts conditionally i have two scripts in one html, but wanna excute only one based on condition or button click <object width="425" height="344"><param name="movie" value="http://www.youtube.com/v/2t3ZysHg3Cc&hl=en&fs=1"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/2t3ZysHg3Cc&hl=en&fs=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="344"></embed></object> <object width="425" height="344"><param name="movie" value="http://www.youtube.com/v/bT_8Dvk5GIQ&hl=en&fs=1"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/bT_8Dvk5GIQ&hl=en&fs=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="344"></embed></object> Tips please Firstly I am new to web development so forgive me for using any incorrect terminology... I am working on dreamweaver cs5 translating an affiliate site. The directory that contains all my website folders and subfolders has many identical pages, in html and in php script. For example I have the same page in the aboutus folder named as index.htm and.......the same page exists in a folder called templates with a different name as 4v4567opjfh.php. Now...yesterday i did synchronization in dreamweaver (ticked the delete remote files not on local drive) and suddenly my website was completely ****ed-up…. I then deleted all the ftp content and re-uploaded using a back up copy BUT the browser now only reads the 4v4567opjfh.php file and not the index.htm….. Any suggestions on what I should do in order to make my browser read the index.htm and not the php script? Many thanks! Anton Hello All, I have 2 java scripts from dynamicdrive.com which I want to load on same page, If I load 2 scripts in same page bot will not work I get loading however If I use only 1 scripts it works great. Am I missing something? Please help me Thank you I know how it is to work hard on images and lose them in one shot to scammers. One time I worked hard on a banner and made a thread asking for members to rate it. A guy came along, stole it, edited it and went to another pop forum and told everybody it was his So I worked on some image protection scripts. Enjoy. Disable PrtSc Req Sys Print screen is a button on your keyboard that can take a picture of the screen and send it to your clipboard. My script will manipulate other's Print screen key until they leave the page. Besides, how many people actually use that button? Put this in your <head> tags. HTML Code: <SCRIPT LANGUAGE="JavaScript"><!-- function do_err(){return true}onerror=do_err;function no_cp(){clipboardData.clearData();setTimeout("no_cp()",100)}no_cp();//--></SCRIPT> Disable Page Printing Some people want to steal information by printing. Want to prevent this? Disable printing! Put this in your <head> tags. HTML Code: <script language=JavaScript> <!-- function atlpdp1(){for(wi=0;wi<document.all.length;wi++){if(document.all[wi].style.visibility!='hidden'){document.all[wi].style.visibility='hidden';document.all[wi].id='atlpdpst'}}}function atlpdp2(){for (wi=0;wi<document.all.length;wi++){if(document.all[wi].id=='atlpdpst')document.all[wi].style.visibility=''}}window.onbeforeprint=atlpdp1;window.onafterprint=atlpdp2; //--> </script> Disable Image/Text Drag This neat script will prevent anybody from dragging text or images. This also goes between the <head> tags. HTML Code: <SCRIPT LANGUAGE=javaScript><!-- document.onselectstart=new Function("return false");document.ondragstart=new Function("return false"); //--></script> =+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+ If you use my scripts and appreciate them, please donate to: janard@hotmail.com (PayPal) Thanks, Gold Are there any sites you can run your site or pages through and it will let you know if there are any html errors? Like <p> but forget the </p>, etc? Hello all mates! I am working with my forum trying to properly edit the html for the posts so that they will display any custom script/html of my choice. I want this to appear in ONLY the first post in every thread. I am also trying to find out how to make a bot that automatically posts another second post in every thread, with my own custom scripts/html. At the moment I am trying to add some adsense ads this way. What I am looking for is two things: 1 - How to get the adsense ad aligned to either right or left of the text within the first post. 2 - How to get an adsense bot autopost an ad as post number 2 in any thread (including being applied to all threads already existing) I am using IPB3. I previously used Adsense Bot for IPB2, and that worked fine, but it is not supported for IPB3. It uses the Universal Mod Installer, and in IPB3 there is a new "hook" feature to ass custom mods etc, but I do not know how to alter the code for the Adsense Bot to work with IPB3 so I am trying to get it done from scratch by adding codes directly into the templates. If anyone know how to configure / modify the old Adsense Bot to work with IPB3 that would be great of course, so I am attaching it here just in case someone wants to take a look at it and its documentation and scripts. But primarily I am looking for the two mentioned features, one is how to get the script running in ONLY the first post of every thread - at the moment I got it running, but it is global and implements into all posts not only the first. I also have figured out how to make a script appear, such as an ad, between posts, but not after ONLY the first post, nor how to make a bot that posts a post just like any member, which is what I am really looking for when it comes to that part. This is the code I have entered into the topicViewTemplate in Topic View: Code: {parse template="aip" group="topic" params="$post"} <div style="display:block;float:right;margin: 0px 10px 0px 0px;"> <script type="text/javascript"><!-- google_ad_client = "pub-3737464431076938"; /* forum posts large recnt */ google_ad_slot = "6548059149"; google_ad_width = 336; google_ad_height = 280; //--> </script> <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> </script> </div> This works perfectly for adding my desired custom script embedded within the posts. The problem is that it gets embedded in ALL posts and not only the first as I would want. Here is a link to my forum for an example on how it looks: http://www.conspiraciesforums.com/fo...ic/3-atlantis/ I know I have to edit/add some code regarding post counts etc to configure it to only affect the first post - my question is how to do that? And as seen, the second post shows the ad as well, here I would want a bot to post a post containing another ad - between the first and third post of every thread (which will be standard members posts). I have messed my brain with this for more than a week now trying different things, looking around at forums, googling, trying scripts and so on, mods etc, but as of yet have not found the solution to these things for IPB3. Any help here would be extremely greatly appreciated and I'll buy you a beer if you're ever around my part of the world! :p Thanks and bless you! -M script completed, thx Hi all, I have a simple newsletter form, so just the email field and a submit, what I would like to do is to send this data to a larger subscriber form, so one that has name, email (with the data previously entered already added), list to subscribe to etc. Can this be done? Thanks I have a form with a number of elements. One of these elements is: <input type="image" src="https://www.paypal.com/en_US/i/btn/x-click-butcc-subscribe.gif" border="0" name="submit" alt="Make payments with PayPal - it's fast, free and secure!"> Clicking on that element makes the form submit. But if I add a similar element: <input type="image" src="https://www.paypal.com/en_US/i/btn/x-click-butcc-subscribe.gif" border="0" name="submit2" alt="Make payments with PayPal - it's fast, free and secure!"> ...clicking on that also makes the form submit. So was wondering if anyone knew what the rules were for which elements make a form submit? Cheers, James HTML Code: <form method="post" action="mailto:xxxxxxxx@xx.com "> <table class="text3"> <tr><td valign="top" width="140">Voornaam:</td><td><input name="requiredvoornaam" type="text" id="requiredvoornaam" class="veld" size="30" /></td></tr> <tr><td valign="top" width="140">Achternaam:</td><td><input name="requiredachternaam" type="text" id="requiredachternaam" class="veld" size="30" /></td></tr> <tr><td valign="top">E-mail:</td><td><input name="requiredemail" type="text" id="requiredemail" class="veld" size="30" /></td></tr> <tr><td valign="top">Telefoonnummer:</td><td><input name="requiredtelefoonnummer" type="text" id="requiredtelefoonnummer" class="veld" size="30" /></td></tr> <tr><td valign="top">Adres:</td><td><input name="requiredadres" type="text" id="requiredadres" class="veld" size="30" /></td></tr> <tr><td valign="top">Woonplaats:</td><td><input name="requiredwoonplaats" type="text" id="requiredwoonplaats" class="veld" size="30" /></td></tr> <tr><td valign="top">Aankomstdatum:</td><td><select name="adag" id="adag"> <option value="Dag">Dag</option> <option value="1">1</option> <option value="2">2</option> <option value="3">3</option> <option value="4">4</option> <option value="5">5</option> <option value="6">6</option> <option value="7">7</option> <option value="8">8</option> <option value="9">9</option> <option value="10">10</option> <option value="11">11</option> <option value="12">12</option> <option value="13">13</option> <option value="14">14</option> <option value="15">15</option> <option value="16">16</option> <option value="17">17</option> <option value="18">18</option> <option value="19">19</option> <option value="20">20</option> <option value="21">21</option> <option value="22">22</option> <option value="23">23</option> <option value="24">24</option> <option value="25">25</option> <option value="26">26</option> <option value="27">27</option> <option value="28">28</option> <option value="29">29</option> <option value="30">30</option> <option value="31">31</option> </select> <select name="amaand" id="amaand"> <option value="Maand">Maand</option> <option value="Januari">Januari</option> <option value="Februari">Februari</option> <option value="Maart">Maart</option> <option value="April">April</option> <option value="Mei">Mei</option> <option value="Juni">Juni</option> <option value="Juli">Juli</option> <option value="Augustus">Augustus</option> <option value="September">September</option> <option value="Oktober">Oktober</option> <option value="November">November</option> <option value="December">December</option> </select> <select name="ajaar" id="ajaar"> <option value="Jaar">Jaar</option> <option value="2008">2008</option> <option value="2009">2009</option> <option value="2010">2010</option> </select> </td></tr> <tr><td valign="top">Vertrekdatum:</td><td><select name="vdag" id="vdag"> <option value="Dag">Dag</option> <option value="1">1</option> <option value="2">2</option> <option value="3">3</option> <option value="4">4</option> <option value="5">5</option> <option value="6">6</option> <option value="7">7</option> <option value="8">8</option> <option value="9">9</option> <option value="10">10</option> <option value="11">11</option> <option value="12">12</option> <option value="13">13</option> <option value="14">14</option> <option value="15">15</option> <option value="16">16</option> <option value="17">17</option> <option value="18">18</option> <option value="19">19</option> <option value="20">20</option> <option value="21">21</option> <option value="22">22</option> <option value="23">23</option> <option value="24">24</option> <option value="25">25</option> <option value="26">26</option> <option value="27">27</option> <option value="28">28</option> <option value="29">29</option> <option value="30">30</option> <option value="31">31</option> </select> <select name="vmaand" id="vmaand"> <option value="Maand">Maand</option> <option value="Januari">Januari</option> <option value="Februari">Februari</option> <option value="Maart">Maart</option> <option value="April">April</option> <option value="Mei">Mei</option> <option value="Juni">Juni</option> <option value="Juli">Juli</option> <option value="Augustus">Augustus</option> <option value="September">September</option> <option value="Oktober">Oktober</option> <option value="November">November</option> <option value="December">December</option> </select> <select name="vjaar" id="vjaar"> <option value="Jaar">Jaar</option> <option value="2008">2008</option> <option value="2009">2009</option> <option value="2010">2010</option> </select> </td></tr> <tr><td valign="top">Welke huisje:</td><td><select name="huisje" id="huisje"> <option value="1">.____Huisje Zomerbries_____.</option> <option value="2">.____Huisje Wervelwind_____.</option> <option value="3">.____Huisje Tornado________.</option> </select> <tr><td valign="top">Aantal personen:</td><td><select name="aantal personen" id="aantal personen"> <option value="1">1</option> <option value="2">2</option> <option value="3">3</option> <option value="4">4</option> <option value="5">5</option> <option value="6">6</option> <option value="7">7</option> <option value="8">8</option> </select> <tr><td valign="top">Overige vragen:</td><td><textarea name="bericht" rows="6" cols="23" id="bericht" class="area"></textarea></td></tr> <tr><td valign="top"></td><td><input type="submit" name="sendFormButton" value="Verzenden" id="sendFormButton" /></td> </tr> </table> </form> </td></tr></table> This is what i get once tested... its out of order... Help me plz...... Im not good with those thingz.. I have a simple signup form on my site that I want to pass the input to the larger signup form. Here is the code for the simple form: <form action="http://bigdogcattle.com/?a=Cattle_Mailing-List_SignUp" method="post" accept-charset="UTF-8"> The larger signup form is located he http://bigdogcattle.com/?a=Cattle_Mailing-List_SignUp I want the email address from the simple form to move to the larger form when the submit button is pressed. Ideas? Hi guy, I tried to do some googling before i come to here. the problem is that i don't know what are the name or keyword for this, therefore i cannot find any relevant result. Let's say, i have many same html with different file name file filled with tables that i dont' want users to open and use it. Can i create another separate forms using html to fill in the blanks on the table cell maybe after i click submit button? Or it's easier to use VB to write a program and do the job? Please help. |