explain email injection
<?php
if(isset($_POST['name']))
{
$name = $_POST['name'];
$replyto = $_POST['replyTo'];
$message = $_POST['message'];
$to = 'root@localhost';
$subject = 'My Subject';
// Set SMTP headers
$headers = "From: $name \n" .
"Reply-To: $replyto";
mail($to, $subject, $message, $headers);
}
?>
Also in PHP:
- filesize in php
- count column eloquent laravel
- echo message or display default message php
- create laravel project in laravel/laravel
- PHP Deprecated: Function create_function()
- confirm password validation in laravel
- base64_decode() output to header location
- array_key_exists contains string
- To find out where your php.ini is located
- adeleye ayodeji
- How can I install php7.4 on Ubuntu 18.04?
- case upper php
- buscar un substring dentro de un string php
- create table modal and seeder at once in laravel
- +1 day in while php
- composer require laravel/ui for laravel 6
- array push in php
- different time formats in php
- PHP @ errors
- check if letter is in string php
- add checkbox in server side datatable laravel
- date'G')
- Composer detected issues in your platform: Your Composer dependencies require a PHP version ">= 7.3.0". You are running 7.2.33.
- can i throw exception in catch block php