Skip to main content

Posts

Showing posts from August, 2013

How to add BlogIt button or Widget on your blogger website

STEPS FOR ADDING BLOG IT BUTTON ON YOUR BLOGS
BlogIt button is a wonderful option for sharing your Blog pages with other blogger users. Blog It button allows other blogger users to post the Your Blog post's link on their blogger website.

How it works:

A blogger user who is browsing your website, Clicks on the BlogIt button or link
A popup blogger editor appears with your blog post title and a Link to your post
When user submit the data after selecting apporpriate blog, Then the content will be posted to that blog.

The code for doing this is given below


<script>
function load_blogit_form(){
Q='';
x=document;
y=window;
if(x.selection)
{
Q=x.selection.createRange().text;
}
else if(y.getSelection)
{
Q=y.getSelection();
}
else if(x.getSelection)
{
Q=x.getSelection();
}
window.open('http://blogger.com/blog_this.pyra?t='+escape(Q)+'&u='+escape(location.href)+'&n='+escape(document.title),'bloggerForm','scrollbars=no,width=475,height…

How to convert HTML files to XHTML? Is there any Online HTML to XHTML Converter?

HTML TO XHTML ONLINE CONVERTER
XHTML (Extensible HyperText Markup Language) is an extended version of HTML (HyperText Markup Language)) which is widely used for writing webpages. XHTML is an application of XML, a more restrictive subset of SGML ( Standard Generalized Markup Language ). HTML is a very flexible markup language which is an application of SGML. Unlike HTML, XHTML documents need to be well-formed, they can be parsed using standard XML parsers. On the other side HTML requires a lenient HTML-specific parser.

There and various online application available for converting HTML to XHTML. Listed below are some of it:

Apple Push Notification service (APNs) - for notifying iphone app users about latest and interesting things happening even if they are not using App

Apple Push Notification service

There are thousands of applications available for iphone and android devices. Here we will be discussing about the Apple Push Notification service which helps to alert user of an iphone application about new data from Application provider. Suppose an Online magazine website is providing an iphone app to it users, where they can browse their magazine and download it their iphone. When a new online edition is uploaded, the website will trigger the Notification service to send message / notification to its iphone app users related to availablity of new edition. So that they are informed about latest updates on the site.

Apple Push Notification service transports and routes a notification from a given provider to a given device. Here what happens is , when an app is installed on iphone, it asks whether user wish to get push notifications, If user confirms then a device token is generated for that device and it is send to the app provider's server and …

How to check the file type of an uploaded file in PHP - Checking of extensions and mime type of an uploaded file

How to check the file type of an uploaded file in PHP

In some web applications, there are situations in which users should only be allowed to upload certain type of files to server. For example, the application may accept only JPG type of files. Whne we upload a file, it is taken to a temperory location on server and from there it is copied to actual location on server. In php script When we post a from which is having a file control, the selected file content will be available in $_FILES variable.

// in the form the control would be named as document_file
<input type="file" name="document_file".......

On submission we have file content in $_FILE["document_file"] and it is placed in a temperory location on server, once the move_uploaded_file function is called, this file is moved to actual location on server. So before calling the move_uploaded_file function, we can check the type of the file and confirm whether it is allowed file type or not. if it is…

Godrej Customer Care Number and SMS format

Godrej Smart Care Number and SMS format

Recently Our Godrej washing machine had some problems with its Knob and timer. Here is what I did.:

I called at their Customer care number 1800 209 5511. They had registered a compaint on behalf of me and sent me an SMS with the Complaint number and the Name of the Technician who is going to attend the issue and the date when he would come. They also mentioned the service charge which I should pay to the technician. There after another SMS came with a 3 letter code which i should pass to the technician if I am satisfied with his service.

On the mentioned date Technician couldn't arrive and next day I got an SMS with the rescheduled date. on the day he came and checked the equipment and replace the fault knob and timer system. Really I was surprised by the customer service they are giving.

Given below is Godrej Customer Care number and SMS format

Call 1800 209 5511 Toll Free
MTNL/BSNL Landline 1800 225511

SMS <godrej><space><c…

Assassin's Creed IV Black Flag historical action-adventure video game

Assassin's Creed 4 Black Flag is an upcoming historical action-adventure open world video game being developed by Ubisoft.It is a sequel to 2012's Assassin's Creed III.


Assassin's Creed IV: Black Flag will be released for PlayStation 3, Xbox 360 and Wii U on October 29 in the U.S., October 31 in Australia, November 1 in Europe and November 28, 2013 in Japan.

GAME PLOT

The main character of the game will be Edward Kenway , a British privateer-turned-pirate and eventual member of the Assassin Order.The year is 1715. Pirates rule the Caribbean and have established their own lawless Republic where corruption, greediness and cruelty are commonplace. These outlaws paralyzed navies, halted international trade, and plundered vast fortunes. They threatened the power structures that ruled Europe, inspired the imaginations of millions, and left a legacy that still endures.


Among these outlaws is a brash young captain named Edward Kenway. His skill with a sword and disdain for aut…

TCPDF Fatal Error Allowed memory size exhausted - How to fix?

Fix for TCPDF Fatal Error "Allowed memory size exhausted"

When using TCPDF to generate a PDF file by keeping a large sized images as background image of PDF I got a Fatal error.

it printed the following fatal error message

Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 9920 bytes) in D:\wamp\www\tcpdf\unicode_data.php on line 4835

This means that the process is trying to consume more memory that is allowed. The PHP config file php.ini specifies how much memory each script is allowed to use for the execution. May be the allowed Mb of RAM(memory) isn't enough for PHP script, that generate PDF file.


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