Well, I was wondering if anyone could give me a script I can use to get a entered value from a post form (e.g Username) and check to see if the username exists in a plain txt file I have with usernames separated by a line break, thanks in advanced.
lldcrb328 0 Newbie Poster
Recommended Answers
Jump to PostA sample preg_match script:
$userfound = (preg_match("/\b$username\b/") === 1);
Jump to PostYour post is one of the worst i've ever seen (i'm sure others would have some stories to tell). First, you hijacked a completely unrelated thread. Secondly, you essentially demand someone write a program for you (most likely homework) with the usual fake appreciation and "urgency". Finally, you ask us …
All 5 Replies
cwarn23 387 Occupation: Genius Team Colleague Featured Poster
death_oclock 103 Posting Whiz
UHussain 0 Newbie Poster
death_oclock 103 Posting Whiz
cwarn23 387 Occupation: Genius Team Colleague Featured Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.