All Entries Tagged With: "name"
Variable Variables in PHP : Power of PHP
Power of PHP extended to use a variable variables. Example: Sometimes it is convenient to be able to have variable variable names. That is, a variable name which can be set and used dynamically. A normal variable is set with a statement such as: <?php $a = ‘hello’; ?> A variable variable takes the value [...]
ICANN to vote on new Internet domain names
The Internet Corporation for Assigned Names and Numbers is getting ready to vote later this week to open up the Internet naming convention to allow more options. On Thursday at its meeting in Paris, ICANN, the not-for-profit organization charged with overseeing the Internet’s naming scheme, will vote on a proposal that would allow companies to [...]
How to validate name field using Javascript
<script language=”javascript” type=”text/javascript”> function isValidName(id) { Element=document.getElementById(id); if (Element.value==””||Element.value== 0) { alert(“Please Enter your Name.”); Element.focus(); Element.value=””; return false; } var rg = new RegExp(/^[A-Za-z\s'.]+$/gi); name=Element.value; if(String(rg.test(name))==’false’) { Element.focus(); Element.value=””; alert(“Please Enter A valid Name”); return false; } } </script>



