PHP display pageload time

Posted by on Sep 24, 2009 in PHP, Web Design & Development | 0 comments

Its very useful to know how long your pages took to process. This not only gives you some idea of the efficiency of your websites and of the server running time. This code can help you diagnose problems, benchmark code corrections/additions, etc. The best way to do this is program PHP to read the system time at the beginning of the page, scan it again near the end, and then work out the difference between the values. To get us started, just add the following basic code near the top of your page, before all the main content:

 
<?php
$endtime = microtime();
$endarray = explode(" ", $endtime);
$endtime = $endarray[1] + $endarray[0];
$totaltime = $endtime - $starttime;
$totaltime = round($totaltime,5);
echo "This page loaded in $totaltime seconds.";
?>
Read More

Small seo guide (beginners)

Posted by on Sep 24, 2009 in SEO | 0 comments

Small SEO guide for website optimization, learn and use tips to set up and promote your website, business, portfolio on-line.

  1. The title and description page – “I noted that it’s much better if the title is simple and relevant, without too many key words separated by “|” and easily understood. density sea of words key title does not help you not to have a ranking better for all keywords.
  2. Age is not so important to a new website – Content with good quality and backlinks can obtain good results in SERPS even if there is no age rank and trust.
  3. Backlinks – I think that the most important factor in SEO optimisation are backlinks, each link to your web site can bring a small profit in particular.
  4. How to obtain backlinks?
  • comments on other blogs;
  • social bookmarking;
  • buy/trade/exchange links;
  • links in web directories;
  • articles exchange;
  • very good content.
Read More

Windows 7 tip: make it more faster

Posted by on Sep 23, 2009 in Microsoft | 0 comments

Windows 7 is already very fast and reliable but this tutorial will help you in getting the max performance of your system.

 

1. Right-click on Computer icon on Desktop and select Properties (or press WIN + Pause/Break keys). Now click on Advanced system settings link in left side pane (You can open it directly by giving sysdm.cpl command in RUN or start menu search box). Now click on Settings button in Performance section.

 

2. Disable all unnecessary options in Visual Effects tab, you can remain following options enabled according to your requirements:

  • Enable desktop composition (If you want to use Windows Aero theme)
  • Enable transparent glass (If you want to use transparency in Windows)
  • Show thumbnails instead of icons (If you want to show thumbnails in Explorer)
  • Show window contents while dragging (If you want windows to show content while moving them)
  • Smooth edges of screen fonts (If you want to show smooth fonts)
  • Use drop shadows for icon labels on the desktop (If you want to show shadows under desktop icon labels)
  • Use visual styles on windows and buttons(If you want to use Windows Aero or Basic theme.
    • Display file size information in folder tips
    • Hide extensions for known file types
    • Show encrypted or compressed NTFS files in color
    • Show pop-up description for folder and desktop items

3. Open Windows Explorer and go to “Organize -> Folder and Search Options” and click on View tab.Now disable following options:

 

After the above mentioned points, you will see some noticable improvements in your system performance.

Read More

Windows 7: 2 useful tips

Posted by on Sep 23, 2009 in Microsoft | 0 comments

Easy to modify, easy to acces informations and an easy way to go back to windows xp style. Learn how to adjust and to change windows logon wallpaper, and to add additional quick launch bar.

Adding  the additional quick launch known in  previous versions of windows.

  1. You click on right taskbar. The open window use toolbars-> new toolbar.
  2. It will open a window RTP route to the new toolbar. %userprofile%\AppData\Roaming\Microsoft\Internet Explorer\Quick Launch and click Select Folder.
  3. Now you get old quick launch the bar. You click again right click and select unlock right taskbar. You can now to pull the new toolbar left RTP bring him in position known.
  4. Right click on Quick Launch and on the window and unselect Show Text and Show File.

How to change the logon image.

  1. Using RUN -> write regedit.
  2. Find the syntax: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Authentication\LogonUI\Background.
  3. In the right pannel, change value for OEMbackground to 1.
  4. Now go to the folder called: %windir%\System32\oobe.
  5. Create a new folder, inside the folder ”oobe” and name it ” info”. Next under the folder called “info”, create a new folder that will be named as “backgrounds”.
  6. Copy in the folder called “backgrounds” your favorite wallpaper.

Something more about changing the logon image:

  • Name of the wallpaper must be backgroundDefault.jpg.
  • The image must not have the size under 256 KB.
  • The image must be JPG format.
Read More

10 tips to protect your computer from viruses (beginners)

Posted by on Sep 23, 2009 in Technology | 0 comments

Ten useful recommendations, useful tips to set up your computer for the best security. Information is precious, learn to keep it safe, at home and at  work.

  1. Make & spend some time learning to protect your system and information.
  2. Buy and use an antivirus. Chose an best antivirus application. Check Mark, AV-Test.org and TuV are the most respected antivirus software testers.
  3. Buy an firewall solution & use firewalls that can control and filter Internet traffic.
  4. Do not open e-maills that are coming from untrusted sources. Many viruses can spread over your e-mail messages, do not hesitate to ask  sender confirmation if you have doubts about the email.
  5. Do not open attachments with suspect subjects. If you wish to open the first save them into the hdd drive and scan them with an updated antivirus software.
  6. Delete any unwanted message or of the chain. Do not send them further and do not answer to them. This kind of message is classified as spam, because is unwanted.
  7. Avoid installing on the desktop services and applications that are not required in the operations of day to day, such as the transfer of files and sharing files, desktop and server of remote ones. These programs are potential risks and should not be installed only if absolutely necessary.
  8. Update your system and applications from your computer often. Some Operating Systems can be set up to update automatically.  Failing to update system for most of the times will leave window of vulnerability for threats already existing.
  9. Do not copy or install a file from unknown sources or in which you do not trust. Check the source and scan them with an antivirus software.
  10. Make often security copies of your personal information ( emails, documents, pictures, videos ). Put those copies over cd`s and dvd`s.

We recommend an free antivirus software: ClamWin free antivirus for Windows.

Read More