string checking

  • tommya
  • Graduate
  • Graduate
  • tommya
  • Posts: 221
  • Loc: United Kingdom

Post 3+ Months Ago

I have included the following line in one of my pages

Code: [ Select ]
$stringcheck = ereg("(karenl)",$sesslogin);


it checks for the presence of the pattern inside the variable
is there any way to amend this to search for multiple patterns??
  • Anonymous
  • Bot
  • No Avatar
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post 3+ Months Ago

  • eCommando
  • Graduate
  • Graduate
  • eCommando
  • Posts: 162
  • Loc: California, USA

Post 3+ Months Ago

Can you use Regex expressions?

Post Information

  • Total Posts in this topic: 2 posts
  • Users browsing this forum: No registered users and 72 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
cron
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.