Posts marked with "URL" in tags

SPAM URL’s in Blogger Traffic Source Stats : What should I do ?

You might have noticed a great volume of sites you never heard of coming to your site apart from Search Engine URL’s. Some of those URL’s are filmhill.com and vampirestat.com.

These kind of URL‘s are SPAM. The SPAM site is referring your site but they are not persons, they’re BOTS. These bots are visiting your site just for fun. These bots don’t read your posts or anything. They’re just a pile of robots. The bot is ran by a script. Probably PHP.
This scripts visits your site using CURL function with the referrer of their site. In PHP if you echo $_SERVER[‘HTTP_REFERER’] you will get the site where the user just came from. Blogger is using the same function but not PHP to record the traffic sources.

... [READ MORE]

Get Google Profile Picture URL by email id using PHP

This is a trick using Google Profile.
First of all we are going to set a variable with a Google E-mail address (Gmail address). We are going to set it with my E-mail address

$email=’subins2000@gmail.com’; 

Then we are going to split @ from the mail address.

list($id, $domain) = split("@",$email);

Next we are going to send a request to Google Profiles to fetch the IMAGE url.

$headers = get_headers("https://profiles.google.com/s2/photos/profile/".$id, 1);

The variable $id above is from the splitted part.
Finally we have to get the URL of the user’s profile picture.

... [READ MORE]

My Short URL – a site for shortening URL’s

My Short URL is my latest invention. A site for shortening URL’s like goo.gl and bit.ly.

<div>
  You can short URL&#8217;s on the site <a href="http://msurl.tk/" style="font-weight: bold;">MSURL.TK</a>.
</div>

<div>
</div>
As other projects the site is also hosted by AppFog and the free domain is given by My.Dot.TK.
The project was created under 30 minutes and the lines of code is less that 64.
It’s written in PHP as you already know it. 
The shortened URL only has 13 characters (without HTTP://).
The shortened URL will not have .php extension. I will tell you how to view page without file extension on the next tutorial.
Enjoy Shortening URL !
... [READ MORE]

Create Text Editor like Blogger Using HTML & jQuery

You might have seen text editors where you can bold a text, italic a text etc… The perfect example of this the Blogger Post Text Editor

This is a simple tutorial that will create a text editor using HTML, Jquery & JavaScript.

We have two files, index.html which contains the HTML code and texteditor.js which contains the jQuery code. You should include the texteditor.js in index.html.index.html

... [READ MORE]

Follow/Subscribe

Telegram 

Mastodon  Twitter

GitHub GitLab

Subdomains

Demos  Lab

Past

This blog was once on WordPress. Now a static site. See source code on

GitLab