LCKB
register php script per html ausführen - Printable Version

+- LCKB (https://lckb.dev/forum)
+-- Forum: ** OLD LCKB DATABASE ** (https://lckb.dev/forum/forumdisplay.php?fid=109)
+--- Forum: Website Scripting & Security (https://lckb.dev/forum/forumdisplay.php?fid=197)
+---- Forum: Webmasters Help & Talk (https://lckb.dev/forum/forumdisplay.php?fid=142)
+----- Forum: Help & Requests (https://lckb.dev/forum/forumdisplay.php?fid=116)
+----- Thread: register php script per html ausführen (/showthread.php?tid=4598)



- fantasymerlin - 01-26-2016


Good Evening,

 

I have make a launcher. This Launcher works. Make the Update function and show me a Update and a Notice Windows.

 

Now I want to make a register button or a link to my register php script. My php register script is on the server. The Notice Window I can show. It loads text and the background. But how I can execute the register php script from the second launcher.hrml?

 

I don´t know what I have to write in the html that it´s open my mozilla firefox and execute the register script.

 

Do have someone a code for me which I can build into my html?

 

Thank you very much




- LikeToMove - 01-26-2016



<form action="register.php" method="_POST">

<!-- Your HTML code after this line -->

</form>

 




- fantasymerlin - 01-26-2016


Okey. I get now a Button named "Register". This is my code:

 

<html>
    <head>
        <title>Register</title>
    </head>
    <body>
        <form action = "register.php" method ="_POST">
        <br>
        <input type="submit" value="Register">
        <form>

    </body>
</html>

 

 

But when I click on my Button Register I want thats open the Register Form in a new Browser Window from Firefox. How I do this?

And when I get the Register Form it shows so:

 

15 ) echo Pick a username between 3 and 15 characters long; elseif( !ctype_alnum( $_POST[username] ) ) echo Please use only alfanumeric characters as username ( a-Z 0-9 ); etc...

 

and below I get the Fieldnames with the Field and the Button for sending my register inputs.

 

How I can I make it so that its open a new firefox window and I can hide all above the input fields in the php script?.




- DamonA - 01-26-2016


If you want it on the same site:
 

Example:

Html Form & Php Script in the same .php file.

Write your html code in the first, then you make the php script (the script must check if posted or not so make if(submit))

 

 

btw. this should solve your problem if already all done  <form action = "register.php" method ="_POST"> =>  <form action = "register.php" method ="POST">




- fantasymerlin - 01-26-2016


I have install php devel and now it Works.

 

Thanks goes on DamonA for checking my Script.

 

The Problem is solved now.