Professional Navigation Buttons
Start new image with a new white background, Using the Rectangular Marquee Tool, create a rectangular selection for the button and fill the selection in white. Create new layer and select Blending Options click on Stroke and make everything like showed below
Upgrade To PHP 5.2.x on CentOS/RHEL/Fedora
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
then
yum update
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
(or)
/etc/init.d/httpd restart
Links Which Will Not Work With Search Engines
Ok we want to increase our inbound links, we want to increase our search position, so we must know how add our links correctly, we must know which links often does not work for search engines and will not improve your ranking, here is list
- Image Links
- Links in javascript code
- Redirecting links
- Links with the "outfollow" attribute this is new HTML attribute which has been introduced by google, yahoo & MSN, if search engine founds this attribute in link this link will not be followed by search engine.
Open Alternative SMTP Port with Postfix
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
2525 inet n - n - - smtpd
which will open 2525 port, save changes and exit " :wq ", now you can use 2525 port to send emails.
Read From Files In PHP
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 { echo "Error"; }else{ $buff = fread($file, 100); // Read from $file(file.txt) maximum 100 characters print $buff; // Print content of file which was read } ?>
Edit php.ini from ssh
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.
Outgoing Links
Yes 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.
Inbound Links, Back Links
In the ranking algortitmh 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 conteins keyword for which you want to get high ranking is better then link with keyword for example: click here, click or etc.


