question about forms

This is my first time using a form on a Web site.

I added a form on my site and I'm trying to understand how the whole process works. I searched for the answer, but I'm still a down confused.

As I understand it, the action field is where the form processing occurs. Is it possible to have the information gathered in this form (very simple name, sex and email) sent to my e-mail address?

What should I put exactly in the field of action?

Thank you very much

Jason

Here is the code for a simple form that automatically sends the data fields. Simply change the destination email address and the email address OF your own e-mail address. Make sure that the file name has the extension php (example: form.php).



<>
{If ($ {_POST ['submit'])}
extract ($_POST);
$destination_email = "you@youremail.com;
$from = "FROM: [email protected]"; "
$objet_message = "message on the Web site;
$email_body ="
First name: $fname \n
First name: $lname \n
Sex: $sex \n
"E-mail: $email \n";
mail ($destination_email, $email_subject, $email_body, $from);
echo "thank you for sending me an email.
Die();
}
?>



  

First name:

First name:

Sex:

E-mail:



 


Tags: Dreamweaver

Similar Questions

  • Many questions about the HP 50 g

    I just ordered a HP 50 g graphic calculator! I have a few questions about this so hang on tight! What is the USB connector on the calculator? Mini-USB, micro USB, or is it a connector owner, "custom". Then, it would be possible to connect a keyboard to the HP 50 g by using the USB Port? Is there a program that would make this possible? (I doubt it would work if you plug it..) I have a Mini-USB to female USB 2.0 connector. So I could just plug the keyboard right, provided that the port on the calculator is a Mini-USB Port. If this is not so that I could use my female to female USB adaptor to connect the keyboard.

    Thanks for your help,

    Zekelegge

    Hi!, zekelegge:

    Welcome to Forum!

    The only printer I use, 50G calculators, 48GII, 39GS and 17BII +, as well as many former models, such as the 48 s/SX/G/G + / GX, 38 G, 39 G, 42, 41 C/CV/CX and 28 C/S, is the infrared printer HP 82240 b. If you can use the emulator HP50G, on the PC, the simulator of the printer, you can download, since... http://www.HPCalc.org/details.php?id=7386

    The printer... HP 82240 B

    The cable series...

    The description... http://www.allenwan.com/hpcalcserialcable/

    The original cable...

  • Question about the new Yoga 10 HD +.

    Hello

    A few questions about the new Yoga 10 HD + that I hope you can answer.

    I bought the former model, last year. Love the design and long battery life, but a few major questions made me return.

    • Somewhere that I've read that it can not read NTFS on USB so I guess that's the same thing with a NTFS formatted microSD card?
    • Can it read exFAT formatted microSD cards?
    • Anyone who has questions about the audio via bluetooth?
      (I know that BT is not exactly High End HiFi but the old 10 Yoga for some obscure reason - most likely a driver problem which nobody cared to fix - rang * very * worst with visibly distortion while both my phone and a Tablet noname cheap I have zero about fidelity - any of my devices bluetooth audio) I tried aptX or not)

    So to avoid buying it back it also I really I would like to see if I can get my questions answered before buy you.

    While I love the form factor and long term issues above are only two Mayor dealbreakers for me. Bad audio quality = no joy listen to spotify, local etc. MP3s. not of NTFS or exFAT = some great movies.

    My old noname android Tablet really could use an upgrade so I'm really curious it may be, or I should watch the competition and will be form factor and battery LIFE.

    Thanks in advance.

    EDIT:

    If it does not support NTFS or exFAT on microSD card have someone at - he tried ext3 or ext4?

    I mean with Linux Android root, it should be a no-brainer to support at least when it comes to royalties unlike NTFS or exFAT where it * might * have some trouble with Microsoft.

    I used a USB through a USB OTG cable. NTFS or exFAT have been recognized by the Tablet PC. FAT32 is seems to be the preference.

  • Questions about reinstalling Windows XP after the end of Support

    Several members of the family of my friends that I sometimes provide technical assistance for are still under XP SP3 on their systems.  These systems are too outdated and underpowered to upgrade to a newer version of Windows, and it will probably be some time until they are able to upgrade to a more recent hardware capable of running most modern versions of Windows.

    If in the meantime, something happens to one of their computers requiring a reinstall of Windows after support for XP purposes, but before they can get a newer computer, I have a few questions about what will happen:

    1. Is there still a way to activate their existing copies of XP during installation process?
    2. While I understand that new patches, updates, patches & will be is no longer provided, existing patches will be available through the Microsoft Update service so that I would be able to get those computers to update state that they would be about to XP supported ends, or do I have to search elsewhere to try & find these updates?  (It would be nice if Microsoft put up a cumulative update that would be sort of a mega-patch for people in this situation to be able to get back to the most current state systems, but I would not be surprised if there wasn't such a thing).

    Anyone know the answers to these questions?

    Thank you

    You should be able to clean install and activate Windows XP.  You should be able to upgrade as well, even if the wise move would be to get the updates stored on portable media or integrated into a multimedia installation (or both) as soon as POSSIBLE if the plan is to continue using Windows XP for a while.

    My suggestion is to set up and to buy Windows 7 Professional renovated systems / lease from places like TigerDirect.com - as pricing is generally about the same as just a license for Windows 7 or a little professional, the hardware specifications of these machines are likely machines Windows XP current in use, using something like the PC Mover take care of Laplink and Microsoft to move files (or for the more than 25 USD the) applications that can be moved as well) to the new system of the former is possible, and Windows 7 will get updated until 2020.

    Recently research I've seen systems to Windows 7 Professional for as little as 150 USD with 4 GB of memory and dual core processors.  Not bad.

  • question about stacked sequence

    Hello

    I have a question about stacked sequence.

    I have a stacked with 5 sequences sequence (0,..., 4). I would like to run these as this form

    0, 1, 2, 1, 3, 1, 4, 1 then again 0...

    I don't want to duplicate the section 1 because it contains many objects, variable... One possibility would be to out objects and then duplicate the sequence and use of shift registers, but I don't want to use because in 1, I have some graphs in real time to draw...

    Will there be another (easy) way to do this?

    Thanks for the ideas,

    Concerning

    Why use a stacked sequence?  What you want is a state machine something like this

  • A few questions about my new Z5 Compact camera

    A few days ago I bought the Xperia Z5 Compact (and updated the marshmallow) to replace my Z1 Compact and meanwhile read the manual and looked into the camera settings. Now I have 2 questions about the camera.

    (1) according to this manual, it takes an option to 'adjust the color and brightness manually. I rember having seen this option once in the form of 2 sliders, but now I cannot reproduce it more and find more options in the settings. What should I do wrong or overlooking?

    (2) I noticed that I can manually put only iso for resolution of 8 MP or less. When I put a 20 MP resolution, the iso setting is grayed and automatically the value. Is this a normal behavior?

    Thanks in advance for the answers.

    Hi @Rijnton,

    I just tested this on my Xperia X but it runs on Android M, it should be similar to the Z5 Compact (although there may be some differences).

    Color and brightness options may not be available in manual mode, but are for higher Auto and video.

  • A few questions about FileConnection/JSR 75

    [I posted these issues some time ago, but got no response]

    I am writing an application that targets the 4.2.1 and upward. After reading everything I can find (api docs, forum, kb, guides, web search), I still have many questions about the BlackBerry file system:

    1. Are store / and SDCard / internal name of the memory and the SD card root on all BlackBerry devices?
    2. JSR 75 leaves open the question of whether an application sees the virtual roots that are private to itself or if all applications share the same roots. How does on BBs? I have seen many examples where the path name starts by "/ store/home/user/app_name /" or "/ SDCard/BlackBerry/app_name / '. Is this necessary, or can my request simply use "/ store /" or "/SDCard/" and add the file name? If the former, are there best practices documented anywhere to manage collisions between app names?
    3. If the files are visible in many applications, there are layers of security available to protect data (I think something similar to how a PersistentObject can be encapsulated in an object ControlledAccess using the PersistentStore) or do make us our own?
    4. I read on this forum somewhere that store / is not available when a device is connected via USB and mass storage is active. Is this and other information like this documented somewhere?
    5. May restrict the COMPUTER strategies how an application uses FileConnection, particularly to the store / and SDCard /? If so, is there any guidance on common restrictions that developers should know when you write applications for general use?
    6. What restrictions are there on the names of files (allowed characters, length, etc.)?

    Any guidance or pointers will be appreciated!

    Hi Ted,

    I'm not sure on your remaining questions, but I'll try to answer as best I can:

    1. did not have different names on the devices until today.

    2. you have no problem on SD card and you are allowed to save files anywhere it. Not quite sure

    shop around, but you should be able to save files on the file system visible and own created folders. There will be

    some folders inaccessible devices that require internal processing (installed Te of applications etc..).

    3. you can open files as readonly etc. but elsethere it is not the layers of security installed. If you have data

    issues of security, you must save this Te using the RuntimeStore class!

    4. I don't know, but it's a fact. But for this purpose, you can detect the toggling of mass storage

    programmatically.

    5 see point No. 3

    6 see restrictions as specified in JSR 75.

    Kind regards

    Jochen

  • Questions about discussions...

    Hello

    I have a new app to do that requires network access.

    I have read this EXCELLENT post from peter_strange:

    http://supportforums.BlackBerry.com/T5/Java-development/connecting-your-BlackBerry-http-and-socket-c...

    Because I can't use BIS - B because I'm not a partner of the Alliance, I wanted to take a look at the new OS 5.0 network API and see how it works.

    I know that network connections should be performed in a separate thread.

    I'm far from being an experienced Blackberry developer... so I have a few questions about discussions.  I looked around the Internet, read on the forum, read the documentation, did some tests and so far, I came up with this code:

    SerializableAttribute public class HTTPConnection extends UiApplication {}
    Public Shared Sub main (String [] args) {}
    HTTPConnection PAP = new HTTPConnection();
    theApp.enterEventDispatcher ();
    }

    public HTTPConnection() {}
    pushScreen (new HTTPConnectionScreen());
    }
    }

    class HTTPConnectionScreen extends form {}
    public HTTPConnectionScreen() {}
    setTitle ("HTTPConnection");
    Add (new RichTextField ("choose a type of connection :"));

    final RadioButtonGroup = new RadioButtonGroup() rbGroup;
    RadioButtonField radioButtonF1 = new RadioButtonField ("Direct TCP", rbGroup, false);
    RadioButtonField radioButtonF2 = new RadioButtonField ("WAP 1.0/1.1", rbGroup, false);
    RadioButtonField radioButtonF3 = new RadioButtonField ("WAP 2.0", rbGroup, false);
    RadioButtonField radioButtonF4 is new RadioButtonField ("BES/MDS", rbGroup, false);.
    RadioButtonField radioButtonF5 = new RadioButtonField ("BIS-B", rbGroup, false);
    RadioButtonField radioButtonF6 = new RadioButtonField ("WiFi", rbGroup, false);
    Add (radioButtonF1); Add (radioButtonF2); Add (radioButtonF3); Add (radioButtonF4); Add (radioButtonF5); Add (radioButtonF6);
             
    FieldChangeListener listener = new FieldChangeListener() {}
    ' Public Sub fieldChanged (field field, int context) {}
    ConnectionThread ct = new ConnectionThread (rbGroup.getSelectedIndex () + 1);
    CT. Start();
    }
    };
             
    ButtonField buttonField = new ButtonField ("Connect", ButtonField.CONSUME_CLICK);
    buttonField.setChangeListener (listener);
    Add (buttonField);
    }

    / * method of onSavePrompt override default to avoid being asked if I want to record every time * /.
    protected boolean onSavePrompt() {}
    Returns true;
    }
    }

    class ConnectionThread extends Thread {}
    private int transportType;
    public ConnectionThread (int n) {}
    transportType = tt;
    }
        
    public void run() {}
    ConnectionFactory connFact = new ConnectionFactory();
    ConnectionDescriptor connDesc = connFact.getConnection ("URL", transportType, null);
    If (connDesc! = null) {}
    try {}
    HttpConnection httpConn = (HttpConnection) connDesc.getConnection ();
    httpConn.setRequestMethod (HttpConnection.POST);
    httpConn.setRequestProperty ("Content-Type", "application/x-www-formulaires-urlencoded");
    OutputStream out = httpConn.openOutputStream ();
    out. Write (Integer.ToString (transportType). GetBytes());
    int responseCode = httpConn.getResponseCode ();
    If (responseCode == HttpConnection.HTTP_OK) {}
    UiApplication.getUiApplication () .invokeLater (new Runnable() {}
    public void run() {}
    Dialog.Alert ("- SUCCESSFUL CONNECTION-");
    }
    });
    }
    If (httpConn! = null) httpConn.close ();
    } catch (IOException e) {}
    System.Err.println ("IOException Caught:" + e.getMessage ());
    }
    }
    }
    }

    In fact, this code works very well... but I want to improve it, and I have a few questions:

    1. I think that right now, every time I click on the 'Connect' button, I start a new thread. I would like to end this thread in the "run" method, but I don't really know how to access the variable 'ct' from there.   Counsel on how to do it?  Or maybe always use the same thread until my application is closed?

    2. in the FieldChangeListener of my "Submit" button, I want to access the value of radio box.  I did work, but I had to do my 'final' variable  What is the right way to do it?

    3 - to display a dialog box with 'Successful connection', I just wanted to write something in my main screen.  How I do that?

    I'm just a bit confused as to just what set up when you use a separate thread.

    Thanks for your advice!

    Edit: Hidden URL I connect to...

    That's what I call a good question! (now I'm wondering why the forums do not work with opera correctly, in any case, here my baldy to the answer format): 1. your thread "dies" when it's over, no need to close it. 2 Yes 3. You can use a reminder. See for example http://www.javaworld.com/javaworld/javatips/jw-javatip10.html

  • General question about the Browser element

    Will look for an alternative, I found the Browser element and now I have a few questions about that:

    As I am not yet experienced on the Interfaces of Java development, I was wondering if following senario is possible:

    Have some HTML Pages which do the job of the Interface.

    If you submit a form, the JAva Base program (the Master application) process all Information.

    If you are viewing a list, the info is from a json of the Base program output.

    As the Communication Server Client HTML, the only difference is, that all communications remains inside the app.

    Is this possible?

    I can't speak to the idea of dealing with the entry of html, but I can confirm that it is possible for an application program to create a html page and providing the BrowserField for display.

  • Question about cloud connectors

    We try to create a cloud to Eloqua connector. I read the CloudConnectorSampleGuide. I have a few questions about the expected data models and models of general implementation.

    Configuration of the connector of the cloud

    • The CC stores the identification information for each configured CC step Eloquya Eloqua?
      • What are the guidelines for the safe password storage? (I can't store the passwords as dirty one-way-hash that I need the password during execution.  The two-way hash gives an illusion of security but is not better than the plaintext).
    • When the CC is configured, where credentials should take place between the 1st and the 2nd screen? (i.e. as a hidden form field, session cookie cookie/etc.)
    • Eloqua warns the CC when a step is deleted?

    Cloud connector performance

    • What is the average number of steps configured Single that manages the CC?
    • Is it possible for a CC to have 1000 s and unique not configured to query?
    • What are the guidelines for scalability when the connector has to travel 1000 steps configured and survey? The CC requires a worker architecture to manage a large number of configured steps?
    • Are there best practices around the CC recovery hangs
      • For example: CC acquires the State waiting for members and moves to the current State. The CC blocks before the end of the stage. What is the approach suggested for

    recovery of the tasks in the current handling during recovery state? (assuming I have multiple instances of CC of the Eloqua poll). Is the connector of cloud supposed to maintain States of WIP to manage recovery correctly?

    Dmitry, once again, it is entirely to the developer.  When you add contacts to a stage, they will be processed in batches.  There is no limit to how much you add, and since they are left to step up to that dealt with by the connector, how long they sit depends on how long your connector takes to do its job.  Expectations, of course the faster you can deal with the best.

  • A few questions about in-app apple purchases

    Hello

    I would like to ask you a few questions about in-app purchases from the itunes store.

    I would like to create an application and put this app on the itunes store.

    The application itself will be a 'container' and contain 1 pound. The app will be free.

    So far so good. Now, I want to use shopping app from apple to sell the other books in the application.

    So that they will see a new book in the app and will be able to buy it.

    Now to my question:

    I would like to have books available in the form of separate .swf files (.swf files because I want to add an animation). If people can go to the itunes store and the swf will be downloaded on their device.

    Apple will actually allow this? And if not, anyone know how I could get what I want?

    Yes, that's what it means... Remember that you are not playing in the classic environment of Air, so your application will be just impossible to run any code from any SWF loaded. The reason is obvious: Apple doesn't want that any developer to extend applications or provide additional content without to have approved by Apple / earn money with it.

    In your case, I recommend you to include all the books hard connected by the swcs and then just unlock everytime the user pays.

  • Question about the API

    Dear all,

    I have a question about getting this line of code to the JSF API.
    FacesContext facesCtx = FacesContext.getCurrentInstance();
    Locale defaultLocale = facesCtx.getApplication().getDefaultLocale();
    I don't know what locale will be this line give me?
    My hypothesis is that, this returns the locale of the server in which the application has been deployed?

    Currently, it returns the locale of my current computer. But I would like to know, what happens if I deploy
    This in another computer to another region?
    Can anyone confirm my doubts please? Thank you

    getDefaultLocale returns the locale by default in the form of installation in the config.



  • Question about transition between slides

    Hello

    I have a question about transition between slides in Captivate 6.0.

    By default, the transition between slides is set with 3 dry. I would like to have the transition done manually, with the navigation, but not after a certain time.

    Is this possible? For the moment I insert a next button. But I prefer to do it through the navigation.

    Thanks for your help.

    Hello

    Currently, the ONLY way to do it is to have an object on every slide, causing the slide to pause. Buttons, click boxes, text entry boxes, and some widgets cause this problem.

    If you feel that it must operate differently, please consider submitting a form wishes to request the ability to be added to a future version. (Link to the form wants is in my signature)

    See you soon... Rick

    Useful and practical links

    Captivate wish form/Bug report form

    Certified Adobe Captivate training

    SorcerStone blog

    Captivate eBooks

  • Questions about apex_web_service.make_request and collections

    Hello

    I began using with Apex Web services, and I have a few questions about the apex_web_service.make_request procedure. You can pass a name of the collection as a parameter. I'm a little confused on this parameter from the collection...

    This is perhaps a silly question, but the documentation is not very clear, so... This procedure always inserts just a line in the collection (with the XML returned by the web service call), or are there cases where several lines will be inserted?

    If there is still only a single row, what are the practical reasons to use a collection for her? I ask because in most cases interest you about the columns/rows to display in a form or a report in the Apex and I don't see the advantage to store in a collection of single-row, but I may be missing something...

    If the response contains several rows of data, it will be automatically extract the lines and insert them into the different lines of the collection? (posts...)

    What is the best approach then to extract several rows returned in the XML response and insert them into a collection? Currently I use XMLTABLE in a loop and call apex_collection.add_member for each row returned. is there a better way to do it?

    Thank you
    Luis

    Luis,

    the webservice returns only one row in the results collection.

    XMLTABLE using is a good idea, instead of using a loop, you can also use APEX_COLLECTION. CREATE_COLLECTION_FROM_QUERY or CREATE_COLLECTION_FROM_QUERY_B (B for bulk which may mean 'fast').

    brgds,
    Peter

    -----
    Blog: http://www.oracle-and-apex.com
    ApexLib: http://apexlib.oracleapex.info
    BuilderPlugin: http://builderplugin.oracleapex.info
    Work: http://www.click-click.at

  • Question about the pen tool (w / photo inside)

    Hi all! I have a question about the pen tool. I think that this picture is very useful for my question:

    Demonstration.jpg

    So in this pic is an orange rectangle, and within this rectangle is a blue strip. I would like the blue band surface perfectly (not too much and not covered) the edge of the rectangle. For example, on the lower end of the blue band, you can clearly see that the band does not extend quite far to the edge of the orange rectangle. At the top of the band, he's a little more (a little hard to see). I work with some complex shapes when you use the pen tool and it's really slow me down to compensate for over/under Forms. If she could just snap to the borders of the other forms that would make my life a lot easier. Thanks for reading and please help!

    Duplicate the orange shape and change the fill color to blue. Draw your new shape on that layer, using the Intersect option.

Maybe you are looking for

  • Maps app

    Previously, you could search directions between two locations on the Maps app by entering in these places. This possibility seems today disappeared and directions are only available between your current location and your destination. How you search f

  • How see you captured by the app Apple Watch Workout training? app

    When you complete a workout using the Apple Watch of training application, it asks if you want to 'Save' the workout.  How you look at these recorded training? Most applications provide a way to see at least the last few workouts, for example, distan

  • Magic keyboard caps lock key; not always answer

    Hi, I bought a magic keyboard for 1 month ago and I noticed that my shift key doesn't always when I press not so hard on the key. Is it meant to be like that or is it just for me? From elsewhere can I solve this problem in a few settings in the softw

  • If I reset my settings will be deleted my Apple music

    I want to reset my settings on my iPhone, but I fear that in so doing, it will turn off ICloud library, eliminating all my music Apple Downloads. SO, will it?

  • Recommendation for compatible monitor.

    Just bought an HP 25vx monitor for my MacPro (early 2009).  Monitor works but comes with no info Mac or operating instructions, only a CD of Windoze. Attempts to contact HP "customer service" virtually impossible.  Want a recommendation for a MAC com