
Search In
User Name Validation Code: Use below code, to check if the name field only contains alphabet and white space.
$name = test_input($_POST["name"]);
if (!preg_match("/^[a-zA-Z ]*$/",$name)) {
$nameErr = "Only alphabet and white space allowed";
}
E-
Hello Reader's, If you have developed the web project in Codeigniter and want to send attachments using emails then in this blog you can learn how to do this.
Sending the attachments can be done by several way in php, We will do this by
No business can have immediate contact with almost every target customer regarding the business. So if you have started your company and now you're thinking about landing your own first contact you might think of using many of the promotion techn
Many times we need to show our old values in a form after an error or validation stops our form from submitting. Laravel has a very nice way of retaining old values and populating it back into our form.
I myself used it in a drop down, where I want
All the content are treated as a simple text at when you send a text message using Python. Even if you include HTML tags in a text message, it will display as simple text and HTML tags will not be formatted according to HTML syntax. But Python provid
Sometimes we need to validate an email address using regex in our script in automation.
In the below code I have used "^[_A-Za-z0-9-]+(\\.[_A-Za-z0-9-]+)*@" + "[A-Za-z0-9-]+(\\.[A-Za-z0-9]+)*(\\.[A-Za-z]{2,})$" pattern which mean
Hi Reader's,
Welcome to FindNerd, today we are going to discuss how to send SMTP mail in codeigniter?
In a web applications sending email is a very common feature.This is used for sending Emails messages,notifications and newsletters.
If you are
HTML5 allows you to validate an HTML form field using a regular expression. The below HTML code validate an email address against a regex.
<input type="email" name="email" required pattern="[^@]+@[^@]+.[a-zA-Z]{2,6}" />
Test case:
s
Simple Forgot Password System In CakePHP Via Email
Hello Readers,
This blog tutorial will explain how to create a simple Forgot Password system in CakePHP where a users will type email in input box & retrieve new password in their registered em
Hi
When I click on resend email verification, custom theme changed to default classic theme.
Environment Set-up :
Java - Oracle JDK7
Liferay - Liferay 6.2
Thank you in advance.
