Drawing Lines The drawLine method belongs to the Graphics class. This example draws a fan of twenty lines from the bottom center of the...
Enter 1
I got that, thats why the previous post. Just enter either 1 or 0. 1 is for enabled and 0 is for disabled.
Oh! Now I got you, you have enter only 1 and not 1 = enabled.Got it??
Hi Kash, You have to creat a DWORD value not any other, which I think is the case with you.
Introduction There are thousands of viruses, and new ones are discovered every day. It is difficult to come up with a generic explanation of...
What Is GlassFish? Depending on how you look at it, GlassFish is any of the following: A community. The GlassFish community currently...
Improving Your Search Engine Ranking Getting listed in search engines is not as difficult as you may think. With a little effort and some...
Calculating the factorial of a number is a basic excercise while learning to program in C, many of us have done it iteratively, it can also be...
Many times we need to check whether a number is negative or not, here is a very simple subroutine to do that. sub isNegative {...
Me too! Keep posting, about your problems discoveries and inventions.
$string = "Asdsd - sdsd "; if(!preg_match("/^[A-Za-z0-9-._]+$/",$string)) //see here I allowed -,_ and . { print("Bad characters found!"); }
That regex only allows alphabets and numbers, do you want to remove the bad characters or just inform the user that he has enter some bad...
You have to use Regular Expressions (regex) to filter out bad characters.Checkout the exmaple below. $string = "Asdsd - sdsd ";...
Go ahead and try it out yourself, all the best. If you are stuck anywhere, I am just a post away. ;)
Functional Dependency Definition: A functional dependency occurs when one attribute in a relation uniquely determines another attribute. This can...
Firstly, I have no idea what WAMP is. I guess it's a web server. A HTTP 403 error refers to security/permissions, you must have not configured...
Introduction A really cool feature that web designers overlook is the use of the .htaccess file. Simply put, whenever you see a custom error...
Background I've needed the header function in php so many times I figured I'd write a tutorial on it. This tutorial should help you do most of...
Thats very easy dude! I hope you know how to connect to a database with PHP, and brief me about the type of fields you want to validate, and the...
Separate names with a comma.