troubleshooting Question

Detect if certain text is in a variable

Avatar of Rodrigo Costa
Rodrigo CostaFlag for New Zealand asked on
JavaScriptPHPAJAX
2 Comments1 Solution317 ViewsLast Modified:
Hi folks, I need to findout if a certain text was typed in a certain variable, for example a form send to my script a variable named "URL", in this variable the user had to have typed an url for a certain file they should have in their server, what I want is a way to find out if in this variable they typed "for123" in the variable, it could be in the beggining, in the middle or at the end, but I would need to know it and I can't seem to find a way to do this...

Any help would be appreciated.

Cheers!
ASKER CERTIFIED SOLUTION
Jon Norman
Information Systems Manager
Join our community to see this answer!
Unlock 1 Answer and 2 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 2 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros