Top 10 Websites By Time
I found nice article about top 10 web sites in 2007, I will list it in this small article, this is not what I think this is what I have read, but no matter article is interesting.
#1 Lemonade.com First place, site is about how to make extra cash by selling items, by adding gadget to your blogs or sites.
#2 AskSunday.com Get your own personal assistant free for one week, accessible 24/7 by email, phone, and the web.
#3 Wink.com With more than 200 million people signed up for social networks, how can you quickly find your best buddy from second grade, that guy you dated in high school, or your co-worker from three jobs ago? "I must say that in 2007 - 2008 this sites become very popular not only for users for developers too!"
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.


