Posts by Caio Frias • 27 points
5 posts
-
0
votes1
answer30
viewsQ: How to use FILTER_VALIDATE_IP for an array?
<input type="text" name="ip[]"/> <?php $ip = $_POST['ip']; if(filter_var($ip, FILTER_VALIDATE_IP)) { echo("$ip is a valid IP address"); }else { echo("$ip is not a valid IP address"); }…
-
0
votes2
answers161
viewsA: How to give Submit in the data of a dynamically generated form?
My problem was not in replicating the form, but in the form of receiving it. I did a little more digging into the problem and I found this: Join 3 forms in 1 Submit. Either was exactly what I…
-
2
votes2
answers161
viewsQ: How to give Submit in the data of a dynamically generated form?
<div class="form" id="dynamicDiv"> <p> <div id="principal"> <form method="POST" action='enviaMform.php' id="enviaMform"> <div class="container"> <label…
-
0
votes1
answer656
viewsQ: How to repeat a snippet of html using a repetition loop in php?
<div class="container"> <form method="POST" action='enviaMform.php'> <div class="form-group"> <label for="nomeHost">Host que pretende monitorar:</label> <input…
-
-1
votes2
answers45
viewsQ: Is there any way to pass the value of a $_SESSION to a link?
There is a login system with email and password, however, as I already used $_SESSION to capture the session id and the name of the user who is logged in,clicking only on any link that gave access…