Web Masters Site All For Web Masters

27Aug/080

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

23Aug/080

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

Filed under: Linux SA No Comments
15Aug/080

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.
Filed under: SEO No Comments
14Aug/080

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.

Filed under: Linux SA No Comments
13Aug/080

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
 
}
 
?>
Filed under: PHP, Programming No Comments
11Aug/080

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.

Filed under: Linux SA No Comments
8Aug/080

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.

Filed under: SEO No Comments
2Aug/080

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.

Filed under: SEO No Comments
28Jul/081

How To Get High Quality Animated Gif In Flash

You make animation and want to save it into GIF file, you have exported it as animated gif but quality is bad ? you can easily use this method to get better quality animated GIF from flash.

First of all make animation, now click on Publish Settings(Ctrl+Shift+F12), check Gif Image(.gif), from Formats tab go to tab GIF, into Playback: check Animated and and into Palette Type: choose Adaptive, set max color for example 99999 or leave it, recheck if into Options are checked Optimize Colors and Smooth and click Publish, now you get better quality animated GIF image. You can use this method to create banners or some small animations.

Filed under: Flash 1 Comment
23Jul/080

Good AdNetwork Companies For Gaming Content

3 ad networks for gaming content which I have tried, I like all of this networks and i get high income from them. I will tell you how much can earn for clicks and impressions, and how they are paying out.