Apr 07, 2011 — 6 comments
Hello reader! In this Blog I will cover the topic, Canonical Issue, There Consequences and how to Resolve and get rid from such issues. So lets first start with......
There are times you might want to reference a particular file in another file. These is mostly common in OOP. PHP provides function which can be used to reference another file from a calling file. These function are include() and require() and we will be looking at them shortly. These functions help in creating functions, headers, footers, or elements that can be reused on multiple pages. This will help developers to make it easy to change the layout of complete website with minimal effort.
We can get current server path or current working directory in PHP using getcwd function. You can change current working directory using chdir function.
We will be looking at an interesting topic today: Difference Between Arguments And Parameters. No doubts most of us do use these two terms interchangeably while working with functions. New to functions? read my other tutorial Functions In PHP. These two terms can be confusing and are mostly used in place of the other, but as a programmer you should be able to identify and use your terms properly.So what are arguments and parameter?
Today we will be taking a quick look at Single vs Double Quotes In PHP. This is going to be a very brief tutorial. Most people (myself inclusive) misuse this quotes. Now that I understand where and when they are being used, I decided to share it with you guys.
A handy PHP script which allows you to count the number of likes for a specific Facebook page
Functions in PHP are block of codes or statements that can be executed repeatedly from any point in a script after it has be declared. A function is ignored until when called in a script. Using functions, you can write codes that are readable and reusable. Functions also helps to modularize your code.
Streamlining your web development workflow is a gift that will pay off every day! Read this brief post to get a few tips for making your next project run smoothly while garnering some with massive time savings.
For both style and seo reaasons, having bold first paragraph content in your wordpress website is a smart feature. While searching for a quick and easy to use method of implementing this feature, I came across a handy PHP snippet that makes your first paragraph bold or larger. This PHP snippet works alongside CSS which allows you to style your first paragraph anyway you want!
PHP Array Length can be measured by using either count function or sizeof function in php. both functions will work same, sizeof function is alias of count.
Help us out! More and more tutorials are submitted to Good-Tutorials each day. We could use your help with finding good tutorials. Mind lending a hand?