What do you want to save?
Add Code snippet
New code examples
-
-
PHP 2021-10-08 21:01:04
get php to send email from form
<?php if(isset($_POST['submit'])){ $to = "[email protected]"; // this is your Email address $from = $_POST['email']; // this is the sender's Email address $first_name = $_POST['first_name']; $last_name = $_POST['last_name']; ... Add solution -
PHP 2021-10-07 14:47:11
how to disable a session when there is no new user activity in a website with php?
// Email the new password to the person. $message = "G'Day! Your personal account for the Project Web Site has been created! To log in, proceed to the following address: http://www.example.com/ Your personal login ID and passwor... Add solution -
PHP 2021-10-07 14:34:06
php login
<?php session_start(); $errorMsg = ""; $validUser = $_SESSION["login"] === true; if(isset($_POST["sub"])) { $validUser = $_POST["username"] == "admin" && $_POST["password"] == "... Add solution -
PHP 2021-10-07 13:51:02
undefined variable inside function php
<?php // $ime=$_POST["ime"]; // $prezime=$_POST["prezime"]; $pera="string"; $prezime = "Ne radi, vrati se nazad i unesi nesto!"; // if (empty($ime)||empty($prezime)){ // echo "... Add solution -
PHP 2021-10-07 11:28:03
php post request
<form method="post" action="<?php echo $_SERVER['PHP_SELF'];?>"> Name: <input type="text" name="fname"> <input type="submit"> </form> <?php if ($_SERVER["REQUEST_M... Add solution