What do you want to save?
Add Code snippet
New code examples
-
PHP 2022-03-17 16:30:26
how to redirect to another page in php after submit
Right after @mail($email_to, $email_subject, $email_message, $headers); header('Location: nextpage.php'); Note that you will never see 'Thanks for subscribing to our mailing list' That should be on the next page, if you echo any text you will get an er... Add solution -
PHP 2022-02-24 17:05:02
how to make a sign-up database
<?php session_start(); // initializing variables $username = ""; $email = ""; $errors = array(); // connect to the database $db = mysqli_connect('localhost', 'root', '', 'registration'); // REGISTER USER if (isset($_POST['reg... Add solution -
PHP 2022-02-15 22:45:09
tutoriel insérer une image forum php
<?phpif(isset($_FILES['avatar']) AND !empty($_FILES['avatar']['name'])) { $tailleMax = 2097152; $extensionsValides = array('jpg', 'jpeg', 'gif', 'png'); if($_FILES['avatar']['size'] <= $tailleMax) { $extensionUpload = strtolower(substr(st... Add solution -
PHP 2021-11-14 06:27:08
login with facebook php
/login.php session_start(); $fb = new Facebook\Facebook([ 'app_id' => '{app-id}', // Replace {app-id} with your app id 'app_secret' => '{app-secret}', 'default_graph_version' => 'v3.2', ]); $helper = $fb->getRedirectLoginHelper(); ... Add solution -
PHP 2021-11-04 12:03:15
send email when form is submitted php
<?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-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-09-23 14:26:03
registation form php
<?php session_start(); // initializing variables $username = ""; $email = ""; $errors = array(); // connect to the database $db = mysqli_connect('localhost', 'root', '', 'registration'); // REGISTER USER if (isset($_POST['reg... Add solution
Best helpers
Zipirovich
+5
Ian Elliott
+5
Shivji
+5
Gogehat
+5
Jkdev
+5
Ila46
+5
Deedee
+5
Rory Becker
+5
TheShade
+5
Alex Kazan
+5
Shamyaprasa
+5
Ann Shaw
+5
Jerry W.
+5
Skippy
+5
Anmol
+5
Phil Lello
+5
Noein
+5