Hi
Empty form values get in to my mail (even after Php validation)
I have a form fields validated in Php in my hosted website
Empty Form should not get submitted there are some fields...
Type: Posts; User: pkrishna42; Keyword(s):
Hi
Empty form values get in to my mail (even after Php validation)
I have a form fields validated in Php in my hosted website
Empty Form should not get submitted there are some fields...
Hi
I have a form fields validated in Php.
Empty Form does not get submitted but in my mail I used to get empty form submitted every now and then I think this is a bit how can I get rid of this? ...
thanks for your reply its working
Hi this is a simple form i have when i submit the form it will redirect to mail.php
and i want to restrict direct access to mail.php so i added some script here...
// <?php
session_start();...
Hi
thanks for your reply
I posted this code earlier but i did not get any response so i posted other code due to this i am not able to use this code pls help me
In this below code i need...
Hi
thanks for your reply
I posted this code earlier but i did not get any response so i posted other code
In this below code i need pregmatch code for Phone Email and Website Fields and need...
How to hold the values in text area using PHP validation
My code looks like this
<?php session_start(); ?>
<?php error_reporting (E_ALL ^ E_NOTICE); ?>
<?php
require("connection.php");
i want to add pregmatch field for phone email and website for this validation.
<?php
function _ent($val)
{
return htmlentities($val);
}
hey can someone explain the procedure how can I export my email from gmail to my SQL server through IMAP
I want to validate phone number with preg_match in this below format
1 222 123 1234
1 333 123 1234
1231231234
1-123-123-1234
1123-123-1234
123-123-1234
My code ...
I want to validate phone number in this format
1 222 123 1234
1 333 123 1234
1231231234
1-123-123-1234
1123-123-1234
123-123-1234
My code
preg_match("/^([0-9]){3}[0-9]{3}-[0-9]{4}$/",...
Hi the above coding is working good but I am not able to echo the variables
Hi i tried this code but pregmatch is not working.....
<?php
if ($_SERVER["REQUEST_METHOD"] == "POST" and !empty($_POST["name"]) and isset($_POST['state']) and ($_POST['state'] !== 'NULL') and isset($_POST['city']) and $_POST['city'] !== 'NULL'){...
hey thanks for your help its working great..........thanks a lot
how to send form to next page after validation through header('location:sucess.php');
please suggest me
below find my code
<!doctype html>
<html>
<head>
<meta charset="utf-8">
If I skip that line I am not getting my mail only html is forwarded to mail
my code goes like this
$headers = 'From: ' . strip_tags($_POST['Name']) .'';
$headers .= "MIME-Version: 1.\n";
$headers .= "Content-Type: text/html; charset=ISO-8859-1\n";
and in mail header...
How to remove MIME VERSION 1.0 FROM HEADER
IT IS SHOWING IN HEADER OF MY MAIL SENT FROM MY WEBPAGE
My code look like this
$headers = 'From: ' . strip_tags($_POST['Name']) .'';
$headers .=...