PHP Function: Built-in Functions part 2
Welcome back to part 2 of Built-In functions, just a reminder. count() The count() function counts the number of elements in a variable. It’s usually used to …
Continue readingWelcome back to part 2 of Built-In functions, just a reminder. count() The count() function counts the number of elements in a variable. It’s usually used to …
Continue readingArray Fuctions – array() The array() function allows you to manually assign values to an array. Here is the syntax of the array() function: $array_name = …
Continue readingMake your site look like you actually update it! In php create a script that receives the date current date! So people might actually think you update it. Well, …
Continue readingThe HTTP Authentication hooks in PHP are only available when it is running as an Apache module and is hence not available in the CGI version. In an Apache …
Continue readingEver have those annoying spammers sign up for something with their email addy and always make up some donkey crap? Well, here is a script that will allow you to …
Continue readingWhat’s a cookie you ask? Cookies are little pieces of text that are sent to a user’s Web browser. Cookies can help you create shopping carts, user communities, …
Continue reading
Have you ever need to know what your server is running? Need to see if it runs MySQL? Well here is a way of knowing what options are available in PHP and what’s …
Continue readingOK, everybody has a hit counter on their page. But how many people actually make their own? Ya well, I am going to show you how to create a simple page counter …
Continue readingTheir will be many different instances when you might need to write to a file. What we are going to do now is create an HTML form, and a PHP code so when you …
Continue reading
Do you have your own database? How would you like to know how many entries you have in your database from a PHP page? Well its easy, I am going to show you a …
Continue readingEvery web site has email. Rather it being a feedback form of some sort or a mailto: tag, why make it hard for the visitor to contact you? When you can take 3 …
Continue readingIf you have ever had the need to validate an IP address then this small script is for you. function validate_ip($ip) { if (is_string($ip) && …
Continue reading