It Stuff : Cheap Web Hosting

Hello,
In a recent post of mine I have been talking with you visitors about php hosting technology. Now it’s time to guide you finding cheap web hosting on the internet. First of all, what you should do is to go to big G (oogle) and search for cheap reliable web hosting. Step two is of…………….

Read It Stuff : Cheap Web Hosting »

PHP Tutorial : Read file with php

Reading the contents of a file with php is made via read php fread() function. Additionally we need to use other to functions for opening the file called fopen() and to close it with fclose(). PS : the f from the front of the functions comes from File. Here is an example of usage :

<?php
$textFiletoRead…………….

Read PHP Tutorial : Read file with php »

PHP Tutorial : Writing your own custom functions

Errrr,
I dont know which hello word to say for this post to keep the “unique” style so will start explaining how you can do it. Firstly, you have red about a lot of “ready made” php functions which comes with the language. Now it’s time to create your own functions with your own name (must…………….

Read PHP Tutorial : Writing your own custom functions »

PHP Tutorial : Parse/split url and get components

Hello folks,
My question is : how do you split and get an URL to get his components? If you’re using all kind of functions, regular expressions or whatever, here is the save and original function you’ll need and it’ll do your job : parse_url() php function. Look how simple is:

<?php
$url = “http://readytousesolutions.com/phpblog/”;
print_r(parse_url($url));
?>

Read PHP Tutorial : Parse/split url and get components »

PHP Tutorial : Parse english time into unix timestamp

hello,
Sometime I discovered a very “pretty” php function which parses about any english date/time into unix timestamp. I used it to calculate dates, like adding 1 more day to a date or 1 year who cares. Also, I used to merge it back into “normal” format like dd.mm.yyyy

<?php
//isn't it simple ?
$oneyear = strtotime(“+1 year”);
$oneday =…………….

Read PHP Tutorial : Parse english time into unix timestamp »

PHP Tutorial : Detect visitor country by ip address

Looks like there’s a lot of interest in php scripts that allows to detect visitor’s country. That’s why I decided to write a guide on how to put up a simple and ready to use solution for this.
First, the low hanging fruit
There is a free tool to detect visitors country by ip address, called “Maxmind…………….

Read PHP Tutorial : Detect visitor country by ip address »

PHP Tutorial : Secured encrypted passwords

Are you searching for a way to encrypt and secure a password or just a simple phrase? If the answer is yes, in php exists a lot of functions which does that, but the most popular is md5() encrypting function. It simply cant be decrypted.

<?php
$password = “mypass”;
$password = md5($password);
?>

Read PHP Tutorial : Secured encrypted passwords »

PHP Tutorial : getcwd get full path on host

Hello,
How many scripts which you had to install required you to enter somewhere the full path of your account in the web host? Say, in the evergreen config.php file? There are quite a few I guess. The full path on the ftp consists in a linux like full path in the most of the cases.
You…………….

Read PHP Tutorial : getcwd get full path on host »