If you want to upgrade php automatically on your dedicated server or VPS, you can easily do this with this method, first of all write this command
wget -q -O – http://www.atomicorp.com/installers/atomic.sh | sh
if you are updating from php 4 type this to replace the PHP 4 php.ini with PHP 5.2.x’s
mv /etc/php.ini.rpmnew /etc/php.ini
now type this to replace the php.conf with the PHP 5.2.x php.conf
mv /etc/httpd/conf.d/php.conf.rpmnew /etc/httpd/conf.d/php.conf
now restart your webserver
service httpd restart
Many ISP(Internet Service Provider) are blocking 25 port which is used to send emails from email clients like The Bat, Outlook, Thunderbird .etc, so what you must do if you want to use some email client, this is very simple, login as root, go to your postfix directory by default this is ” etc/postfix ” you must edit ” master.cf ” you can use this command ” vi master.cf “, click ” i ” and add this
<em><strong>2525 inet n - n - - smtpd</strong></em>
which will open 2525 port, save changes and exit ” :wq “, now you can use 2525 port to send emails.
Read from open file can be done with function fread
- string fread(int file, int length)
This function returning string with size of length from file which you want to read, for example
$file = fopen("c:\file.txt", "r"); // File which must be opened
if(!$file) //if file have not been loaded
$buff = fread($file, 100); // Read from $file(file.txt) maximum 100 characters
print $buff; // Print content of file which was read
First of all you must login as root, Then go to your php.ini category for example in etc category. type ” ls ” this will show that you are in right place, now type “vi php.ini ” and by clicking ” i ” start editing what you want but be careful, then press ” Esc ” type “:” and ” wq ” to save file and exit. Restart your httpd and your done.
In the ranking algorithm of google.com, one of the most important factor is inbound links. This is very simple principle: if page 1 links to page 2 this means that page 1 giving his recommendation to page 2, the more site links to your site, the better your ranking, but you must understand that only large amount of inbound links are not everything, quality of inbound links is important too. Links which contains keyword for which you want to get high ranking is better then link with keyword for example: click here, click or etc.
Inbound links are important factor in search engine optimization, but outgoing links also have some impaction on your web site. Some times links to other web sites showing your visitors that your site can be trusted, of course if you are sending your visitors at page where they can found negative information about your site, you must make attention at quality of web sites you are linking, for example if you link at microsoft.com, or apple.com visitor will associate your site with these high quality sites. You must not be afraid that you are sending visitors to other sites if you don’t make this visitors visitor will go back to search engine, but if you send this visitor to some other sites this sites probably send visitors for return.