Archive of php

Connecting to an imap server using imap_open Thumbnail

Connecting to an imap server using imap_open

php allows you to do a lot of things including reading your email! This IMAP series will show you how to use the built in imap functions that php has to offer. The first is imap_open

Read MoreView Comments (1)
03May2010
Author
Dave
Category
PHP
Tags
, , , , , , ,
How to ping search engines with curl Thumbnail

How to ping search engines with curl

when you add new story or update an existing one it may take a few weeks for search engine bots to re-index your site, I've noticed however that some sites get re-index very shortly after adding or updating content on their website, which got me thinking how did they do it? the answer they ping search engines when ever there's any changes which informs the search engine bots there's been a change and to read the site's sitemap again this process is usually done within a few minutes of sending the ping.

Read MoreView Comments (1)
13Mar2010
Author
Dave
Category
PHP
Tags
, , ,
Create an RSS feed with PHP Thumbnail

Create an RSS feed with PHP

This tutorial will explain how to create an RSS feed, That is easy to setup but also validates as a valid feed.

Read MoreLeave a Comment
12Mar2010
Create a simple FTP class Thumbnail

Create a simple FTP class

FTP is well known to all designers/developers to moves files from a local computer to a remote web server, What if you want to copy a file from one server to another? the recommended choice would be to use SSH or telnet but if you don't have access to these then you would download the files via FTP and then upload them to the new location. there may be times where you just want to copy a single file to another server connection via FTP and download then uploading seems a little tedious, a better way is to copy the file directly from the current server to the new server. To do this I'm going to create a simple OOP FTP class that will do the heavy lifting for me and let me repeat the process as many times as required.

Read MoreLeave a Comment
11Jan2010
Author
Dave
Category
PHP
Tags
, , , , ,
Limit the amount of characters from a MySQL Query Thumbnail

Limit the amount of characters from a MySQL Query

Tutorial to limit the amount of characters from a MySQL query.

Read MoreLeave a Comment
10Jan2010
Author
Dave
Category
PHP
Tags
, , , ,
Login Script with Validation Thumbnail

Login Script with Validation

A login script tutorial to log users into your database driven site using sessions

Read MoreLeave a Comment
08Jan2010
Change file permissions dynamically with php Thumbnail

Change file permissions dynamically with php

A tutorial to change file permissions dynamically with php

Read MoreLeave a Comment
03Jan2009
Author
Dave
Category
PHP
Tags
, , , ,
Split a string into parts using explode Thumbnail

Split a string into parts using explode

A tutorial to split a string into parts using explode.

Read MoreLeave a Comment
03Jan2009
Author
Dave
Category
PHP
Tags
, , , ,
Delete folders from server using PHP Thumbnail

Delete folders from server using PHP

A tutorial to create a function to delete folder and all sub folders from the server.

Read MoreLeave a Comment
10Dec2009
Author
Dave
Category
PHP
Tags
, , , ,
Edit data from a database Thumbnail

Edit data from a database

A tutorial to edit existing data from a MySQL database.

Read MoreLeave a Comment