Ok, in this tutorial I’m going to show you how to write a formmailer with required fields in php. First off we need a form to use with this tutorial so use the code below and save it as form.php. Read more →
A PHP Redirect automatically transfers a web user from one URL to another. For example, typing foo.com in the browser automatically transfers the user to another URL bar.com.
The PHP Redirect command:
<?php header("location: [some-url]"); ?>
Replace [some-url] with the URL where you want the redirection to take place. Read more →
PHP is one of the most popular server side scripting languages running today. It is used for creating dynamic webpages that interact with the user offering customized information. PHP offers many advantages; it is fast, stable, secure, easy to use and open source (free). Read more →
Since its development in the mid-90‚Äôs PHP has become an increasingly popular scripting language. If you‚Äôre involved in webpage design, it is nearly impossible to avoid discussion of PHP. You may be wondering if learning PHP is the right thing for you and your website. Read more →
PHP, or PHP: Hypertext Preprocessor, is a very simple programming language that turns the paradigm for dynamic web page creation inside out. While other dynamic scripting languages, like PERL, will have you create a web page and keep the scripts on the server outside the page, PHP has you integrate the script directly into the page.
We expect our readers to have a more than firm handle on what PHP is, but for completeness-sake: PHP (a recursive acronym of PHP: Hypertext Pre-processor) is an open source, server-side web-scripting language for creating dynamic pages. Outside of it being browser independent, if offers a simple and universal cross-platform solution for e-commerce, and complex web and data-driven applications.
Lets say you have a Web site with 10 or so pages, and you want to update the navigation. You don’t want the hassle of updating every single page. That’s where includes come in handy.
Your basic include will look like this. Read more →
You have already used many functions with PHP. Every time you do:
explode(‘ ‘, $value1);
you’re using a function. These are known as built in PHP functions because they are the same and are available on every PHP setup. You can access them in any script without needing to do anything special.
A function can be classed as a subprogram that can act on data and return a value. Read more →
Object orientated programming (OOP) is a commonly used term when discussing modern programming techniques. One of the things that makes humans stand out is the ability to categorise – we put objects into categories of similar type of function. For example, we have the category vechicle. Read more →
Creating your own user registration system allows you to obtain interesting information about the visitors to your site. You can offer tailored content, provide additional services and keep track of what is being used. But how do users actually register for your site? They will be using a user registration system that may or may not be coded by yourself. One of the key parts of this system will be the validation of their account. Read more →