Jump to content

carole2

Members
  • Posts

    6
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

carole2's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Thanks ill use javascript...
  2. I would like to display and image for about 2 seconds... and then move to another image and display another image for 2 seconds... basically i want to know how i can quickly flash an image using php..  its for teaching a class... thanks carole..
  3. [quote author=wildteen88 link=topic=101948.msg404126#msg404126 date=1153940858] You do something like this: [code]<?php $text = "Hey my email adddy is abc123@abc.def isnt it nice"; if(preg_match("/([A-Z0-9._%-]+@[A-Z0-9.-]+\.[A-Z]{2,4})/i", $text)) {     echo "Email adddy detected, We do not accept email addresses within strings!"; } else {     echo "No email addy dectected"; } ?>[/code] [/quote] Thanks.. Yeah thats a possibility i thought of  that already. .. I am using a form class that validates on the server side and the client side. On the client side javascript is created from the reg expression. So i was looking for just a reg expression that would not accept any text that contained an email address. Its not that important as i could validate it on the server side only with the above code.  Thanks for your input...
  4. [quote author=wildteen88 link=topic=101948.msg403973#msg403973 date=1153930842] Prehaps this [url=http://www.phpfreaks.com/forums/index.php/topic,101005.0.html]thread[/url] might be able to help you out. Look at post number 3 by toplay. [/quote] Thanks that was helpful but i would like a reg expression that would allow all text except for an email address, if that is possible.
  5. I would like a reg expression that can check for the existence of an email address in a string. This is to prevent users from entering an email address into a particular field. regards carole
  6. I would like to have an image representation of the website i am linking to, kinda like what you see in directories where you can see a little box of what the website looks like. Any ideas where i can can get a snippet of code that will accomplish the above mentioned task. thanks carole
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.