It Stuff : Cheap Web Hosting
Feb 24, 2009 It Stuff
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 »
Tags: cheap web hosting
PHP Tutorial : Read file with php
Feb 23, 2009 Basic 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 »
Tags: fclose, fopen, fread, php fread, php read, php text read, read file with php, read php
PHP Tutorial : Writing your own custom functions
Feb 19, 2009 Basic PHP
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 »
Tags: custom functions, php custom functions, php existent functions, php functions, php functions name, php own functions
PHP Tutorial : Parse/split url and get components
Feb 16, 2009 Basic PHP
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 »
Tags: php get url, php get url components, php parse url, php split url
PHP Tutorial : Parse english time into unix timestamp
Feb 11, 2009 Basic PHP
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 »
Tags: add date to time, Parse english time into unix timestamp, parse time, time to date, unix timestamp
PHP Tutorial : Detect visitor country by ip address
Feb 7, 2009 Useful PHP
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 »
Tags: detect country, detect visitor country, Detect visitor country by ip address, ip to country, ip2country, php detect country, php detect visitor country, php Detect visitor country by ip address
PHP Tutorial : Secured encrypted passwords
Feb 5, 2009 Basic PHP
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 »
Tags: encrypt, md5, password, php encrypt, php password, php secured, secure
PHP Tutorial : getcwd get full path on host
Feb 1, 2009 Useful PHP
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 »
Tags: ftp path, get account full path, get current working directory, get full path, get host full path, getcwd, php get full path, php getcwd

