php self submit

Solutions on MaxInterview for php self submit by the best coders in the world

showing results for - "php self submit"
Ilan
17 Jan 2018
1<form action="<?php echo $_SERVER['PHP_SELF']; ?>"> 
2//there is no reason to use this to submit form data to the same page
3<form action=""> 
4//will do the same thing
Greta
01 Oct 2019
1<?php if (!empty($_POST)): ?>
2    Welcome, <?php echo htmlspecialchars($_POST["name"]); ?>!<br>
3    Your email is <?php echo htmlspecialchars($_POST["email"]); ?>.<br>
4<?php else: ?>
5    <form action="<?php echo htmlspecialchars($_SERVER["PHP_SELF"]); ?>" method="post">
6        Name: <input type="text" name="name"><br>
7        Email: <input type="text" name="email"><br>
8        <input type="submit">
9    </form>
10<?php endif; ?>
11
Dilys
12 Nov 2016
1action="<?php echo htmlspecialchars($_SERVER["PHP_SELF"]); ?>"
queries leading to this page
form php self submitphp form submit to self exampleserver request method in phphow to self post php 24 server 27http host 27 localhostphp find host 24 server php selfphp action self 24server php selfphp submit selfphp server selfphp form post selfform action selfphp self server 3c 3fphp server selfphp server selfaction 3d php echo 24 server 27php self 27php selfphp form post to self 24 server 27php self 27 in phpserver php self 24 server php self in phpphp self post formphp form php selfpost self phpself request phphost in phpphp self in formform action php selfself form phpphp form submit to selfphp form submit selfself server in php 24php server self 24 server 27php self 27 examplephp server phph selfphp 24 serverphp form send post to selfphp form self post queryphp call self function form post self phpphp server php selfphp self in php 24 server 27php self 27 in php examplephp self in phpphp 24 server 27php self 27how to use php server selfphp self submitform submit self 24 server php self meaning in phpphp form self submitphp action self formserver self php 3c 3fphp echo 24 server 5b 27php self 27 5d 3b 24 server in phphow to post form data to self in phpself submit form php 24 server self phpphp self form submitserver request uri phpphp self submit formphp self actionphp post form to selfform submit php selfself request in form phpphp server name exampleserver php selfphp slefwrite post function without button phpphp self in serverphp post to selfserver in phpphp self formphp self submit