Posted by Pete | Posted in PHP Functions | Posted on 10-08-2009-05-2008
0
In this tutorial we will learn how to list all the files that are in a directory via PHP. This is a quick and easy technique which will also remove the . and .. from the listings. So lets get started.
Read the rest of this entry »
Posted by Pete | Posted in PHP Functions | Posted on 17-07-2009-05-2008
1
BioHosts staff have created a function to allow you to retrieve the site title of any website. This will allow you to include the title in links as we have shown. Keep reading for our fully commented function to do this yourself.
Read the rest of this entry »
Posted by Pete | Posted in PHP Functions | Posted on 17-07-2009-05-2008
1
Youve seen it done on new content systems. Now we will show you how you too can show only part of a string weather this is to fit a template box or just to make your readers investigate your site more.
Read the rest of this entry »
Posted by Pete | Posted in PHP Functions | Posted on 16-07-2009-05-2008
0
Bulletin Board Code or BBCode is a lightweight markup language used to format posts in many message boards. Formats include [b]BOLD[/b] [i]Italics[/i] etc. We will show you how you can create your own function to accept BBCode and will show an example on how to use it.
Read the rest of this entry »
Posted by Pete | Posted in PHP Functions | Posted on 16-07-2009-05-2008
2
Having a secure password is important while surfing the internet. So generating a completly random password is a good way to stay secure. So with this fully commented function it will be simple to implement.
Read the rest of this entry »
Posted by Pete | Posted in PHP Functions | Posted on 16-07-2009-05-2008
3
Injection into websites is getting more and more common, This is due to more hackers/kids learning to deface peoples websites for the “Fun of it”. But one main way to stop them is protecting your forms. Below is a function which removes all tags e.g HTML, PHP etc and turns all htmlentities such as ” ‘ & etc into the html forms.
Read the rest of this entry »