Want to write some data to a text file and read the value.This article will demonstrate to you by an example how to write to a file and also an example to read from a file in PHP.The file will be written at a specified folder in your web hosting server and also be read Continue Reading …
Category: General
How to remove the ellepsis in wordpress excerpt , and add continue reading post link ?
When the default wordpress excerpt is shown, it ends with an ellepsis […] How to remove that and replace it and add a link to the post like , continue reading some post title. Here is how to do it Add this to your themes functions.php In some themes the text to be replaced is Continue Reading …
How To Find website incoming pages and search terms
The incoming page is the page your site visitor was before landing on your website.Also the visitor may use google search to reach your website. The search terms used by the visitor can also be analyzed.In this article you will read how you can find from which pages the visitors come on your website(incoming pages) Continue Reading …
How to capture a search query used in Google, Yahoo, and Bing then display it on your website?
The following php code will capture search queries at Google,Yahoo, Bing and Ask.com as well as list all referring pages including internal pages of your website.It is also desired that we should get the unique keywords or referral counts with the display.Of course the script will do this for you. Copy the above code to Continue Reading …
Moving a website without downtime to a new server
Moving a website can be an easy process with zero downtime if done properly. To do so you only need a little preparation and allow for about 3-4 days overlap between the two hosts. Your primary concern is having control of your domain names. This is paramount as you will need to be able to Continue Reading …
Can we include one css file in another ?
We can include a css file in another file so that the file inherits all the code of the included file.This will enable the new file to be loaded after the file from which css is being inherited.This is how you can do it with one single line of code at the top of your Continue Reading …
Turning Off Directory Browsing in Cpanel Web Host
Turning off directory browsing is one of the most important steps to be carried out immediately in your cpanel web hosting account. By default the indexes are On.This means that when you type a URL of a folder which does not contain the default file index.php or index.htm or index.html, the contents of the directory Continue Reading …
How to capture google search terms and display them on site
If you want to capture google search terms and display keywords on your site then this is what to do.You can create a php script file and upload to your web host. Here is the code for the php script file.Name the file as display-keywords.php.Change file permissions to 755 after upload. Also create and upload Continue Reading …