Accept only alpha characters


Posted on 16th Feb 2014 07:03 pm by admin

I've got this bit of code ready for accepting a phrase:

Code: if (!eregi ("", $_POST['phrase'])){

Did you know?Explore Trending and Topic pages for more stories like this.
but I need it to accept ONLY alphabet characters. No numbers, no spaces, no under scores, no special characters. Anyone care to fill in the blank?
No comments posted yet

Your Answer:

Login to answer
287 Like 11 Dislike
Previous forums Next forums
Other forums

fire away
i launched about 4 months ago as a lagit co. i have 2 paying clients, 1probono, 1 side progect, and

Libraries in C++
Hi all,

I have two libraries. one is based targeted on linux platform and uses another li

Word filter problem
Hello,

im trying to make a filter for words inputted in to my website but i want to store the

Remove Rows From Database ad
Hi All,

I have this:

Code: [Select]<?php
session_start();
include('../com

Convert Binary String to Decimal
Trying to Get:
Decimal: 305419896

Out of:
Binary String: xV4

Reading waves
Hi,

I am trying to find a way of finding the highs and lows on a graph line, the line points

PHP FTP Can't upload Big FIles
Anyone had any success using FTP to upload a file say 90m?

im using ftp_put and it returns fa

Contact Form Not Working When I Add Validation Codes
So I built my first working PHP "Contact Us" like form. But, I have been trying to now mak

Request for tunning the below query
Hi,

Can any one help me on the below query while improving the performance,

$_POST
Hi, I have 2 seperate php files, and i want my $_POSt["fname"] To go into both of them, Fo

Sign up to write
Sign up now if you have flare of writing..
Login   |   Register
Follow Us
Indyaspeak @ Facebook Indyaspeak @ Twitter Indyaspeak @ Pinterest RSS



Play Free Quiz and Win Cash