<?xml version='1.0' encoding='UTF-8'?><rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:openSearch="http://a9.com/-/spec/opensearchrss/1.0/" xmlns:blogger="http://schemas.google.com/blogger/2008" xmlns:georss="http://www.georss.org/georss" xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr="http://purl.org/syndication/thread/1.0" version="2.0"><channel><atom:id>tag:blogger.com,1999:blog-6208332744473320763</atom:id><lastBuildDate>Fri, 30 Aug 2024 12:39:59 +0000</lastBuildDate><category>Access asmx webservice from PHP using CURL</category><category>Adding a Jquery DateTime picker to your application</category><category>Calculate distance between two latitude longitude</category><category>Check if an image is loaded or not in javascript</category><category>Convert string to date in PHP</category><category>Convert string to datetime PHP</category><category>Create Geo Charts Using Google API</category><category>Css fix for IE</category><category>Fadein-Fadeout Effect to the Jcarousel.Elements</category><category>Force Download a file in PHP</category><category>Get video details from youtube using PHP</category><category>Import csv file in PHP</category><category>Jquery HTML image rotator</category><category>Jquery charts and graphs</category><category>Jquery swf multiple image upload</category><category>Line charts using high charts</category><category>Post XML data using CURL - PHP</category><category>Unset all cookies in PHP</category><category>clickable australia map</category><category>comparison of google pie chat and pie charts API from highcharts.com</category><category>distance between two latitude longitude</category><category>high charts</category><category>image preview using jquery tooltip</category><category>interative australia map</category><category>jquery addresspicker</category><category>jquery tooltip</category><title>innovativewebz</title><description>Innovativewebz is a group of skilled developers in which we offers unique open source web design,  development , hosting, website customization and support services.</description><link>http://innovativewebz.blogspot.com/</link><managingEditor>noreply@blogger.com (Unknown)</managingEditor><generator>Blogger</generator><openSearch:totalResults>39</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><item><guid isPermaLink="false">tag:blogger.com,1999:blog-6208332744473320763.post-6456271844792660770</guid><pubDate>Fri, 29 Mar 2013 06:09:00 +0000</pubDate><atom:updated>2013-03-28T23:15:45.204-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">clickable australia map</category><category domain="http://www.blogger.com/atom/ns#">interative australia map</category><title>Clickable Australia Map</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;
This is a clickable australia
map purely based on html and css. Originally its created by the website evomorf.com
and the documentation is present at &lt;a href=&quot;http://www.evomorf.com/html-css-jquery/pure-htmlcss-clickable-australia-map/&quot; style=&quot;color: black; text-decoration: none;&quot; target=&quot;_blank&quot;&gt;here&lt;/a&gt;. It is a very lightweight solution to
use on your website compared to the clickable maps that use Javascript/ Jquery.
But you can integrate this with your jquery requirements and so it is highly
flexible. It allows you to hover-over or click the individual states and its
provided with ready to use images. If you need a different color theme you can
change this from the original image. The map will look like:&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhkC9wgOgtycraeoLOCQpOkarS8RX-rZCzQUT7SeLerDIdT2VdCPKtxl3Z93ifqtwyAqW8tes4Y5a_YbT6pRR64TcLnWBY1HD9IdRuUzIcyHTeED6OWpXcZoPik9AIRZ5M0nCXoD8JcjeL9/s1600/clickable.JPG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;223&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhkC9wgOgtycraeoLOCQpOkarS8RX-rZCzQUT7SeLerDIdT2VdCPKtxl3Z93ifqtwyAqW8tes4Y5a_YbT6pRR64TcLnWBY1HD9IdRuUzIcyHTeED6OWpXcZoPik9AIRZ5M0nCXoD8JcjeL9/s320/clickable.JPG&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;
You can see the &lt;a href=&quot;http://innovativewebz.com/libraries/demo/clickable-aus-map/index.html&quot; target=&quot;_blank&quot;&gt;live demo here&lt;/a&gt;.&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;
&lt;a href=&quot;http://innovativewebz.com/libraries/clickable-aus-map.zip&quot; target=&quot;_blank&quot;&gt;Download the complete source code here&lt;/a&gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
To use the map in your website
you can edit files in the package and customize it based on your requirements.&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;
Hope this helps !&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
</description><link>http://innovativewebz.blogspot.com/2013/03/clickable-australia-map.html</link><author>noreply@blogger.com (Unknown)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhkC9wgOgtycraeoLOCQpOkarS8RX-rZCzQUT7SeLerDIdT2VdCPKtxl3Z93ifqtwyAqW8tes4Y5a_YbT6pRR64TcLnWBY1HD9IdRuUzIcyHTeED6OWpXcZoPik9AIRZ5M0nCXoD8JcjeL9/s72-c/clickable.JPG" height="72" width="72"/><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-6208332744473320763.post-6766456240978704164</guid><pubDate>Thu, 28 Mar 2013 12:54:00 +0000</pubDate><atom:updated>2013-05-16T05:39:07.742-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">image preview using jquery tooltip</category><category domain="http://www.blogger.com/atom/ns#">jquery tooltip</category><title>Creating an image preview using jquery tooltip</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
An image tooltip is a very important feature for any website
having images/image galleries. You can create this easily with a few lines of
code.&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
Here we have given the method to display a preview image
using jquery tooltip. This will look like the figure given below.&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEinFMdnZGLWoI7z1R-fO4t4yN65DqEWw8gBRRiD8Sm1CJeG_GRlhWn02AS4oGJL-adySzq3M0ueufLB0bUqFPbEJaM0ZJL2BBFQhnTGO3mjAKKVEtNnlW6aMuyRR0_hpQv65PWMy0Si-TEJ/s1600/preview.JPG&quot; imageanchor=&quot;1&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEinFMdnZGLWoI7z1R-fO4t4yN65DqEWw8gBRRiD8Sm1CJeG_GRlhWn02AS4oGJL-adySzq3M0ueufLB0bUqFPbEJaM0ZJL2BBFQhnTGO3mjAKKVEtNnlW6aMuyRR0_hpQv65PWMy0Si-TEJ/s320/preview.JPG&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
You can see a live demo of the script &lt;a href=&quot;http://www.innovativewebz.com/libraries/demo/tooltip/index.php&quot; target=&quot;_blank&quot;&gt;here&lt;/a&gt;.&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
Full source code is available for &lt;a href=&quot;http://www.innovativewebz.com/libraries/tooltip.rar&quot;&gt;download here&lt;/a&gt;.&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;o:p&gt;&lt;br /&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
Hope this helps !&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;</description><link>http://innovativewebz.blogspot.com/2013/03/creating-image-preview-using-jquery.html</link><author>noreply@blogger.com (Unknown)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEinFMdnZGLWoI7z1R-fO4t4yN65DqEWw8gBRRiD8Sm1CJeG_GRlhWn02AS4oGJL-adySzq3M0ueufLB0bUqFPbEJaM0ZJL2BBFQhnTGO3mjAKKVEtNnlW6aMuyRR0_hpQv65PWMy0Si-TEJ/s72-c/preview.JPG" height="72" width="72"/><thr:total>1</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-6208332744473320763.post-5615420840458179858</guid><pubDate>Fri, 22 Mar 2013 13:38:00 +0000</pubDate><atom:updated>2013-05-16T05:39:37.566-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">high charts</category><category domain="http://www.blogger.com/atom/ns#">Line charts using high charts</category><title>creating line charts using high charts</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
High charts api provides the best way to create animated line charts using javascript. This is very simple and easy to build. You only need to pass your data values to the api and it will do everything. Also a lot of configuration options are there. The complete configuration and other options and live demos are available at &lt;a href=&quot;http://www.highcharts.com/demo/line-basic&quot;&gt;http://www.highcharts.com/demo/line-basic&lt;/a&gt;.

Also there are options for downloading or printing the chart. A sample demo is given below.

&lt;br /&gt;
&lt;br /&gt;
&lt;!DOCTYPE HTML&gt;
&lt;html&gt;
 &lt;head&gt;
  &lt;meta http-equiv=&quot;Content-Type&quot; content=&quot;text/html; charset=utf-8&quot;&gt;
  &lt;title&gt;Highcharts Example&lt;/title&gt;

  &lt;script type=&quot;text/javascript&quot; src=&quot;http://ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js&quot;&gt;&lt;/script&gt;
  &lt;script type=&quot;text/javascript&quot;&gt;
$(function () {
    var chart;
    $(document).ready(function() {
        chart = new Highcharts.Chart({
            chart: {
                renderTo: &#39;container&#39;,
                type: &#39;line&#39;,
                marginRight: 130,
                marginBottom: 25
            },
            title: {
                text: &#39;Monthly Average Temperature&#39;,
                x: -20 //center
            },
            subtitle: {
                text: &#39;Source: WorldClimate.com&#39;,
                x: -20
            },
            xAxis: {
                categories: [&#39;Jan&#39;, &#39;Feb&#39;, &#39;Mar&#39;, &#39;Apr&#39;, &#39;May&#39;, &#39;Jun&#39;,
                    &#39;Jul&#39;, &#39;Aug&#39;, &#39;Sep&#39;, &#39;Oct&#39;, &#39;Nov&#39;, &#39;Dec&#39;]
            },
            yAxis: {
                title: {
                    text: &#39;Temperature (°C)&#39;
                },
                plotLines: [{
                    value: 0,
                    width: 1,
                    color: &#39;#808080&#39;
                }]
            },
            tooltip: {
                formatter: function() {
                        return &#39;&lt;b&gt;&#39;+ this.series.name +&#39;&lt;/b&gt;&lt;br/&gt;&#39;+
                        this.x +&#39;: &#39;+ this.y +&#39;°C&#39;;
                }
            },
            legend: {
                layout: &#39;vertical&#39;,
                align: &#39;right&#39;,
                verticalAlign: &#39;top&#39;,
                x: -10,
                y: 100,
                borderWidth: 0
            },
            series: [{
                name: &#39;Tokyo&#39;,
                data: [7.0, 6.9, 9.5, 14.5, 18.2, 21.5, 25.2, 26.5, 23.3, 18.3, 13.9, 9.6]
            }, {
                name: &#39;New York&#39;,
                data: [-0.2, 0.8, 5.7, 11.3, 17.0, 22.0, 24.8, 24.1, 20.1, 14.1, 8.6, 2.5]
            }, {
                name: &#39;Berlin&#39;,
                data: [-0.9, 0.6, 3.5, 8.4, 13.5, 17.0, 18.6, 17.9, 14.3, 9.0, 3.9, 1.0]
            }, {
                name: &#39;London&#39;,
                data: [3.9, 4.2, 5.7, 8.5, 11.9, 15.2, 17.0, 16.6, 14.2, 10.3, 6.6, 4.8]
            }]
        });
    });
    
});
  &lt;/script&gt;
 &lt;/head&gt;
 &lt;body&gt;
&lt;script src=&quot;http://code.highcharts.com/highcharts.js&quot;&gt;&lt;/script&gt;
&lt;script src=&quot;http://code.highcharts.com/modules/exporting.js&quot;&gt;&lt;/script&gt;

&lt;div id=&quot;container&quot; style=&quot;min-width: 400px; height: 400px; margin: 0 auto&quot;&gt;&lt;/div&gt;

 &lt;/body&gt;
&lt;/html&gt;

&lt;br /&gt;
&lt;br /&gt;
Hope this helps !</description><link>http://innovativewebz.blogspot.com/2013/03/creating-line-charts-using-high-charts.html</link><author>noreply@blogger.com (Unknown)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-6208332744473320763.post-746117134903190982</guid><pubDate>Thu, 21 Mar 2013 06:00:00 +0000</pubDate><atom:updated>2013-05-16T05:40:29.509-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">comparison of google pie chat and pie charts API from highcharts.com</category><title>A comparison of google pie chat and pie charts API from highcharts.com</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;b&gt;Google pie charts&lt;/b&gt;
&lt;br /&gt;&lt;br /&gt;
Google pie charts are simple and easy to draw. It is rendered within the browser using SVG or VML  Displays tooltips when hovering over slices, also a lot of configuration options are available to customize this based on your requirements. The detailed list of configuration options are available at &lt;a href=&quot;https://developers.google.com/chart/interactive/docs/gallery/piechart &quot; target=&quot;_blank&quot; &gt;https://developers.google.com/chart/interactive/docs/gallery/piechart&lt;/a&gt;
&lt;br /&gt;&lt;br /&gt;
&lt;html&gt;
  &lt;head&gt;
    &lt;script type=&quot;text/javascript&quot; src=&quot;https://www.google.com/jsapi&quot;&gt;&lt;/script&gt;
    &lt;script type=&quot;text/javascript&quot;&gt;
      google.load(&quot;visualization&quot;, &quot;1&quot;, {packages:[&quot;corechart&quot;]});
      google.setOnLoadCallback(drawChart);
      function drawChart() {
        var data = google.visualization.arrayToDataTable([
          [&#39;Task&#39;, &#39;Hours per Day&#39;],
          [&#39;Work&#39;,     11],
          [&#39;Eat&#39;,      2],
          [&#39;Commute&#39;,  2],
          [&#39;Watch TV&#39;, 2],
          [&#39;Sleep&#39;,    7]
        ]);

        var options = {
          title: &#39;My Daily Activities&#39;
        };

        var chart = new google.visualization.PieChart(document.getElementById(&#39;chart_div&#39;));
        chart.draw(data, options);
      }
    &lt;/script&gt;
  &lt;/head&gt;
  &lt;body&gt;
    &lt;div id=&quot;chart_div&quot; style=&quot;width: 500px; height: 300px;&quot;&gt;&lt;/div&gt;
  &lt;/body&gt;
&lt;/html&gt;




&lt;b&gt;&lt;a href=&quot;http://www.highcharts.com/&quot; target=&quot;_blank&quot;&gt;High Charts&lt;/a&gt;&lt;/b&gt;&lt;/div&gt;
&lt;br /&gt;&lt;br /&gt;

Highcharts is a charting library written in pure JavaScript, offering intuitive, interactive charts to your web site or web application. Highcharts currently supports line, spline, area, areaspline, column, bar, pie, scatter, angular gauges, arearange, areasplinerange, columnrange and polar chart types. And regarding pie chart a wide variety of options are there for customizing the chart. Also it is compatible with almost al browsers and is animated. The most prominent feature of this API is that you can print the chart or download it as PNG,JPEG,PDF or in SVG vector image format. Here is an example for a pie chart from highcharts api.

&lt;br /&gt;&lt;br /&gt;
&lt;!DOCTYPE HTML&gt;
&lt;html&gt;
 &lt;head&gt;
  &lt;meta http-equiv=&quot;Content-Type&quot; content=&quot;text/html; charset=utf-8&quot;&gt;
  &lt;title&gt;Highcharts Example&lt;/title&gt;

  &lt;script type=&quot;text/javascript&quot; src=&quot;http://ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js&quot;&gt;&lt;/script&gt;
  &lt;script type=&quot;text/javascript&quot;&gt;
$(function () {
    var chart;
    $(document).ready(function() {
        chart = new Highcharts.Chart({
            chart: {
                renderTo: &#39;container&#39;,
                plotBackgroundColor: null,
                plotBorderWidth: null,
                plotShadow: false
            },
            title: {
                text: &#39;Browser market shares at a specific website, 2010&#39;
            },
            tooltip: {
             pointFormat: &#39;{series.name}: &lt;b&gt;{point.percentage}%&lt;/b&gt;&#39;,
             percentageDecimals: 1
            },
            plotOptions: {
                pie: {
                    allowPointSelect: true,
                    cursor: &#39;pointer&#39;,
                    dataLabels: {
                        enabled: true,
                        color: &#39;#000000&#39;,
                        connectorColor: &#39;#000000&#39;,
                        formatter: function() {
                            return &#39;&lt;b&gt;&#39;+ this.point.name +&#39;&lt;/b&gt;: &#39;+ this.percentage +&#39; %&#39;;
                        }
                    }
                }
            },
            series: [{
                type: &#39;pie&#39;,
                name: &#39;Browser share&#39;,
                data: [
                    [&#39;Firefox&#39;,   45.0],
                    [&#39;IE&#39;,       26.8],
                    {
                        name: &#39;Chrome&#39;,
                        y: 12.8,
                        sliced: true,
                        selected: true
                    },
                    [&#39;Safari&#39;,    8.5],
                    [&#39;Opera&#39;,     6.2],
                    [&#39;Others&#39;,   0.7]
                ]
            }]
        });
    });
    
});
  &lt;/script&gt;
 &lt;/head&gt;
 &lt;body&gt;
&lt;script src=&quot;http://code.highcharts.com/highcharts.js&quot;&gt;&lt;/script&gt;
&lt;script src=&quot;http://code.highcharts.com/modules/exporting.js&quot;&gt;&lt;/script&gt;

&lt;div id=&quot;container&quot; style=&quot;min-width: 400px; height: 400px; margin: 0 auto&quot;&gt;&lt;/div&gt;

 &lt;/body&gt;
&lt;/html&gt;
</description><link>http://innovativewebz.blogspot.com/2013/03/a-comparison-of-google-pie-chat-and-pie.html</link><author>noreply@blogger.com (Unknown)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-6208332744473320763.post-3996540228079211560</guid><pubDate>Tue, 19 Mar 2013 09:30:00 +0000</pubDate><atom:updated>2013-05-16T05:40:40.509-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">jquery addresspicker</category><title>jquery addresspicker </title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
In many web applications you will need to create an address
picker that picks up the latitude and longitude of particular places. An
excellent plugin is available for this at &lt;a target=&quot;_blank&quot; href=&quot;http://xilinus.com/jquery-addresspicker/demos/index.html&quot;&gt;&lt;b&gt;http://xilinus.com/jquery-addresspicker/demos/index.html&lt;/b&gt;&lt;/a&gt;
&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
Also there is a map available to show the selected placed.
As it is built on google map and jquery you can customize it to suit your
requirements.&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
Hope this helps !&lt;/div&gt;
&lt;/div&gt;
</description><link>http://innovativewebz.blogspot.com/2013/03/jquery-address-picker.html</link><author>noreply@blogger.com (Unknown)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-6208332744473320763.post-5541069350370455691</guid><pubDate>Tue, 19 Mar 2013 07:12:00 +0000</pubDate><atom:updated>2013-05-16T05:41:03.737-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Calculate distance between two latitude longitude</category><category domain="http://www.blogger.com/atom/ns#">distance between two latitude longitude</category><title>Calculate distance between two latitude longitude</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
In some web applications we will need to calculate the
distance between two points on earth’s surface. Mainly this is for advertising
purposes or to display locations based on distance. Up on considering the points as two places on earth’s surface, the shortest distance becomes the
great circle distance. The&amp;nbsp;great-circle&amp;nbsp;or&amp;nbsp;&lt;a href=&quot;http://en.wikipedia.org/wiki/Great_Circle&quot; title=&quot;Great Circle&quot;&gt;orthodromic&lt;/a&gt;&amp;nbsp;distance&amp;nbsp;is
the shortest&amp;nbsp;&lt;a href=&quot;http://en.wikipedia.org/wiki/Distance&quot; title=&quot;Distance&quot;&gt;distance&lt;/a&gt;&amp;nbsp;between any two&amp;nbsp;&lt;a href=&quot;http://en.wikipedia.org/wiki/Point_(geometry)&quot; title=&quot;Point (geometry)&quot;&gt;points&lt;/a&gt;&amp;nbsp;on
the surface of a&amp;nbsp;&lt;a href=&quot;http://en.wikipedia.org/wiki/Sphere&quot; title=&quot;Sphere&quot;&gt;sphere&lt;/a&gt;&amp;nbsp;measured along a path on the surface of the sphere
(as opposed to going through the sphere&#39;s interior).&amp;nbsp;You can calculate the
distance based on this theory but it is already available in websites.&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
You can see the best one of them at&amp;nbsp;&lt;a href=&quot;http://www.geodatasource.com/distance-calculator&quot; target=&quot;_blank&quot;&gt;&lt;b&gt;http://www.geodatasource.com/distance-calculator&lt;/b&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
Also the code for various platforms is available at &lt;a href=&quot;http://www.geodatasource.com/developers&quot; target=&quot;_blank&quot;&gt;&lt;b&gt;http://www.geodatasource.com/developers&lt;/b&gt;&lt;/a&gt;
&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
By using this method of calculation you can find the distance in
KM, Miles or in Nautical Miles according to your requirement.&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
Hope this helps !&lt;/div&gt;
&lt;/div&gt;
</description><link>http://innovativewebz.blogspot.com/2013/03/calculate-distance-between-two-latitude.html</link><author>noreply@blogger.com (Unknown)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-6208332744473320763.post-353068760179400568</guid><pubDate>Thu, 14 Mar 2013 07:48:00 +0000</pubDate><atom:updated>2013-03-14T06:33:15.254-07:00</atom:updated><title>Innovative webs,innovative designs and innovative features</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
For creating innovative website you must have the following:&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: .5in; mso-list: l0 level1 lfo1; tab-stops: list .5in; text-align: justify; text-indent: -.25in;&quot;&gt;
&lt;!--[if !supportLists]--&gt;1)&lt;span style=&quot;font-size: 7pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;&lt;!--[endif]--&gt;Innovative design: To create an innovative-unique website,
the first thing you need is a good design. If you have the time and money, do
not go for a built-in theme, but hire a developer and start from the scratch. Set
milestones for design and development, save every milestone status separately
and always continue from the previous level in case of crash. In this process
you will be able to integrate all features that you would like.&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: .25in; text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: .5in; mso-list: l0 level1 lfo1; tab-stops: list .5in; text-align: justify; text-indent: -.25in;&quot;&gt;
&lt;!--[if !supportLists]--&gt;2)&lt;span style=&quot;font-size: 7pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;&lt;!--[endif]--&gt;Innovative features: Integrate all features that are required
to achieve the aim of the website. Also check for most popular websites and
similar website, but always try something new. Because users will get attracted
to those new things if these are interesting and unique.&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: .5in; mso-list: l0 level1 lfo1; tab-stops: list .5in; text-indent: -.25in;&quot;&gt;
&lt;!--[if !supportLists]--&gt;3)&lt;span style=&quot;font-size: 7pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;!--[endif]--&gt;Website
location and SEO: Creating an innovative website only will not help you to meet
the success point, but you need to place this in the ideal location; that means
the domain. You need to select a domain that is similar to the aim of the
website. And also the name must be SEO friendly. And the most important part of
the process is optimization. The website must be visible to the search engines.&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
Once you are able to finish the 3 steps above, 50% is done.
And the rest of the thing is regarding regular website updates, process for SEO
and suitable design changes for looking this great for all the time.&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
This way you can build a successful website for your
requirements.&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
Hope this helps !&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
</description><link>http://innovativewebz.blogspot.com/2013/03/innovative-webs-innovative-designs.html</link><author>noreply@blogger.com (Unknown)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-6208332744473320763.post-4908665112689667597</guid><pubDate>Wed, 13 Mar 2013 10:48:00 +0000</pubDate><atom:updated>2013-05-16T05:44:37.633-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Create Geo Charts Using Google API</category><title>Create Geo Charts Using Google API</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
Geo Charts shows the representation of different geo locations on a Map. Google provides a fine api for creating geo charts. You can find this API documentation from 
&lt;b&gt;&lt;a target=&quot;_blank&quot; href=&quot;https://developers.google.com/chart/interactive/docs/gallery/geochart&quot;&gt;https://developers.google.com/chart/interactive/docs/gallery/geochart&lt;/a&gt;&lt;/b&gt; &lt;br /&gt;
&lt;br /&gt;
The chart will be like as below. Also there are a lot of Configuration options which we can use for customizing the chart as you like. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;html&gt;
  &lt;head&gt;
    &lt;script src=&quot;https://www.google.com/jsapi&quot; type=&quot;text/javascript&quot;&gt;&lt;/script&gt;
    &lt;script type=&quot;text/javascript&quot;&gt;
     google.load(&#39;visualization&#39;, &#39;1&#39;, {&#39;packages&#39;: [&#39;geochart&#39;]});
     google.setOnLoadCallback(drawRegionsMap);

      function drawRegionsMap() {
        var data = google.visualization.arrayToDataTable([
          [&#39;Country&#39;, &#39;Popularity&#39;],
          [&#39;Germany&#39;, 200],
          [&#39;United States&#39;, 300],
          [&#39;Brazil&#39;, 400],
          [&#39;Canada&#39;, 500],
          [&#39;France&#39;, 600],
          [&#39;RU&#39;, 700]
        ]);

        var options = {};

        var chart = new google.visualization.GeoChart(document.getElementById(&#39;chart_div&#39;));
        chart.draw(data, options);
    };
    &lt;/script&gt;
  &lt;/head&gt;
  &lt;body&gt;
    &lt;div id=&quot;chart_div&quot; style=&quot;height: 300px; width: 500px;&quot;&gt;
&lt;/div&gt;
&lt;/body&gt;
&lt;/html&gt;

&lt;br /&gt;
&lt;br /&gt;
Hope this helps !
&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
</description><link>http://innovativewebz.blogspot.com/2013/03/create-geo-charts-using-google-api_13.html</link><author>noreply@blogger.com (Unknown)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-6208332744473320763.post-3503644657587157944</guid><pubDate>Wed, 13 Mar 2013 06:21:00 +0000</pubDate><atom:updated>2013-03-13T03:22:53.590-07:00</atom:updated><title>Create a blog or website for your business needs - The First and Only Step</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
A website/blog is most essential for any type of
business nowadays. Building a website from the scratch is expensive if you relate to a
small scale business. In that case you can check for wordpress like CMS and
plug-n-play premium templates. So you can create your website within 2 or 3
days and this will save the cost. The best examples for websites that provide
premium templates are&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;ol start=&quot;1&quot; style=&quot;margin-top: 0in;&quot; type=&quot;1&quot;&gt;
&lt;li class=&quot;MsoNormal&quot;&gt;&lt;a href=&quot;http://themeforest.net/&quot;&gt;http://themeforest.net/&lt;/a&gt; &lt;/li&gt;
&lt;li class=&quot;MsoNormal&quot;&gt;&lt;a href=&quot;http://www.templatemonster.com/&quot;&gt;http://www.templatemonster.com/&lt;/a&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
Both of these provide the demo+ installation instructions + shortcodes
+ everything you require for setting up the template. So you can just set this
up yourself without any confusion. Also there is one more advantage for this
method. Purchasing a premium template will cost only $35-$55, but building this
from the scratch will cross the limits.&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
So the first and only step required for creating your own personal
blog or business website is finding a suitable template. Once it is ready, you
can start integrating this yourself or with a hired developer. &lt;a href=&quot;http://www.innovativewebz.com/&quot;&gt;Innovativewebz.com&lt;/a&gt; offers
integration of premium quality website templates at a reasonable cost. You can
contact our sales department for any further information. Email:
&lt;a href=&quot;http://www.blogger.com/sales@innovativewebz.com&quot;&gt;sales@innovativewebz.com&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
</description><link>http://innovativewebz.blogspot.com/2013/03/create-blogwebsite-for-your-business.html</link><author>noreply@blogger.com (Unknown)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-6208332744473320763.post-9149180348442052311</guid><pubDate>Tue, 12 Mar 2013 16:52:00 +0000</pubDate><atom:updated>2013-03-12T09:54:40.118-07:00</atom:updated><title>Make your website ready within 48 hrs !</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
Innovativewebz offers the integration of premium quality website
templates for you. With this you can make your business website/blog ready in
48 hrs. You only need to purchase the domain name and template, and we will do
the rest. We will help you to host the website with our partner webhosts. In
this case if you need any post-live support, and if these require not more than
8 hrs, this will be absolutely free.&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
Also you can contact our support team for any further
customizations in future.&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
For more details : Email us at &lt;a href=&quot;mailto:support@innovativewebz.com&quot;&gt;support@innovativewebz.com&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;&lt;/div&gt;</description><link>http://innovativewebz.blogspot.com/2013/03/make-your-website-ready-within-48-hrs.html</link><author>noreply@blogger.com (Unknown)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-6208332744473320763.post-3100479242604320391</guid><pubDate>Fri, 15 Feb 2013 11:28:00 +0000</pubDate><atom:updated>2013-05-16T05:42:30.057-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Jquery charts and graphs</category><title>Jquery charts and graphs</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
Graph and chart plotting is a very important requirement in
web based applications. You can find one of the best charting libraries at &amp;nbsp;&lt;b&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;a href=&quot;http://www.highcharts.com/&quot; target=&quot;_blank&quot;&gt;http://www.highcharts.com&lt;/a&gt; . &lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
This is based on the jquery framework and is highly
customizable. A best reliable option for your web applications.&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
</description><link>http://innovativewebz.blogspot.com/2013/02/jquery-charts-and-graphs.html</link><author>noreply@blogger.com (Unknown)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-6208332744473320763.post-6315932055779819150</guid><pubDate>Wed, 16 Jan 2013 05:37:00 +0000</pubDate><atom:updated>2013-05-16T05:42:05.555-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Adding a Jquery DateTime picker to your application</category><title>Adding a Jquery DateTime picker to your application</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
Adding a DateTime picker for date fields is an important requirement
for developing web applications nowadays. A lot of jquery plugins are available
for this. One of the most popular and easy script is here at &lt;a href=&quot;http://trentrichardson.com/examples/timepicker/&quot;&gt;&lt;b&gt;http://trentrichardson.com/examples/timepicker/&lt;/b&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
Complete documentation, demos, formatting options etc are
also given in the above URL.&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
A lot of customization options are available for this plugin
and yes, the integration is very easy which we can finish within 5 minutes.&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
Hope this will be a great help for web developers!&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
</description><link>http://innovativewebz.blogspot.com/2013/01/adding-jquery-datetime-picker-to-your.html</link><author>noreply@blogger.com (Unknown)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-6208332744473320763.post-758146788096898261</guid><pubDate>Tue, 15 Jan 2013 14:17:00 +0000</pubDate><atom:updated>2013-05-16T05:42:16.915-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Convert string to datetime PHP</category><title>Convert string to datetime PHP</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
You can convert this by using the function strtotime(). Here
is the method.&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div id=&quot;cblock&quot; style=&quot;height: 100%; overflow: auto; width: 400px;&quot;&gt;
&lt;pre class=&quot;php&quot; style=&quot;background: #fefefe; font-family: monospace;&quot;&gt;&lt;span style=&quot;color: black; font-weight: bold;&quot;&gt;&amp;lt;?PHP&lt;/span&gt;
&amp;nbsp;
&lt;span style=&quot;color: #000088;&quot;&gt;$time = strtotime(&#39;10/16/2003 18:16&#39;);&lt;/span&gt; 
&amp;nbsp;
&lt;span style=&quot;color: #000088;&quot;&gt;$newformat = date(&#39;Y-m-d G:i:s&#39;,$time);&lt;/span&gt; 
&amp;nbsp;
&lt;span style=&quot;color: #000088;&quot;&gt;echo $newformat;&lt;/span&gt; 
&amp;nbsp;
&lt;span style=&quot;color: black; font-weight: bold;&quot;&gt;?&amp;gt;&lt;/span&gt;&lt;/pre&gt;
&lt;pre class=&quot;php&quot; style=&quot;background: #fefefe; font-family: monospace;&quot;&gt;&lt;span style=&quot;background-color: transparent;&quot;&gt;
&lt;/span&gt;&lt;/pre&gt;
&lt;pre class=&quot;php&quot; style=&quot;background: #fefefe; font-family: monospace;&quot;&gt;&lt;span style=&quot;background-color: transparent;&quot;&gt;Hope this helps !&lt;/span&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;/div&gt;
</description><link>http://innovativewebz.blogspot.com/2013/01/convert-string-to-datetime-php.html</link><author>noreply@blogger.com (Unknown)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-6208332744473320763.post-554201745782814003</guid><pubDate>Wed, 02 Jan 2013 14:07:00 +0000</pubDate><atom:updated>2013-05-16T05:42:43.766-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Fadein-Fadeout Effect to the Jcarousel.Elements</category><title>Fadein-Fadeout Effect to the Jcarousel.Elements</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
Integrating fadein and fadeout effect to the elements on
both sides of a jcarousel auto scroller is not so much difficult. You can use
the callback functions from &lt;a href=&quot;http://sorgalla.com/projects/jcarousel/&quot;&gt;http://sorgalla.com/projects/jcarousel/&lt;/a&gt;
for this.&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
Here we have added two callback functions itemFirstInCallback
and itemLastInCallback for this purpose.&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://www.innovativewebz.com/libraries/demo/JC/index.html&quot; target=&quot;_blank&quot;&gt;&lt;b&gt;Please see the demo here&lt;/b&gt;&lt;/a&gt;.&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
You can &lt;a href=&quot;http://www.innovativewebz.com/libraries/JC.rar&quot;&gt;download the complete source code from here&lt;/a&gt;.&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
Hope this helps !&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
</description><link>http://innovativewebz.blogspot.com/2013/01/fadein-fadeout-effect-to.html</link><author>noreply@blogger.com (Unknown)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-6208332744473320763.post-3973189661347064280</guid><pubDate>Sat, 15 Dec 2012 10:23:00 +0000</pubDate><atom:updated>2013-05-16T05:42:54.871-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Css fix for IE</category><title>Css fix for IE </title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
CSS Specific for Internet Explorer&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
IE conditional comment is probably the most commonly used to
fix the IE bugs for specific versions (IE6, IE7, IE8, IE9). Below are some sample
code to target different versions of Internet Explorer:&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&amp;lt;!--[if lt IE 8]&amp;gt;&amp;nbsp;= IE7 or below&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&amp;lt;!--[if IE 8]&amp;gt;&amp;nbsp;= IE8&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&amp;lt;!--[if gte IE 8]&amp;gt;&amp;nbsp;= greater than or equal to IE8&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&amp;lt;!--[if IE 9 ]&amp;gt; = IE9&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&amp;lt;!--[if gt IE 9]&amp;gt; = greater than or equal to IE9&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
Here is the an example of including the styles for each
version of IE&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&amp;lt;!--[if lt IE 8]&amp;gt;&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&amp;lt;link href=&quot;ie7.css&quot; rel=&quot;stylesheet&quot; type=&quot;text/css&quot; /&amp;gt;&amp;nbsp;&lt;span style=&quot;background-color: #f3efc3; color: #585535; font-family: Consolata, monospace; font-size: 13px; line-height: 18px; white-space: pre; word-spacing: -3px;&quot;&gt;/* css for IE7 */&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&amp;lt;![endif]--&amp;gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&amp;lt;!--[if gte IE 8]&amp;gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&amp;lt;link href=&quot;ie8.css&quot; rel=&quot;stylesheet&quot; type=&quot;text/css&quot; /&amp;gt;&amp;nbsp;&lt;span style=&quot;background-color: #f3efc3; color: #585535; font-family: Consolata, monospace; font-size: 13px; line-height: 18px; white-space: pre; word-spacing: -3px;&quot;&gt;/* css for IE8  &amp;amp; greater*/&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&amp;lt;![endif]--&amp;gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&amp;lt;!--[if IE 9 ]&amp;gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&amp;lt;link href=&quot;ie9.css&quot; rel=&quot;stylesheet&quot; type=&quot;text/css&quot; /&amp;gt;&amp;nbsp;&lt;span style=&quot;background-color: #f3efc3; color: #585535; font-family: Consolata, monospace; font-size: 13px; line-height: 18px; white-space: pre; word-spacing: -3px;&quot;&gt;/* css for IE9 */&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&amp;lt;![endif]--&amp;gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&amp;lt;!--[if gt IE 9]&amp;gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&amp;lt;link href=&quot;ie9.css&quot; rel=&quot;stylesheet&quot; type=&quot;text/css&quot; /&amp;gt;&amp;nbsp;&lt;span style=&quot;background-color: #f3efc3; color: #585535; font-family: Consolata, monospace; font-size: 13px; line-height: 18px; white-space: pre; word-spacing: -3px;&quot;&gt;/* css for IE9 &amp;amp;  greater */&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&amp;lt;![endif]--&amp;gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
Hope this helps!&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
</description><link>http://innovativewebz.blogspot.com/2012/12/css-fix-for-ie.html</link><author>noreply@blogger.com (Unknown)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-6208332744473320763.post-6584914650658311386</guid><pubDate>Fri, 14 Dec 2012 13:48:00 +0000</pubDate><atom:updated>2013-05-16T05:43:05.923-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Convert string to date in PHP</category><title>Convert string to date in PHP</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
Sometimes it will need to convert the date in string format
to convert it in to the original DATETIME format. In PHP we can do this like
the following.&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div id=&quot;cblock&quot; style=&quot;height: 100%; overflow: auto; width: 450px;&quot;&gt;
&lt;pre class=&quot;php&quot; style=&quot;background: #fefefe; font-family: monospace;&quot;&gt;&lt;span style=&quot;color: black; font-weight: bold;&quot;&gt;&amp;lt;?PHP&lt;/span&gt;
&amp;nbsp;
&lt;span style=&quot;color: #000088;&quot;&gt;$date = &quot;29/11/2012 23:26&quot;;&lt;/span&gt; 
&amp;nbsp;
&lt;span style=&quot;color: #000088;&quot;&gt;$newDate = preg_replace(&quot;/(\d+)\D+(\d+)\D+(\d+)/&quot;,&quot;$3-$2-$1&quot;,$date);&lt;/span&gt; 
&amp;nbsp;
&lt;span style=&quot;color: #000088;&quot;&gt;echo date(&#39;Y-m-d H:i:s&#39;,strtotime($newDate));&lt;/span&gt; 
&amp;nbsp;
&lt;span style=&quot;color: black; font-weight: bold;&quot;&gt;?&amp;gt;&lt;/span&gt;&lt;/pre&gt;
&lt;pre class=&quot;php&quot; style=&quot;background: #fefefe; font-family: monospace;&quot;&gt;&lt;span style=&quot;background-color: transparent;&quot;&gt;
&lt;/span&gt;&lt;/pre&gt;
&lt;pre class=&quot;php&quot; style=&quot;background: #fefefe; font-family: monospace;&quot;&gt;&lt;span style=&quot;background-color: transparent;&quot;&gt;Hope this helps!&lt;/span&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;br /&gt;&lt;/div&gt;
</description><link>http://innovativewebz.blogspot.com/2012/12/convert-string-to-date-in-php.html</link><author>noreply@blogger.com (Unknown)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-6208332744473320763.post-4093818760909012676</guid><pubDate>Tue, 11 Dec 2012 11:55:00 +0000</pubDate><atom:updated>2013-05-16T05:43:45.457-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Jquery HTML image rotator</category><title>Jquery HTML image rotator</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
Creating list of images that are rotating/sliding
smoothly is not so much complex. You can achieve this in a few steps.&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
Here is an example. You can customize the style and script
to make it suit for your applications. The present example will look like :&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjZr_DYhytWzF8_8li4NH7xqJFah9UOAFXuSZFG_rdzfi-Ah0vfSlptPdMig6O9G7EZBnlMibdA6swN0GBfLa8jYSLdLF0qflJXX_vv_88vsWzCJr4o4_FYdnhQFdV0cRX04paY_QHv8p8U/s1600/rotator.JPG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;136&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjZr_DYhytWzF8_8li4NH7xqJFah9UOAFXuSZFG_rdzfi-Ah0vfSlptPdMig6O9G7EZBnlMibdA6swN0GBfLa8jYSLdLF0qflJXX_vv_88vsWzCJr4o4_FYdnhQFdV0cRX04paY_QHv8p8U/s320/rotator.JPG&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;o:p&gt;&lt;br /&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;o:p&gt;&lt;b&gt;&lt;a target=&quot;_blank&quot; href=&quot;http://www.innovativewebz.com/libraries/demo/ul_li_rotator/index.html&quot;&gt;View DEMO&lt;/a&gt;&lt;/b&gt;&lt;/o:p&gt;&lt;br /&gt;
&lt;o:p&gt;&lt;br /&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;b&gt;You can &lt;a href=&quot;http://www.innovativewebz.com/libraries/ul_li_rotator.rar&quot;&gt;download the complete source code from here&lt;/a&gt;.&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
Hope you enjoy the script !&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;</description><link>http://innovativewebz.blogspot.com/2012/12/create-ul-li-image-rotator.html</link><author>noreply@blogger.com (Unknown)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjZr_DYhytWzF8_8li4NH7xqJFah9UOAFXuSZFG_rdzfi-Ah0vfSlptPdMig6O9G7EZBnlMibdA6swN0GBfLa8jYSLdLF0qflJXX_vv_88vsWzCJr4o4_FYdnhQFdV0cRX04paY_QHv8p8U/s72-c/rotator.JPG" height="72" width="72"/><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-6208332744473320763.post-3697736828800068529</guid><pubDate>Tue, 11 Dec 2012 09:36:00 +0000</pubDate><atom:updated>2013-05-16T05:43:55.794-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Check if an image is loaded or not in javascript</category><title>Check if an image is loaded or not in javascript</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
You can use javascript functions to check if an image is
loaded. Here we are discussion two methods.&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
1) Using onload function&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;background-color: #fefefe; font-family: monospace; font-weight: bold;&quot;&gt;&amp;lt;script&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div id=&quot;cblock&quot; style=&quot;overflow: auto;&quot;&gt;
&lt;pre class=&quot;php&quot; style=&quot;background: #fefefe; font-family: monospace;&quot;&gt;&lt;span style=&quot;color: #666666; font-style: italic;&quot;&gt;// Check using onload function &lt;/span&gt;
&amp;nbsp;
&lt;span style=&quot;color: #000088;&quot;&gt;objImg = new Image();&lt;/span&gt;
&amp;nbsp;
&lt;span style=&quot;color: #000088;&quot;&gt;objImg.src = &#39;photo.gif&#39;;&lt;/span&gt;
&amp;nbsp;
&lt;span style=&quot;color: #000088;&quot;&gt;objImg.onload = function() { &lt;/span&gt;  
&amp;nbsp;
&lt;span style=&quot;color: #000088;&quot;&gt;// do some work &lt;/span&gt;  
&amp;nbsp;
&lt;span style=&quot;color: #000088;&quot;&gt;}&lt;/span&gt; &amp;nbsp;
&lt;div id=&quot;cblock&quot; style=&quot;overflow: auto;&quot;&gt;

&lt;div class=&quot;MsoNormal&quot;&gt;
2) Using Complete property&lt;/div&gt;
&lt;/div&gt;
&lt;/pre&gt;
&lt;div id=&quot;cblock&quot; style=&quot;overflow: auto;&quot;&gt;
&lt;pre class=&quot;php&quot; style=&quot;background: #fefefe; font-family: monospace;&quot;&gt;&lt;span style=&quot;color: black; font-weight: bold;&quot;&gt;&amp;lt;script&amp;gt;&lt;/span&gt;
&lt;span style=&quot;color: #666666; font-style: italic;&quot;&gt;// Check using complete  property &lt;/span&gt;
&amp;nbsp;
&lt;span style=&quot;color: #000088;&quot;&gt;objImg.src = &#39;photo.gif&#39;;&lt;/span&gt;
&amp;nbsp;
&lt;span style=&quot;color: #000088;&quot;&gt;objImg = new Image();&lt;/span&gt;
&amp;nbsp;
&lt;span style=&quot;color: #000088;&quot;&gt; if(!objImg.complete) {&lt;/span&gt;  
&amp;nbsp;
&lt;span style=&quot;color: #000088;&quot;&gt;// do some work &lt;/span&gt;  
&amp;nbsp;
&lt;span style=&quot;color: #000088;&quot;&gt;}&lt;/span&gt; 
&lt;div id=&quot;cblock&quot; style=&quot;overflow: auto;&quot;&gt;
&lt;pre class=&quot;php&quot; style=&quot;background: #fefefe; font-family: monospace;&quot;&gt;&lt;span style=&quot;color: black; font-weight: bold;&quot;&gt;&amp;lt;/script&amp;gt;&lt;/span&gt;

&lt;/pre&gt;
&lt;/div&gt;
Hope this helps !&lt;/pre&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;</description><link>http://innovativewebz.blogspot.com/2012/12/check-if-image-is-loaded-or-not-in.html</link><author>noreply@blogger.com (Unknown)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-6208332744473320763.post-3537470114939413724</guid><pubDate>Tue, 11 Dec 2012 07:54:00 +0000</pubDate><atom:updated>2013-05-16T05:44:08.019-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Import csv file in PHP</category><title>Import csv file in PHP</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
Import data from csv/xls file is a main requirement in most of
the web applications. We can do this simply by using the fgetcsv function in PHP.
Here is the code for it.&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;
&lt;span style=&quot;background-color: #fefefe; font-family: monospace; font-weight: bold;&quot;&gt;&amp;lt;?PHP&lt;/span&gt;&lt;br /&gt;
&lt;div id=&quot;cblock&quot; style=&quot;height: 100%; overflow: auto; width: 540px;&quot;&gt;
&lt;pre class=&quot;php&quot; style=&quot;background: #fefefe; font-family: monospace;&quot;&gt;&amp;nbsp;
&lt;span style=&quot;color: #666666; font-style: italic;&quot;&gt;// Import csv - PHP &lt;/span&gt;
&amp;nbsp;
&lt;span style=&quot;color: #d45d25;&quot;&gt;$row = 1;&lt;/span&gt;  
&amp;nbsp;
&lt;span style=&quot;color: #d45d25;&quot;&gt;if (($handle = fopen(&quot;test.csv&quot;, &quot;r&quot;)) !== FALSE) {&lt;/span&gt;  
&amp;nbsp;
    &lt;span style=&quot;color: #d45d25;&quot;&gt;while (($data = fgetcsv($handle, 1000, &quot;,&quot;)) !== FALSE) {&lt;/span&gt;  
    &amp;nbsp;
        &lt;span style=&quot;color: #d45d25;&quot;&gt;$num = count($data);&lt;/span&gt;
        &amp;nbsp;
        &lt;span style=&quot;color: #d45d25;&quot;&gt;echo &quot;&amp;lt;p&amp;gt; $num fields in line $row: &amp;lt;br /&amp;gt;&amp;lt;/p&amp;gt;\n&quot;;&lt;/span&gt;
        &amp;nbsp;
        &lt;span style=&quot;color: #d45d25;&quot;&gt;$row++;&lt;/span&gt;
        &amp;nbsp;
        &lt;span style=&quot;color: #d45d25;&quot;&gt;for ($c=0; $c &amp;lt; $num; $c++) {&lt;/span&gt;
        &amp;nbsp;
            &lt;span style=&quot;color: #d45d25;&quot;&gt;echo $data[$c] . &quot;&amp;lt;br /&amp;gt;\n&quot;;&lt;/span&gt;
            &amp;nbsp;
        &lt;span style=&quot;color: #d45d25;&quot;&gt;}&lt;/span&gt;
        &amp;nbsp;
    &lt;span style=&quot;color: #d45d25;&quot;&gt;}&lt;/span&gt;
    &amp;nbsp;
    &lt;span style=&quot;color: #d45d25;&quot;&gt;fclose($handle);&lt;/span&gt;
    &amp;nbsp;
&lt;span style=&quot;color: #d45d25;&quot;&gt;}&lt;/span&gt;
&amp;nbsp;
&lt;span style=&quot;color: black; font-weight: bold;&quot;&gt;?&amp;gt;&lt;/span&gt;&lt;/pre&gt;
&lt;/div&gt;
Its easy and so we can complete in a few steps.&lt;br /&gt;
&lt;br /&gt;
Try it !&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
</description><link>http://innovativewebz.blogspot.com/2012/12/import-csv-file-in-php.html</link><author>noreply@blogger.com (Unknown)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-6208332744473320763.post-4204613721154884453</guid><pubDate>Mon, 10 Dec 2012 12:48:00 +0000</pubDate><atom:updated>2013-05-16T05:44:24.253-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Jquery swf multiple image upload</category><title>Jquery swf multiple image upload</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Here is a plugin to upload multiple images simultaneously. It’s
completely open source, so that you can download and customize to meet your
requirements.&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
Upload&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhizxSt4ozGFxsCWTYsfjtgdGpYKNQ8Wy711v8xhHGaV8uyMxJVcg4m70Dx0EMBGMRR1Ivf5RNAPh8ZZVCO8bJ-vhAaiAAlO28Us3IIIIQXUku8PWHVpaIXS7zJcmasxHqwEFN8vWRw8AiJ/s1600/upload.JPG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;87&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhizxSt4ozGFxsCWTYsfjtgdGpYKNQ8Wy711v8xhHGaV8uyMxJVcg4m70Dx0EMBGMRR1Ivf5RNAPh8ZZVCO8bJ-vhAaiAAlO28Us3IIIIQXUku8PWHVpaIXS7zJcmasxHqwEFN8vWRw8AiJ/s320/upload.JPG&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
Browse Images&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgwq_HEJB5sr5mNolr1XNITUlvinzOEbUnCi9mEOiZaadKa2bGsWG4-D8YlB9_cf_LAvBiPhkYIPp6kpFxEB03LN8psiyHZk-TPT5s4PLuPNwPa3N4Uyp4dsxG5IMHLZYif5Ony_nuzsvj1/s1600/browse.JPG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;156&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgwq_HEJB5sr5mNolr1XNITUlvinzOEbUnCi9mEOiZaadKa2bGsWG4-D8YlB9_cf_LAvBiPhkYIPp6kpFxEB03LN8psiyHZk-TPT5s4PLuPNwPa3N4Uyp4dsxG5IMHLZYif5Ony_nuzsvj1/s320/browse.JPG&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
Save images&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhYUixEr29ua-ZA9mdfMJ-JFa006_z-gPfe3C8pFnpL2gZV-J4YdARDkJyM0abkfhPZ4_0G-E6kDbMKMzI6CAu2_Ep-qmP-2KPSZC-jkZmesI5oAz80dJHlXnL2Yci-mjiYXQuxs1X6AOpG/s1600/files.JPG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;262&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhYUixEr29ua-ZA9mdfMJ-JFa006_z-gPfe3C8pFnpL2gZV-J4YdARDkJyM0abkfhPZ4_0G-E6kDbMKMzI6CAu2_Ep-qmP-2KPSZC-jkZmesI5oAz80dJHlXnL2Yci-mjiYXQuxs1X6AOpG/s320/files.JPG&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;
&lt;b&gt;&lt;a target=&quot;_blank&quot; href=&quot;http://www.innovativewebz.com/libraries/demo/jquery-swf-upload/&quot;&gt;VIEW DEMO&lt;/a&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
You can modify the upload-file.php in root folder to add the
database connection/save code. Also the details regarding the file upload path
also available with this file.&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;b&gt;&lt;a href=&quot;http://innovativewebz.com/libraries/jquery-swf-upload.rar&quot;&gt;Download the full source code here&lt;/a&gt;.&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
Try it, Its easy !&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;</description><link>http://innovativewebz.blogspot.com/2012/12/jquery-swf-multiple-image-upload.html</link><author>noreply@blogger.com (Unknown)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhizxSt4ozGFxsCWTYsfjtgdGpYKNQ8Wy711v8xhHGaV8uyMxJVcg4m70Dx0EMBGMRR1Ivf5RNAPh8ZZVCO8bJ-vhAaiAAlO28Us3IIIIQXUku8PWHVpaIXS7zJcmasxHqwEFN8vWRw8AiJ/s72-c/upload.JPG" height="72" width="72"/><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-6208332744473320763.post-3675243721157221323</guid><pubDate>Fri, 07 Dec 2012 11:44:00 +0000</pubDate><atom:updated>2013-05-16T05:44:50.227-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Post XML data using CURL - PHP</category><title>Post XML data using CURL - PHP</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
A couple of methods are available to post an xml data to the
server. Here we are showing how to post the xml data in HTTP post method by
using CURL and PHP.&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
Here is the code.&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;div id=&quot;cblock&quot; style=&quot;height: 100%; overflow: auto; width: 580px;&quot;&gt;
&lt;pre class=&quot;php&quot; style=&quot;background: #fefefe; font-family: monospace;&quot;&gt;&lt;span style=&quot;color: black; font-weight: bold;&quot;&gt;&amp;lt;?PHP&lt;/span&gt;
&amp;nbsp;
&lt;span style=&quot;color: #666666; font-style: italic;&quot;&gt;// xml data &lt;/span&gt;
&amp;nbsp;
&lt;span style=&quot;color: #000088;&quot;&gt;$xml_data =&#39;&amp;lt;RequestData&amp;gt;&lt;/span&gt; 
&amp;nbsp;
&lt;span style=&quot;color: #000088;&quot;&gt; &amp;lt;userID&amp;gt;&#39;.uniqid().&#39;&amp;lt;/userID&amp;gt;&lt;/span&gt; 
&amp;nbsp;
&lt;span style=&quot;color: #000088;&quot;&gt; &amp;lt;lName&amp;gt;&#39;.$lastname.&#39;&amp;lt;/lName&amp;gt;&lt;/span&gt; 
&amp;nbsp;
&lt;span style=&quot;color: #000088;&quot;&gt; &amp;lt;fName&amp;gt;&#39;.$firstname.&#39;&amp;lt;/fName&amp;gt;&lt;/span&gt;
&amp;nbsp;
&lt;span style=&quot;color: #000088;&quot;&gt; &amp;lt;pass&amp;gt;&#39;.$password.&#39;&amp;lt;/pass&amp;gt;&lt;/span&gt;
&amp;nbsp;
&lt;span style=&quot;color: #17479e;&quot;&gt; &amp;lt;uGroupID&amp;gt;1&amp;lt;/uGroupID&amp;gt;&lt;/span&gt;
&amp;nbsp;
&lt;span style=&quot;color: #17479e;&quot;&gt; &amp;lt;rightID&amp;gt;1&amp;lt;/rightID&amp;gt;&lt;/span&gt;
&amp;nbsp;
&lt;span style=&quot;color: #17479e;&quot;&gt; &amp;lt;userNum&amp;gt;1&amp;lt;/userNum&amp;gt;&lt;/span&gt;
&amp;nbsp;
&lt;span style=&quot;color: #17479e;&quot;&gt; &amp;lt;emailID&amp;gt;&#39;.$email.&#39;&amp;lt;/emailID&amp;gt;&lt;/span&gt;
&amp;nbsp;
&lt;span style=&quot;color: #17479e;&quot;&gt; &amp;lt;isConsultant&amp;gt;1&amp;lt;/isConsultant&amp;gt;&lt;/span&gt;
&amp;nbsp;
&lt;span style=&quot;color: #17479e;&quot;&gt; &amp;lt;passChange&amp;gt;1&amp;lt;/passChange&amp;gt;&lt;/span&gt;
&amp;nbsp;
&lt;span style=&quot;color: #17479e;&quot;&gt; &amp;lt;passNoExchange&amp;gt;1&amp;lt;/passNoExchange&amp;gt;&lt;/span&gt;
&amp;nbsp;
&lt;span style=&quot;color: #17479e;&quot;&gt; &amp;lt;disabled&amp;gt;0&amp;lt;/disabled&amp;gt;&lt;/span&gt;
&amp;nbsp;
&lt;span style=&quot;color: #17479e;&quot;&gt; &amp;lt;saFailAttempt&amp;gt;1&amp;lt;/saFailAttempt&amp;gt;&lt;/span&gt;
&amp;nbsp;
&lt;span style=&quot;color: #17479e;&quot;&gt;&amp;lt;/RequestData&amp;gt;&lt;/span&gt;
&amp;nbsp;
&lt;span style=&quot;color: #17479e;&quot;&gt;&#39;;&lt;/span&gt;
&amp;nbsp;
&lt;span style=&quot;color: #666666; font-style: italic;&quot;&gt;// assigning url and posting with curl &lt;/span&gt;
&amp;nbsp;
&lt;span style=&quot;color: #17479e;&quot;&gt;$URL = &quot;http://172.16.0.44/RespackService/RespackService.svc/AddUser&quot;;&lt;/span&gt;
&amp;nbsp;
&lt;span style=&quot;color: #17479e;&quot;&gt;$ch = curl_init($URL);&lt;/span&gt;
&amp;nbsp;
&lt;span style=&quot;color: #17479e;&quot;&gt;curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);&lt;/span&gt;
&amp;nbsp;
&lt;span style=&quot;color: #17479e;&quot;&gt;curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 0);&lt;/span&gt;
&amp;nbsp;
&lt;span style=&quot;color: #17479e;&quot;&gt;curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 0);&lt;/span&gt;
&amp;nbsp;
&lt;span style=&quot;color: #17479e;&quot;&gt;curl_setopt($ch, CURLOPT_POST, 1);&lt;/span&gt;
&amp;nbsp;
&lt;span style=&quot;color: #17479e;&quot;&gt;curl_setopt($ch, CURLOPT_HTTPHEADER, array(&#39;Content-Type: text/xml&#39;));&lt;/span&gt;
&amp;nbsp;
&lt;span style=&quot;color: #17479e;&quot;&gt;curl_setopt($ch, CURLOPT_POSTFIELDS, &quot;$xml_data&quot;);&lt;/span&gt;
&amp;nbsp;
&lt;span style=&quot;color: #17479e;&quot;&gt;curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);&lt;/span&gt;
&amp;nbsp;
&lt;span style=&quot;color: #17479e;&quot;&gt;$output = curl_exec($ch);&lt;/span&gt;
&amp;nbsp;
&lt;span style=&quot;color: #17479e;&quot;&gt;curl_close($ch);&lt;/span&gt;
&amp;nbsp;
&lt;span style=&quot;color: #666666; font-style: italic;&quot;&gt;// prints the output &lt;/span&gt;
&amp;nbsp;
&lt;span style=&quot;color: #17479e;&quot;&gt;print_r($output);exit;&lt;/span&gt;
&amp;nbsp;

&lt;span style=&quot;color: black; font-weight: bold;&quot;&gt;?&amp;gt;&lt;/span&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;a href=&quot;http://innovativewebz.com/libraries/posting_xml_using_curl.rar&quot;&gt;Download the source code here&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
Hope this helps.&lt;/div&gt;
&lt;/div&gt;
</description><link>http://innovativewebz.blogspot.com/2012/12/post-xml-data-using-curl-php.html</link><author>noreply@blogger.com (Unknown)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-6208332744473320763.post-6401746615207768950</guid><pubDate>Fri, 07 Dec 2012 08:21:00 +0000</pubDate><atom:updated>2013-05-16T05:45:01.966-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Access asmx webservice from PHP using CURL</category><title>Access asmx webservice from PHP using CURL</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
Consuming .asmx webservices is not so much complex nowadays.We can use CURL for posting variables to an asmx webservice.
You can get the output in a few steps. Here are the details:&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: .5in; mso-list: l0 level1 lfo1; tab-stops: list .5in; text-indent: -.25in;&quot;&gt;
&lt;!--[if !supportLists]--&gt;1)&lt;span style=&quot;font-size: 7pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;!--[endif]--&gt;Assign
URL and variables&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: .5in; mso-list: l0 level1 lfo1; tab-stops: list .5in; text-indent: -.25in;&quot;&gt;
&lt;!--[if !supportLists]--&gt;2)&lt;span style=&quot;font-size: 7pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;!--[endif]--&gt;Post
using curl&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: .5in; mso-list: l0 level1 lfo1; tab-stops: list .5in; text-indent: -.25in;&quot;&gt;
&lt;!--[if !supportLists]--&gt;3)&lt;span style=&quot;font-size: 7pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;!--[endif]--&gt;Prints
the Output&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
Here is the code.&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div id=&quot;cblock&quot; style=&quot;overflow: auto; width: 600px;&quot;&gt;
&lt;pre class=&quot;php&quot; style=&quot;background: #fefefe; font-family: monospace;&quot;&gt;&lt;span style=&quot;color: black; font-weight: bold;&quot;&gt;&amp;lt;?PHP&lt;/span&gt;
&amp;nbsp;
&lt;span style=&quot;color: #666666; font-style: italic;&quot;&gt;//web service URL and variables&lt;/span&gt;
&amp;nbsp;
&lt;span style=&quot;color: #000088;&quot;&gt;$url = &#39;http://172.16.0.35/SoleTraderTaxiLocal/SoleTraderServices.asmx/SearchUsers&#39;;&lt;/span&gt; 
&amp;nbsp;
&lt;span style=&quot;color: #000088;&quot;&gt;$fields = array(&#39;AuthenKey&#39;=&amp;gt;&#39;172839&#39;,
    
&#39;Criteria&#39;=&amp;gt;&#39;userfirstname&#39;,

&#39;SearchText&#39;=&amp;gt;&#39;j&#39;,

&#39;UserTypeiCode&#39;=&amp;gt;&#39;2&#39;,

);&lt;/span&gt; 
&amp;nbsp;
&lt;span style=&quot;color: #000088;&quot;&gt;foreach($fields as $key=&amp;gt;$value) { $fields_string .= $key.&#39;=&#39;.$value.&#39;&amp;amp;&#39;; }&lt;/span&gt; 
&amp;nbsp;
&lt;span style=&quot;color: #000088;&quot;&gt;rtrim($fields_string,&#39;&amp;amp;&#39;);&lt;/span&gt;
&amp;nbsp;
&lt;span style=&quot;color: #666666; font-style: italic;&quot;&gt;// Posting with CURL &lt;/span&gt;
&amp;nbsp;
&lt;span style=&quot;color: #000088;&quot;&gt;$ch = curl_init();&lt;/span&gt;
&amp;nbsp;
&lt;span style=&quot;color: #17479e;&quot;&gt;curl_setopt($ch,CURLOPT_URL,$url);&lt;/span&gt;
&amp;nbsp;
&lt;span style=&quot;color: #17479e;&quot;&gt;curl_setopt($ch,CURLOPT_POST,count($fields));&lt;/span&gt;
&amp;nbsp;
&lt;span style=&quot;color: #17479e;&quot;&gt;curl_setopt($ch,CURLOPT_POSTFIELDS,$fields_string);&lt;/span&gt;
&amp;nbsp;
&lt;span style=&quot;color: #17479e;&quot;&gt;curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);&lt;/span&gt;
&amp;nbsp;
&lt;span style=&quot;color: #17479e;&quot;&gt;$result = curl_exec($ch);&lt;/span&gt;
&amp;nbsp;
&lt;span style=&quot;color: #666666; font-style: italic;&quot;&gt;// Output to an xml file &lt;/span&gt;
&amp;nbsp;
&lt;span style=&quot;color: #17479e;&quot;&gt;file_put_contents(&#39;content123.xml&#39;,$result);&lt;/span&gt;
&amp;nbsp;
&lt;span style=&quot;color: #17479e;&quot;&gt;curl_close($ch);&lt;/span&gt;
&amp;nbsp;
&lt;span style=&quot;color: black; font-weight: bold;&quot;&gt;?&amp;gt;&lt;/span&gt;&lt;/pre&gt;
&lt;pre class=&quot;php&quot; style=&quot;background: #fefefe; font-family: monospace;&quot;&gt;&lt;span style=&quot;color: black; font-weight: bold;&quot;&gt;
&lt;/span&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
You can &lt;a href=&quot;http://innovativewebz.com/libraries/access_asmxwebservice_phpcurl.rar&quot;&gt;download the Complete Source Code from here&lt;/a&gt;.&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
Hope this helps!&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
</description><link>http://innovativewebz.blogspot.com/2012/12/access-asmx-webservice-from-php-using.html</link><author>noreply@blogger.com (Unknown)</author><thr:total>2</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-6208332744473320763.post-7251819485601448147</guid><pubDate>Thu, 06 Dec 2012 07:58:00 +0000</pubDate><atom:updated>2013-05-16T05:46:09.077-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Get video details from youtube using PHP</category><title>Get video details from youtube using PHP</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
This is a simple PHP class for fetching the complete video
details from youtube.&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
The output is available as xml file and we can parse this to
show in our application.&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;a href=&quot;http://innovativewebz.com/libraries/retrieve_video_details.rar&quot;&gt;Download the source code here&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
Try it for your applications.&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
If you have any queries, please send an email to &lt;a href=&quot;mailto:support@innovativewebz.com&quot;&gt;support@innovativewebz.com&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;</description><link>http://innovativewebz.blogspot.com/2012/12/get-video-details-from-youtube-using-php.html</link><author>noreply@blogger.com (Unknown)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-6208332744473320763.post-1747751020093493284</guid><pubDate>Thu, 06 Dec 2012 06:53:00 +0000</pubDate><atom:updated>2013-05-16T05:46:24.556-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Force Download a file in PHP</category><title>Force Download a file in PHP</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;
PHP allows you to change the HTTP
headers of files you&#39;re writing. This way you can force a file to be downloaded
that normally the browser would load in the same window.&amp;nbsp;&amp;nbsp;You can use
this for files like PDFs, document files, images, or videos that you want your
customers to download rather than read online.&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div id=&quot;cblock&quot; style=&quot;height: 100%; overflow: auto; width: 540px;&quot;&gt;
&lt;pre class=&quot;php&quot; style=&quot;background: #fefefe; font-family: monospace;&quot;&gt;&lt;span style=&quot;color: black; font-weight: bold;&quot;&gt;&amp;lt;?PHP&lt;/span&gt;
&amp;nbsp;
&lt;span style=&quot;color: #666666; font-style: italic;&quot;&gt;// Force download in PHP &lt;/span&gt;
&amp;nbsp;
&lt;span style=&quot;color: #d45d25;&quot;&gt;$file=&quot;http://yourdomain/fileurl&quot;;&lt;/span&gt;  
&amp;nbsp;
&lt;span style=&quot;color: #d45d25;&quot;&gt;header(&quot;Content-Description: File Transfer&quot;); &lt;/span&gt;  
&amp;nbsp;
&lt;span style=&quot;color: #d45d25;&quot;&gt;header(&quot;Content-Type: application/octet-stream&quot;); &lt;/span&gt;  
&amp;nbsp;
&lt;span style=&quot;color: #d45d25;&quot;&gt;header(&quot;Content-Disposition: attachment; filename=\&quot;$file\&quot;&quot;); &lt;/span&gt;
&amp;nbsp;
&lt;span style=&quot;color: #d45d25;&quot;&gt;readfile($file);&lt;/span&gt;
&amp;nbsp;
&lt;span style=&quot;color: black; font-weight: bold;&quot;&gt;?&amp;gt;&lt;/span&gt;&lt;/pre&gt;
&lt;/div&gt;
There should be no spaces or carriage returns anywhere in the file. Blank lines will cause PHP to default to text/html and your file won&#39;t download.&lt;br /&gt;
&lt;br /&gt;
Hope this helps !&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
</description><link>http://innovativewebz.blogspot.com/2012/12/force-download-file-php.html</link><author>noreply@blogger.com (Unknown)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-6208332744473320763.post-3639816601716994136</guid><pubDate>Wed, 05 Dec 2012 08:32:00 +0000</pubDate><atom:updated>2013-05-16T05:46:34.761-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Unset all cookies in PHP</category><title>Unset all cookies in PHP </title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;span style=&quot;font-size: 12pt;&quot;&gt;&lt;b&gt;Delete / Unset all cookies in PHP&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: 12pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-size: 12pt;&quot;&gt;If you want to delete all cookies on your
domain, you may want to use the value of:&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #000088;&quot;&gt;&amp;lt;?php &amp;nbsp; $_SERVER[&#39;HTTP_COOKIE&#39;] &amp;nbsp; ? &amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: 12pt;&quot;&gt;rather than:&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #000088;&quot;&gt;&amp;lt;?php &amp;nbsp;$_COOKIE &amp;nbsp;? &amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
to dertermine the cookie names.&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;
If cookie names are in Array
notation, eg: user[username]&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;
Then PHP will automatically create a corresponding array in $_COOKIE. Instead
use &amp;nbsp;$_SERVER[&#39;HTTP_COOKIE&#39;] &amp;nbsp;as it mirrors the actual HTTP Request header.&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;
So you can unset all cookies by the following way.&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;
&lt;div id=&quot;cblock&quot; style=&quot;height: 100%; overflow: auto; width: 540px;&quot;&gt;
&lt;pre class=&quot;php&quot; style=&quot;background: #fefefe; font-family: monospace;&quot;&gt;&lt;span style=&quot;color: black; font-weight: bold;&quot;&gt;&amp;lt;?PHP&lt;/span&gt;
&amp;nbsp;
&lt;span style=&quot;color: #666666; font-style: italic;&quot;&gt;// Unset all cookies in PHP &lt;/span&gt;
&amp;nbsp;
&lt;span style=&quot;color: #000088;&quot;&gt;if (isset($_SERVER[&#39;HTTP_COOKIE&#39;])) {&lt;/span&gt;  
&amp;nbsp;
        &lt;span style=&quot;color: #000088;&quot;&gt;$cookies = explode(&#39;;&#39;, $_SERVER[&#39;HTTP_COOKIE&#39;]);&lt;/span&gt;  
        &amp;nbsp;
        &lt;span style=&quot;color: #000088;&quot;&gt;foreach($cookies as $cookie) {&lt;/span&gt;  
        &amp;nbsp;
                &lt;span style=&quot;color: #000088;&quot;&gt;$parts = explode(&#39;=&#39;, $cookie);&lt;/span&gt;
                &amp;nbsp;
                &lt;span style=&quot;color: #000088;&quot;&gt;$name = trim($parts[0]);&lt;/span&gt;
                &amp;nbsp;
                &lt;span style=&quot;color: #000088;&quot;&gt;setcookie($name, &#39;&#39;, time()-1000);&lt;/span&gt;
                &amp;nbsp;
                &lt;span style=&quot;color: #000088;&quot;&gt;setcookie($name, &#39;&#39;, time()-1000, &#39;/&#39;);&lt;/span&gt;
        &amp;nbsp;
        &lt;span style=&quot;color: #000088;&quot;&gt;}&lt;/span&gt;
&amp;nbsp;
&lt;span style=&quot;color: #000088;&quot;&gt;}&lt;/span&gt;
&amp;nbsp;
&lt;span style=&quot;color: black; font-weight: bold;&quot;&gt;?&amp;gt;&lt;/span&gt;&lt;/pre&gt;
&lt;pre class=&quot;php&quot; style=&quot;background: #fefefe; font-family: monospace;&quot;&gt;Reference :&amp;nbsp;http://php.net/manual/en/function.setcookie.php&lt;/pre&gt;
&lt;pre class=&quot;php&quot; style=&quot;background: #fefefe; font-family: monospace;&quot;&gt;&lt;span style=&quot;background-color: transparent; text-align: left;&quot;&gt;Hope this helps!&lt;/span&gt;&lt;/pre&gt;
&lt;pre class=&quot;php&quot; style=&quot;background: #fefefe; font-family: monospace;&quot;&gt;
&lt;/pre&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;br /&gt;&lt;/div&gt;
</description><link>http://innovativewebz.blogspot.com/2012/12/unset-all-cookies-in-php.html</link><author>noreply@blogger.com (Unknown)</author><thr:total>0</thr:total></item></channel></rss>