PHP

PHP

This category contains 12 articles

You are Currently Having a Look at PHP

PHP Tutorials & Advice


PHP: Submit a Form Automatically or PHP Spam Bot

Hi there, I’m posting you something PHP related, however it wasn’t intially made to be malicious. It was designed for a client who had multiple submission forms and want to test them all at once. In this instance, I have designed and created a little function which allows for re-usable code.
PLEASE NOTE THAT THE QUOTATION [...]

PHP Basics : Get Command - Using URL Queries & Variables

Please Note: The code in this article uses the incorrect quotation marks (”), please subsitute with standard ones on your keyboard them when copying & pasting the code from this article.
Hey chaps, it’s time for something useful, lately we’ve been practically pounding you with game reviews, probably to the point you have actually forgotten what programming [...]

PHP Basics: PHP Functions Explained Tutorial

IMPORTANT NOTE: If you copy code out into your editor, it copies the wrong type of quotation marks “. Please use standard ones or your scripts wont work. (shift 2 gives you normal ones)
Functions, are a handy tool in any language, and PHP is no different, so today we’re going to get your php functions [...]

PHP Web Applications Design Process

When it comes to designing an application, sometimes the most difficult part is actually starting it, and seeing a means to an end - the finish.
I’m going to chat about my method for designing & building applications, it isn’t the 100% suggested method, but quote often with these things you have to go with what [...]

PHP Quick Tips: How to check if a number is odd or even using modulo

When developing in PHP, you’re going to encouter the problem of checking if a number is odd, or even. It can be used to stagger an output & alternate the row colours (creating a striped effect) - or be used for a more complicated calculation. To achieve this you can use the special operator called “Modulo” (admit it, it sounds cool!).

PHP Basics: Limit Characters of a String or Input substr

Hi all, this is a handy tutorial in php to limit the number of characters. I recently did this for a project I’m working on, where I need to limit a post code form field to only show part of the post code, but this has other uses too, I do realise this is relatively [...]

PHP Basics : If / Else / Else If Statements Tutorial

At some point in your PHP learning you’ll have to tackle this, and by tackle I mean go up to it and take one look and realise it isn’t that bad, infact its easy. It’ll greet you kindly, and perhaps even let you stroke it. Ok I seem to be loosing the plot here, so [...]

PHP Basics: Search a String - Needle in a Haystack

Possibly one of the handiest php functions around, I’m going to take you through how to use it, and its possible uses.
I’ve used this on many occasions, especially when writting database based applications, you quite often want to match things which aren’t always inputed accurately by the user or often incorrect. So here it is.
string [...]

PHP: Easy Form to Mail Tutorial

Hey, I’ve finally got around to making you a cool PHP Tutorial, with a practical use. If you’re a web designer, this will allow you to add contact forms to your clients websites, and if you wanna get into php, this is a nice little tutorial that will get you going.
What you’ll need:
Linux server, php [...]

Learn PHP Basics - Hello World PHP Example

When learning anything new, we all have to start somewhere, so lets start at the utter basics. If your an expert you’re going to want to go right a head and navagate somewher else, or be sure to check out the WAMP article I did which might help you if your a php developer on windows.
Before [...]