About - php.about.com
General Information:
Latest News:
IP Address Lookup 25 Aug 2013 | 09:30 pm
An IP address (or Internet Protocol Address) has many uses online. You can record it to help prevent spam, keep it as a record, or use it to help deliver regionally customized content to visitors. L...
Binary to Decimal 25 Aug 2013 | 07:07 pm
There are 10 types of people in the world, those who understand binary and those who don't. That is one of my favorite jokes! You can convert the binary number (10) to a decimal using the bindec () ...
Base Convert 21 Aug 2013 | 07:05 pm
When you count, you may not realize it but you are counting in base 10. Computers by default work in base 2, but there are many other counting systems with different base numbers. You can convert be...
Add Slashes 15 Aug 2013 | 06:59 pm
In PHP there you want to add slashes to quotation marks so that you don't accidentally end a string and start using part of it as code. You can do this using the addslashes () function. This turns: ...
Arccosine 9 Aug 2013 | 06:56 pm
You can calculate arccosine in PHP using the acos () function. The input to this function should always fall between -1 and 1, and the output is between zero and PI radians. [read more]
Absolute Value 3 Aug 2013 | 06:54 pm
The absolute value of a number measures the distance between a number and zero. It is always a positive number. In math we represent this as |-3| but in PHP it is written as abs (-3). Read more abo...
PHP Automatic Copyright 3 Aug 2013 | 06:53 pm
Have the copyright notice on your website go out of date looks sloppy and unprofessional, but it's easy to do. You usually include the line once when you setup your site and then forget about it. Fo...
Script Tags 24 Jul 2013 | 04:21 pm
You can use PHP in a file supporting multiple languages by using the script tag. Inside the script tag you declare the language as PHP. You could also declare it as other languages you may be using....
Using GoTo 19 Jul 2013 | 04:17 pm
In PHP you use GoTo to skip over a section of code and go to a specified location in the code. It is not a function so it does not use (parenthesis). This only became available in version 5.3 of PHP...
Connecting to MySQL from PHP 18 Jul 2013 | 05:01 pm
Backing your PHP site with a MySQL database can be a very powerful way to deliver dynamic content to your users. Of course before you can enjoy any of MySQLs features, you have to be able to connect ...