Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <body>
- <form action="prueba.exe" method="get">
- <input type="text" name="nombre" value="Nombre:" class="input">
- <input type="text" name="apellido" value="Apellido:" class="input">
- <input type="submit" name="submit" value="Aceptar" class="button">
- </form>
- </body>
- #include <iostream>
- #include <cstdlib>
- using namespace std;
- int main(int argc, char *argv[]){
- cout << "content-type: text/html" << endl;
- string data = getenv("QUERY_STRING");
- cout << data << endl;
- return 0;
- }
Add Comment
Please, Sign In to add comment