Php Interview Questions and Answers – Part 6

php-interview-title

1- How can we register the variables into a session? session_register($session_var); $_SESSION['var'] = ‘value’; 2- What is the difference between characters �23 and x23? The first one is octal 23, the second is hex 23. With a heredoc syntax, do I get variable substitution inside the heredoc contents? Yes. 3- How can we submit form without a submit button? We can use a simple JavaScript code linked to an event trigger of any form field. In the JavaScript code, we [...]

8 SEO Tips For Facebook Graph Search

seo

Facebook Graph Search has a huge database – One billion people, more than 240 billion photos and a trillion connections. To tap this traffic gold mine with your Facebook page, it has to be SEO optimized. It has to emits the necessary signals for maximum visibility in Facebook Graph search. Definition: A Facebook Search Engine which returns the best possible suggestions (search results) when people search for things and relationships they care about. Web search Vs. Facebook Search: When you [...]

Php Interview Questions and Answers – Part 5

php3

1- How to reset/destroy a cookie ? Reset a cookie by specifying expire time in the past: Example: setcookie(‘Test’,$i,time()-3600); // already expired time Reset a cookie by specifying its name only Example: setcookie(‘Test’); 2- What types of images that PHP supports ? Using imagetypes() function to find out what types of images are supported in your PHP engine. imagetypes() – Returns the image types supported. This function returns a bit-field corresponding to the image formats supported by the version of [...]

Add Rich Snippets to Your Site to Increase CTR

richsnippets

Many a times, traditional, text-only search results are too boring. Can we make the search results more attractive by adding STARs, PICs, $s, and provide extended and more accurate information for quality traffic and better conversion? Yes, you can add a bit of ZING to your search results by integrating structured data markup in to your blog. Simply by adding a piece of code to your blog you can show rich snippets in your search results. What is Rich Snippets? [...]

Set your Permalink for Better SEO

permalink

Have you set your permalink correctly. If not, do it now to make your blog SEO friendly. Permalinks means – Permanent URLs to your blog posts and categories. These URLs are permanent, they never change, hence called Permalink. For better Search Engine Optimization, correct permalink structure for your blog is most important. Now, I will tell you about 02 types of URLs- 1.Pretty URL and 2.Dirty URL. Example of Dirty URL – http://www.webduos.com/index.php?page8725=start=access=4&category=33 Example of Pretty URL after proper restructuring [...]

18 Great Tips to Increase Page Rank

increase-google-page-rank

How to increase page rank – is a question, which keeps challenging webmasters since long time. Because increase page rank brings the authority to rule the web. Page rank is Google’s measurement of how authoritative or popular a website is, on a scale of 1 to 10. Where 10 implies the most trusted site, and 1 the least. Google decides the page rank by, the total aggregate vote of all inbound links to a particular website. If you want to [...]

11 Great Tips to Writing Blog Post

blog-post-writing

Wanna write a great blog post and grab the social media attention by flurry of re-tweets, likes or StumbleUpon ? Or, want to list your blog post on the 1st page of Google and drive loads of traffic to your blog ? I will tell you 11 great tips – How to write a blog post which is not only SEO friendly but also the potential to go viral in social media. Blog Post Writing – 1st Phase 1. Great [...]

Can You Answer These 10 SEO Questions

Running businessman.

I’ve compiled a set of 10 useful SEO questionnaire to brush-up your SEO knowledge. Sometimes, instead of reading lengthy articles and spending hours together, a few well-structured questions can make you dig deeper into the topic. I’m sure – most of the answers you already know. Rate yourself by giving you “number of questions you have answered correctly out of 10.” For better results/knowledge don’t read the answer immediately. Read the question, think a bit, and match your guess by [...]

PHP Security

script-secuity

When it comes to PHP, some 99% of amateur sites and 60-70% of all sites use the professional scripting language called PHP. But is it safe to use PHP? Does the implementation of the language not have any gaps that are critical to the operation of our applications? But remember that security problems do not arise just from the language itself, but also from the programming skills of those who write PHP scripts. Of course, most of the errors can [...]

Long Tail Keywords Benefits

long-tail-keywords

Long tail keywords targeting or optimization has greater benefits than its counterpart broad ones or head-terms. Long tail keywords search constitutes 70% of total search performed on major search engines like Google, Yahoo and Bing, and the so called head-terms the rest 30%. Even a trend of ultra-long tail keywords optimization has emerged in recent times due to various advantages it offers. Getting on the first page of Google for a long tail keyword is much easier than a broad [...]