Skip to main content

Posts

Showing posts from December, 2010

What is Bandwidth Stealing - Direct linking - Hot linking?

What is Bandwidth Stealing / Direct linking / Hot linking?

Simple way to explain "Bandwidth Stealing" is, Suppose you are displaying website images or icons hosted on some other's server with out their permission on your blog/ website, then it is a Bandwidth theft and you are stealing their bandwidth.
The owner of that website is paying for bandwidth of the site from where you linked an image.

Ajax Fancy Captcha - jQuery plugin

Ajax Fancy Captcha - jQuery plugin - WebDesignBeach.com

Ajax Fancy Captcha is a jQuery plugin that helps you protect your web pages from bots and spammers. We are introducing you to a new, intuitive way of completing “verify humanity” tasks. In order to do that you are asked to drag and drop specified item into a circle.

Captcha’s security level is medium, with the emphasis on nice looking and user friendly qualities while still offering reasonable protection from unwanted “guests”. Basic design and its elements are easy to change and customize (take a look at file structure for more information).

Accessing RSS Feeds using RSS Reader - Integrating RSS Reader

RSS Feed Reader

RSS feeds are a spam-free, quick and efficient way to read news and weblogs. To get the most out of newsfeeds, you need a powerful aggregator. Aggregator refers to a web site or computer software that aggregates a specific type of information from multiple online sources. In computing, a feed aggregator, also known as a feed reader, news reader, rss reader or simply aggregator, is client software or a Web application which aggregates syndicated web content such as news headlines, blogs, podcasts, and vlogs in a single location for easy viewing. RSS feeds can be read using software called an "RSS reader".

Web-based Reader

The most commonly known web-based aggregators are reader applications on the web. These are meant for personal use and are hosted on remote servers. Because the application is available via the Web, it can be accessed anywhere by a user with an Internet connection.

Client software

Client software aggregators are installed applications designed t…

How to Make an RSS Feed?

Making RSS

RSS Feeds

RSS also known as rich site summary or real simply syndication. RSS Feeds provide webmasters and content providers an avenue to provide concise summaries to prospective readers. Thousands of commercial web sites and blogs now publish content summaries in an RSS feed. Each item in the feed typically contains a headline; article summary and link back to the online article.


RSS allows webmasters to:
1.) Provide fresh and relevant content on their website, which encourages users to return.

2.) Constantly changing content means that search engine spiders will visit more frequently.

3.) Automate content delivery.






RSS allows for users to
:
1.) Easily locate information.

2.) Read condensced information or 'soundbytes' with clearly marked and dated topic material.

3.) Classify and categorize information in an easy to navigate manner.

4.) Maximize their time without having to deal with spam.

RSS feeds can be viewed in a news aggregator or reader, which constantly updat…

Tips to improve the page loading time of a website.

Pages which load slow in the machine will definitely break site users patience. So building a fast loading website has become an art for talented web developers.

By taking care of some some things while your development can improve the loading time of your website.

Tips to improve the page loading time of a website.






Below are some basic things you have to consider while developing HTML:W3C validation Try to load only one js file and one css fileCompress css and JS fileTry to avoid including of js files inside the body partAvoid complex nesting of tablesTry to follow div layout ( avoid tables )Reduce the size of html files ( the one which we will see in view source )Use CSS spritesReduce the number of requests send to the server to load DOM itemsReduce image quality to a medium level, do not use HD videos or Multiple HQ images to load in same pageThings you have to consider while developing Server Side :Try to reduce the number of database queries.Analyse the flow of a particular pa…

PHP function to check valid Email Addresses

Here is a Simple PHP function to check valid Email Addresses.

The function accepts Email string
trims it

check whether it satisfies the Email format.

if it satisfies then return TRUE else FALSE.


Scroll down for the function.




function validateEmail( $strEmail ){

$strEmail=trim($strEmail);
if( $strEmail!="" ){
$pattern="/^([a-z0-9_\.]+)@([a-z0-9_\-\.]+)\.([a-z]{2,3})$/i";
if( preg_match($pattern,$strEmail,$match) ){
return TRUE;
}else FALSE;
}else
return TRUE;

}




How to use this function?


$myEmail=$_POST['txt_email'];

if validateEmail( $myEmail )
echo("VALID EMAIL");
else
echo("YOU ENTERED AN INVALID EMAIL.");






Hope thi shelp someone... :)

Increasing the PHP script execution time

How to Increase the PHP script execution time?

I am using a csv processing code , when i tried to import the csv content to the table using the php script, it take too much time and after that a download pop of the executing scripts name is showing...I think this is due to execution time problem. How to fix this?



Three ways we can solve this. : Scroll down for the solution.



Three ways we can solve this.

1) set_time_limit() function

usage : void set_time_limit ( int $seconds )

Set the number of seconds a script is allowed to run. If this is reached, the script returns a fatal error. The default limit is 30 seconds or, if it exists, the max_execution_time value defined in the php.ini.

When called, set_time_limit() restarts the timeout counter from zero. In other words, if the timeout is the default 30 seconds, and 25 seconds into script execution a call such as set_time_limit(20) is made, the script will run for a total of 45 seconds before timing out.

The maximum execution time, i…


Urgent Openings for PHP trainees, Andriod / IOS developers and PHP developers in Kochi Trivandrum Calicut and Bangalore. Please Send Your updated resumes to recruit.vo@gmail.com   Read more »
Member
Search This Blog