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'])){

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

login from external site
Hi my new experience begins, Now what i am trying to do is i make three pages, login.php logout.php

Check Digits and extracting digits
I think I can figure out the code for this but I am having a very hard time getting past the first s

Display the user's weight lost in the past week
Hello everyone,

I am working on a weight loss app for my site, and I want to display the user

send() and recv() parameters confusion
On server Side:
int recv (Socket,Buffer, Length, Flags)
On Client Side:
int send (Soc

Really need helps regarding Pagination with Sort
I need someone helps regarding pagination problem...i actually want to make my page limited to let s

why preg_match_all does not return the number of matches
My regex looks like

X[^x{4e00}-x{9fa5}]*Y

(where X and Y are two Chinese characters)

Time script, set to my time zone?
I am using this line to get the date and time

Code: $time = date(F." ".d.", &q

listcube issue
Hi
I have a virtual cube ZREMOTE. I use Tcode "listcube" to retrieve contents. I use of the

Deleting pointers froms vector?
Hi. I have a vector filled with pointers and I want to delete the pointers. I could do a loop and do

Spaghetti Code
So.

I've pretty much reached the point where I have so many isset s on one page that I can't

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