you are accessing the element .word of a dictionary element that may never have been initialized - in fact since you have only one entry per letter of the alphabet, and you hard coded MAX, it's a certainty. So you find yourself with a null pointer - not a good string to compare against. You have to know how long each row of data is. To figure it out, your binary search needs to start with a search for the end of the dictionary. This leads to the following (working) code:


include <stdio.h>
#include <stdlib.h>
#include <string.h>

#define MAX 40
typedef struct
{
    char *word;
    char *meaning;
} par;

int Ricerca(par Dizionario[MAX][21], char Richiesta[20], int Min, int Max, int Iniziale, int depth);

int main()
{
   par Dizionario[MAX][21] =
   {
       {
          /////////////////////load my 2d array////////////////////
           //seconda riga
           {"Accendere", "Trasmettere energia elettrica a un apparecchio o dispositivo per farlo funzionare"},
           {"Bellezza","Qualita' di ciò che è bello"},
           {"Comune","Che e' di tutti, o che appartiene a piu' persone o cose"},
           {NULL, NULL},
           {"Elenco", "Nota, registro ordinato"},
           {NULL, NULL},
           {NULL, NULL},
           {NULL, NULL},
           {"Impetuoso","Che si muove con impeto [anche in senso figurato]; che si lascia vincere dall'impeto"},
           {"Lancio","Atto, effetto del lanciare o del lanciarsi"},
           {NULL, NULL},
           {NULL, NULL},
           {NULL, NULL},
           {"Produrre","Presentare, allegare, citare"},
           {NULL, NULL},
           {NULL, NULL},
           {"Saccone","Grosso sacco, imbottito generalmente di paglia, che si mette sotto il materasso o si usa talvolta in sua vece"},
           {NULL, NULL},
           {NULL, NULL},
           {"Verticale","Perpendicolare a un piano orizzontale; che sta ritto con la parte superiore in alto e l'inferiore in basso"},
           {NULL, NULL}
        }
    };


    int i, j, flag, Iniziale = 0;
    par temp;
    char Richiesta[20], Rtemp[20];

    /////////////////////bubble sort/////////////////////
    printf("unsorted array:\n");
    for(j=0; j<21;j++)
    {
      if (Dizionario[0][j].word != NULL) printf("%d: %s\n", j, Dizionario[0][j].word);
      for(i=0; i<MAX && Dizionario[i+1][j].word != NULL; i++)
        {
           if(strcmp(Dizionario[i][j].word, Dizionario[i+1][j].word) < 0)
           {
               temp=Dizionario[i][j];
               Dizionario[i][j] = Dizionario[i+1][j];
               Dizionario[i+1][j] = temp;
           }
        }
    }

//i'm gonna ask to the user what word he want
    printf("Che parola vuole cercare?\n");
    fgets (Richiesta, sizeof(Richiesta)-1, stdin);
    strncpy(Rtemp, Richiesta, strlen(Richiesta)-1); // do not copy newline
    Rtemp[0] = toupper(Rtemp[0]);
    printf("\nLooking for '%s'\n", Rtemp);
//I'm checking what's the first char, if it's a, i'm gonna assign 0 so it's
//it's gonna to the 'n' column and shifting there
// changed from lengthy switch() to more compact array:
    char firstLetter[] = {0,1,2,3,4,5,6,7,8,-1,-1,9,10,11,12,13,14,15,16,17,18,19,-1,-1,-1,20};
    Iniziale = firstLetter[Rtemp[0] - 'A'];
#if 0
    switch(Rtemp[0])
    {
        case 'A': Iniziale = 0;
                  break;
        case 'B': Iniziale = 1;
                  break;
        case 'C': Iniziale = 2;
                  break;
        case 'D': Iniziale = 3;
                  break;
        case 'E': Iniziale = 4;
                  break;
        case 'F': Iniziale = 5;
                  break;
        case 'G': Iniziale = 6;
                  break;
        case 'H': Iniziale = 7;
                  break;
        case 'I': Iniziale = 8;
                  break;
        case 'L': Iniziale = 9;
                  break;
        case 'M': Iniziale = 10;
                  break;
        case 'N': Iniziale = 11;
                  break;
        case 'O': Iniziale = 12;
                  break;
        case 'P': Iniziale = 13;
                  break;
        case 'Q': Iniziale = 14;
                  break;
        case 'R': Iniziale = 15;
                  break;
        case 'S': Iniziale = 16;
                  break;
        case 'T': Iniziale = 17;
                  break;
        case 'U': Iniziale = 18;
                  break;
        case 'V': Iniziale = 19;
                  break;
        case 'Z': Iniziale = 20;
                  break;
    }
#endif
    if (Iniziale == -1) {
      printf("no word with that first letter!\n");
      return 0;
    }
    printf("Iniziale = %d\n", Iniziale);
    flag = Search(Dizionario, Rtemp, 0, MAX, Iniziale, 0);
    printf("result of search was flag = %d\n", flag);

    //system("PAUSE");
    return 0;
}
int Search(par Dictionary[MAX][21], char Request[20], int Min, int Max, int init, int depth)
{
    int Median;
    Median = (Min+Max)/2;
    //printf("calling Search with min =%d, max = %d, median = %d, depth = %d\n", Min, Max, Median, depth);
    depth++;
    if (depth > 10) return 0; // trap an infinite loop - with MAX of 40, binary search should take only 6 iterations
    par *temp;

    if(Max <= Min) // elemento non trovato
    {
         printf("element not found!\n");
         return -1;
    }

    if(Dictionary[Median][init].word==NULL) {
       // out of bounds in the dictionary
       return Search(Dictionary, Request, Min, Median, init, depth);
    }
    if(strcmp(Dictionary[Median][init].word, Request) == 0) {
      printf("Word was found!\nDefinition = %s\n", Dictionary[Median][init].meaning);
      return 1;
    }

    if(strcmp(Request, Dictionary[Median][init].word) > 0 )
    {
         return Search(Dictionary, Request, Median+1, Max, init, depth);
    } else {
         return Search(Dictionary, Request, Min, Median-1, init, depth);
    }
}

There is a function that Wordpress uses and works nice. Here's the working code with output.


<?php

function seems_utf8($str)
{
    $length = strlen($str);
    for ($i=0; $i < $length; $i++) {
        $c = ord($str[$i]);
        if ($c < 0x80) $n = 0; # 0bbbbbbb
        elseif (($c & 0xE0) == 0xC0) $n=1; # 110bbbbb
        elseif (($c & 0xF0) == 0xE0) $n=2; # 1110bbbb
        elseif (($c & 0xF8) == 0xF0) $n=3; # 11110bbb
        elseif (($c & 0xFC) == 0xF8) $n=4; # 111110bb
        elseif (($c & 0xFE) == 0xFC) $n=5; # 1111110b
        else return false; # Does not match any model
        for ($j=0; $j<$n; $j++) { # n bytes matching 10bbbbbb follow ?
            if ((++$i == $length) || ((ord($str[$i]) & 0xC0) != 0x80))
                return false;
        }
    }
    return true;
}

/**
 * Converts all accent characters to ASCII characters.
 *
 * If there are no accent characters, then the string given is just returned.
 *
 * @param string $string Text that might have accent characters
 * @return string Filtered string with replaced "nice" characters.
 */
function remove_accents($string) {
    if ( !preg_match('/[\x80-\xff]/', $string) )
        return $string;

    if (seems_utf8($string)) {
        $chars = array(
        // Decompositions for Latin-1 Supplement
        chr(195).chr(128) => 'A', chr(195).chr(129) => 'A',
        chr(195).chr(130) => 'A', chr(195).chr(131) => 'A',
        chr(195).chr(132) => 'A', chr(195).chr(133) => 'A',
        chr(195).chr(135) => 'C', chr(195).chr(136) => 'E',
        chr(195).chr(137) => 'E', chr(195).chr(138) => 'E',
        chr(195).chr(139) => 'E', chr(195).chr(140) => 'I',
        chr(195).chr(141) => 'I', chr(195).chr(142) => 'I',
        chr(195).chr(143) => 'I', chr(195).chr(145) => 'N',
        chr(195).chr(146) => 'O', chr(195).chr(147) => 'O',
        chr(195).chr(148) => 'O', chr(195).chr(149) => 'O',
        chr(195).chr(150) => 'O', chr(195).chr(153) => 'U',
        chr(195).chr(154) => 'U', chr(195).chr(155) => 'U',
        chr(195).chr(156) => 'U', chr(195).chr(157) => 'Y',
        chr(195).chr(159) => 's', chr(195).chr(160) => 'a',
        chr(195).chr(161) => 'a', chr(195).chr(162) => 'a',
        chr(195).chr(163) => 'a', chr(195).chr(164) => 'a',
        chr(195).chr(165) => 'a', chr(195).chr(167) => 'c',
        chr(195).chr(168) => 'e', chr(195).chr(169) => 'e',
        chr(195).chr(170) => 'e', chr(195).chr(171) => 'e',
        chr(195).chr(172) => 'i', chr(195).chr(173) => 'i',
        chr(195).chr(174) => 'i', chr(195).chr(175) => 'i',
        chr(195).chr(177) => 'n', chr(195).chr(178) => 'o',
        chr(195).chr(179) => 'o', chr(195).chr(180) => 'o',
        chr(195).chr(181) => 'o', chr(195).chr(182) => 'o',
        chr(195).chr(182) => 'o', chr(195).chr(185) => 'u',
        chr(195).chr(186) => 'u', chr(195).chr(187) => 'u',
        chr(195).chr(188) => 'u', chr(195).chr(189) => 'y',
        chr(195).chr(191) => 'y',
        // Decompositions for Latin Extended-A
        chr(196).chr(128) => 'A', chr(196).chr(129) => 'a',
        chr(196).chr(130) => 'A', chr(196).chr(131) => 'a',
        chr(196).chr(132) => 'A', chr(196).chr(133) => 'a',
        chr(196).chr(134) => 'C', chr(196).chr(135) => 'c',
        chr(196).chr(136) => 'C', chr(196).chr(137) => 'c',
        chr(196).chr(138) => 'C', chr(196).chr(139) => 'c',
        chr(196).chr(140) => 'C', chr(196).chr(141) => 'c',
        chr(196).chr(142) => 'D', chr(196).chr(143) => 'd',
        chr(196).chr(144) => 'D', chr(196).chr(145) => 'd',
        chr(196).chr(146) => 'E', chr(196).chr(147) => 'e',
        chr(196).chr(148) => 'E', chr(196).chr(149) => 'e',
        chr(196).chr(150) => 'E', chr(196).chr(151) => 'e',
        chr(196).chr(152) => 'E', chr(196).chr(153) => 'e',
        chr(196).chr(154) => 'E', chr(196).chr(155) => 'e',
        chr(196).chr(156) => 'G', chr(196).chr(157) => 'g',
        chr(196).chr(158) => 'G', chr(196).chr(159) => 'g',
        chr(196).chr(160) => 'G', chr(196).chr(161) => 'g',
        chr(196).chr(162) => 'G', chr(196).chr(163) => 'g',
        chr(196).chr(164) => 'H', chr(196).chr(165) => 'h',
        chr(196).chr(166) => 'H', chr(196).chr(167) => 'h',
        chr(196).chr(168) => 'I', chr(196).chr(169) => 'i',
        chr(196).chr(170) => 'I', chr(196).chr(171) => 'i',
        chr(196).chr(172) => 'I', chr(196).chr(173) => 'i',
        chr(196).chr(174) => 'I', chr(196).chr(175) => 'i',
        chr(196).chr(176) => 'I', chr(196).chr(177) => 'i',
        chr(196).chr(178) => 'IJ',chr(196).chr(179) => 'ij',
        chr(196).chr(180) => 'J', chr(196).chr(181) => 'j',
        chr(196).chr(182) => 'K', chr(196).chr(183) => 'k',
        chr(196).chr(184) => 'k', chr(196).chr(185) => 'L',
        chr(196).chr(186) => 'l', chr(196).chr(187) => 'L',
        chr(196).chr(188) => 'l', chr(196).chr(189) => 'L',
        chr(196).chr(190) => 'l', chr(196).chr(191) => 'L',
        chr(197).chr(128) => 'l', chr(197).chr(129) => 'L',
        chr(197).chr(130) => 'l', chr(197).chr(131) => 'N',
        chr(197).chr(132) => 'n', chr(197).chr(133) => 'N',
        chr(197).chr(134) => 'n', chr(197).chr(135) => 'N',
        chr(197).chr(136) => 'n', chr(197).chr(137) => 'N',
        chr(197).chr(138) => 'n', chr(197).chr(139) => 'N',
        chr(197).chr(140) => 'O', chr(197).chr(141) => 'o',
        chr(197).chr(142) => 'O', chr(197).chr(143) => 'o',
        chr(197).chr(144) => 'O', chr(197).chr(145) => 'o',
        chr(197).chr(146) => 'OE',chr(197).chr(147) => 'oe',
        chr(197).chr(148) => 'R',chr(197).chr(149) => 'r',
        chr(197).chr(150) => 'R',chr(197).chr(151) => 'r',
        chr(197).chr(152) => 'R',chr(197).chr(153) => 'r',
        chr(197).chr(154) => 'S',chr(197).chr(155) => 's',
        chr(197).chr(156) => 'S',chr(197).chr(157) => 's',
        chr(197).chr(158) => 'S',chr(197).chr(159) => 's',
        chr(197).chr(160) => 'S', chr(197).chr(161) => 's',
        chr(197).chr(162) => 'T', chr(197).chr(163) => 't',
        chr(197).chr(164) => 'T', chr(197).chr(165) => 't',
        chr(197).chr(166) => 'T', chr(197).chr(167) => 't',
        chr(197).chr(168) => 'U', chr(197).chr(169) => 'u',
        chr(197).chr(170) => 'U', chr(197).chr(171) => 'u',
        chr(197).chr(172) => 'U', chr(197).chr(173) => 'u',
        chr(197).chr(174) => 'U', chr(197).chr(175) => 'u',
        chr(197).chr(176) => 'U', chr(197).chr(177) => 'u',
        chr(197).chr(178) => 'U', chr(197).chr(179) => 'u',
        chr(197).chr(180) => 'W', chr(197).chr(181) => 'w',
        chr(197).chr(182) => 'Y', chr(197).chr(183) => 'y',
        chr(197).chr(184) => 'Y', chr(197).chr(185) => 'Z',
        chr(197).chr(186) => 'z', chr(197).chr(187) => 'Z',
        chr(197).chr(188) => 'z', chr(197).chr(189) => 'Z',
        chr(197).chr(190) => 'z', chr(197).chr(191) => 's',
        // Euro Sign
        chr(226).chr(130).chr(172) => 'E',
        // GBP (Pound) Sign
        chr(194).chr(163) => '');

        $string = strtr($string, $chars);
    } else {
        // Assume ISO-8859-1 if not UTF-8
        $chars['in'] = chr(128).chr(131).chr(138).chr(142).chr(154).chr(158)
            .chr(159).chr(162).chr(165).chr(181).chr(192).chr(193).chr(194)
            .chr(195).chr(196).chr(197).chr(199).chr(200).chr(201).chr(202)
            .chr(203).chr(204).chr(205).chr(206).chr(207).chr(209).chr(210)
            .chr(211).chr(212).chr(213).chr(214).chr(216).chr(217).chr(218)
            .chr(219).chr(220).chr(221).chr(224).chr(225).chr(226).chr(227)
            .chr(228).chr(229).chr(231).chr(232).chr(233).chr(234).chr(235)
            .chr(236).chr(237).chr(238).chr(239).chr(241).chr(242).chr(243)
            .chr(244).chr(245).chr(246).chr(248).chr(249).chr(250).chr(251)
            .chr(252).chr(253).chr(255);

        $chars['out'] = "EfSZszYcYuAAAAAACEEEEIIIINOOOOOOUUUUYaaaaaaceeeeiiiinoooooouuuuyy";

        $string = strtr($string, $chars['in'], $chars['out']);
        $double_chars['in'] = array(chr(140), chr(156), chr(198), chr(208), chr(222), chr(223), chr(230), chr(240), chr(254));
        $double_chars['out'] = array('OE', 'oe', 'AE', 'DH', 'TH', 'ss', 'ae', 'dh', 'th');
        $string = str_replace($double_chars['in'], $double_chars['out'], $string);
    }

    return $string;
}


$str = "ľ š č ť ž ý á í é Č Á Ž Ý";
echo remove_accents($str); // Output: l s c t z y a i e C A Z Y
?>

I had a bit of spare time so put together a demo of how you could do this all on one page using sessions. There is no jQuery ( I don't use it ) so you might need to adjust the ajax calls appropriately - no doubt there are various methods on offer within jQuery which could streamline the following code.


<?php
    session_start();

    $maxlines=6;    #how many phone lines - default 6
    $svar='calls';  #session variable name

    /* create a new session variable if it does not already exist */
    if( !isset( $_SESSION[ $svar ] ) )$_SESSION[ $svar ]=array();

    /* Process ajax POST requests */
    if( $_SERVER['REQUEST_METHOD']=='POST' && !empty( $_POST ) ){
        ob_clean();

        $cmd=filter_input( INPUT_POST, 'cmd', FILTER_SANITIZE_STRING );
        $line=filter_input( INPUT_POST, 'line', FILTER_SANITIZE_NUMBER_INT );


        if( $cmd ){
            switch( $cmd ){
                case 'poll':
                    $json=json_encode( $_SESSION[ $svar ] );
                break;
                case 'add-caller':
                    $_POST['time']=date('H:i:s');
                    $_SESSION[ $svar ][ $line ]=$_POST ;
                    $json=json_encode( $_SESSION[ $svar ] );
                break;
                case 'delete':
                    if( $line && array_key_exists( $line,$_SESSION[ $svar ] ) ) unset( $_SESSION[ $svar ][ $line ] );
                    $json=json_encode( $_SESSION[ $svar ] );
                break;
            }
        }
        header('Content-Type: application/json');
        exit( $json );
    }
?>
<!doctype html>
<html>
    <head>
        <meta charset='utf-8' />
        <title>Call Manager</title>
        <style>
            html, html *{font-family:calibri,verdana,arial;font-size:1rem;box-sizing:border-box;}
            #container{width:95%;float:none;margin:0 auto;box-sizing:border-box;}
            #lhs{width:calc(20% - 2rem );float:left;height:80vh;}
            #rhs{width:calc(80% - 2rem );float:right;height:80vh;}
            #lhs,#rhs{display:block;clear:none;box-sizing:border-box;margin:0 1rem}
            input[type='button']{float:none;display:inline-block;margin:1rem auto;}
            input[type='text'],select{width:100%;padding:0.5rem;}
            table{width:100%;}
            td{text-align:center;}
            tr td:not([colspan]):first-of-type{text-align:left;}
            h1{font-size:2rem;text-align:center;}
            h2{font-size:1.25rem;text-align:center;}
            pre{clear:both;}
            ul,li{ display:block; width:100%;float:left;}
            li:nth-of-type(even){background:whitesmoke;}
            option[disabled]{background:rgba(255,0,0,0.25)}
            li{padding:0.25rem 1rem;}
            li div span{font-weight:bold;margin:0 0 0 2rem;}
            li div input{ color:red;float:right!important;clear:none; }
        </style>
        <script>

            var _int;
            var _poll=2.5;

            function ajax(m,u,p,c,o){
                /*
                    Utility function for basic Ajax requests
                    m = method ~ GET or POST only
                    u = url ~ the script or resource to which the request will be sent
                    p = parameters ~ an object literal of parameters to send
                    c = callback ~ asynchronous callback function that processes the response
                    o = options ~ object literal o foptions which are also passed to callback

                */
                var xhr=new XMLHttpRequest();
                xhr.onreadystatechange=function(){
                    if( xhr.readyState==4 && xhr.status==200 )c.call( this, xhr.response, o, xhr.getAllResponseHeaders() );
                };
                if( o.hasOwnProperty('formdata') && o.formdata===true && m.toLowerCase()=='post' ){
                    /* send formdata object "as-is" ~ set p = FormData */
                } else {
                    var params=[];
                    for( var n in p )params.push( n+'='+p[ n ] );
                    switch( m.toLowerCase() ){
                        case 'post': p=params.join('&'); break;
                        case 'get': u+='?'+params.join('&'); p=null; break;
                    }
                }
                xhr.open( m.toUpperCase(), u, true );
                if( !o.hasOwnProperty('formdata') ) xhr.setRequestHeader('Content-Type','application/x-www-form-urlencoded');
                if( o && Object.keys( o ).length > 0 && o.hasOwnProperty('headers') ){
                    for( var h in o.headers )xhr.setRequestHeader( h, o.headers[ h ] );
                }
                xhr.send( p );
            }

            function createNode( t, a, p ) {
                try{
                    /*
                        utility function to simplify creation of new DOM nodes
                        t = type ~ node type or tag name of node
                        a = attributes ~ object literal of attributes to add to node
                        p = parent ~ the DOM node to which the new node will be added
                    */
                    var el = ( typeof( t )=='undefined' || t==null ) ? document.createElement( 'div' ) : document.createElement( t );
                    for( var x in a ) if( a.hasOwnProperty( x ) && x!=='innerHTML' ) el.setAttribute( x, a[ x ] );
                    if( a.hasOwnProperty('innerHTML') ) el.innerHTML=a.innerHTML;
                    if( p!=null ) typeof( p )=='object' ? p.appendChild( el ) : document.getElementById( p ).appendChild( el );
                    return el;
                }catch(err){
                    console.warn('createNode: %s, %o, %o',t,a,p);
                }
            }





            function bindEvents( event ){
                /* get references to dom nodes */
                var form=document.getElementById('caller-info');
                var select=form.querySelector('select');
                var rhs=document.getElementById('rhs').querySelector('ul');

                /* utility functions */
                var _clearform=function(){
                    Array.prototype.slice.call( form.querySelectorAll('input[type="text"]') ).forEach(function(n){n.value=''});
                };
                var _disable=function(i){
                    select.querySelector('option[data-id="'+i+'"]').disabled=true;
                };
                var _enable=function(i){
                    select.querySelector('option[data-id="'+i+'"]').removeAttribute('disabled');
                };
                var _deletecaller=function(e){
                    _enable.call( this, this.dataset.id );
                    _setcaller.call( this, this.dataset.id, 'Line '+this.dataset.id )
                    this.parentNode.parentNode.parentNode.removeChild( this.parentNode.parentNode );
                };
                var _setcaller=function(i,name){
                    select.querySelector('option[data-id="'+i+'"]').innerHTML=name;
                }


                /* ajax config */
                var method='post';
                var url=location.href;
                var options={ formdata:true, node:rhs, clear:true };
                var callback=function(r,o,h){
                    /* clear text fields in the form */
                    if( o.clear===true ) _clearform.call( this );

                    var data=JSON.parse( r );
                    for( var n in data ){

                        var json=data[n];
                        var id='caller_'+json.line;
                        /*
                            change attributes of select menu
                            and change the displayed text of 
                            selected option to indicate the line
                            is busy
                        */
                        _enable.call( this, json.line );
                        _disable.call( this, json.line );
                        _setcaller.call( this, json.line, 'Line '+json.line+' - '+json.name );


                        /*
                            if there is NOT a node with id ( as above )
                            then create a new `li` node with child content
                            including the `delete` button to which a new
                            `onclick` event listener is added.
                        */
                        if( !document.getElementById( id ) ){
                            var li=createNode( 'li', { id:id }, o.node );
                            var div=createNode( null,{ 'data-id':json.line, innerHTML:'<span>Line:</span> '+json.line+' <span>Name:</span> '+json.name+' <span>Town:</span> '+json.town+' <span>Topic:</span> '+json.topic+' <span>Waiting since: </span>' + json.time },li);
                            var bttn=createNode( 'input', { type:'button',value:'Delete','data-id':json.line }, div );
                                bttn.onclick=function( event ){
                                    ajax.call( this, method, url, { cmd:'delete', line:this.dataset.id }, _deletecaller.bind( this ), { node:rhs } );
                                }.bind( bttn );
                        }
                    }
                    /*
                        If there are no child nodes (`li`) to the
                        `ul` - stop polling
                    */
                    if( o.node.childNodes.length==0 ){
                        clearInterval( _int );
                        _int=Number.NaN;
                        console.info('stop polling...');
                    }
                };


                var _beginpolling=function(){
                    if( isNaN( _int ) ){
                        console.info('start polling...');
                        _int=setInterval(function(){
                            ajax.call( this, method, url, { cmd:'poll' }, callback, { node:rhs, clear:false } );
                        }, 1000 * _poll );
                    }
                };



                /* Add caller - event listener assigned to `Submit Caller` button */
                var evtSubmitCaller=function( event ){
                    /*
                        rather than manually collecting form field parameters
                        and processing into a payload to send in the request, 
                        use the `FormData` object ~ adding ( append ) a custom
                        parameter `cmd`
                    */
                    var fd=new FormData( form );
                        fd.append('cmd','add-caller');
                    ajax.call( this, method, url, fd, callback, options );
                    _beginpolling.call( this );
                };
                form.querySelector('input[type="button"]').onclick=evtSubmitCaller;




                /* Poll every n seconds */
                _beginpolling.call( this );

            }
            document.addEventListener( 'DOMContentLoaded', bindEvents, false );
        </script>
    </head>
    <body>
        <h1>Call Manager</h1>
        <div id='container'>
            <div id='lhs' data-id='callerInfo'>
                <form id='caller-info' method='post'>
                    <h2>Add Caller</h2>
                    <table>
                        <tbody>
                            <tr>
                                <td>Line</td>
                                <td>
                                    <select name='line'>
                                    <?php
                                        for( $i=1; $i <= $maxlines; $i++ ){
                                            $caller = !empty( $_SESSION[ $svar ] ) && array_key_exists( $i, $_SESSION[ $svar ] ) ? 'Line '.$i.' - '.$_SESSION[ $svar ][ $i ]['name'] : "Line $i";
                                            $disabled = !empty( $_SESSION[ $svar ] ) && array_key_exists( $i, $_SESSION[ $svar ] ) ? 'disabled=true' : '';
                                            echo "<option data-id='$i' value='$i' $disabled>$caller";
                                        }
                                    ?>
                                    </select>
                                </td>
                            </tr>
                            <tr>
                                <td>Name</td>
                                <td> 
                                    <input type='text' name='name' />
                                </td>
                            </tr>
                            <tr>
                                <td>Town</td>
                                <td>
                                    <input type='text' name='town' />
                                </td>
                            </tr>
                            <tr>
                                <td>Topic</td>
                                <td>
                                    <input type='text' name='topic' />
                                </td>
                            </tr>
                            <tr>
                                <td colspan=2>
                                    <input type='button' value='Submit Caller' />
                                </td>
                            </tr>
                        </tbody>
                    </table>
                </form>
            </div>
            <div id='rhs' data-id='submittedInfo'>
                <ul></ul><!-- will be populated by ajax callback -->
            </div>
        </div>
    </body>
</html>

Complete working code. I know this is long, but it's a sure-shot way used by Wordpress.


<?php

function seems_utf8($str) 
{
    $length = strlen($str);
    for ($i=0; $i < $length; $i++) {
        $c = ord($str[$i]);
        if ($c < 0x80) $n = 0; # 0bbbbbbb
        elseif (($c & 0xE0) == 0xC0) $n=1; # 110bbbbb
        elseif (($c & 0xF0) == 0xE0) $n=2; # 1110bbbb
        elseif (($c & 0xF8) == 0xF0) $n=3; # 11110bbb
        elseif (($c & 0xFC) == 0xF8) $n=4; # 111110bb
        elseif (($c & 0xFE) == 0xFC) $n=5; # 1111110b
        else return false; # Does not match any model
        for ($j=0; $j<$n; $j++) { # n bytes matching 10bbbbbb follow ?
            if ((++$i == $length) || ((ord($str[$i]) & 0xC0) != 0x80))
                return false;
        }
    }
    return true;
}

/**
 * Converts all accent characters to ASCII characters.
 *
 * If there are no accent characters, then the string given is just returned.
 *
 * @param string $string Text that might have accent characters
 * @return string Filtered string with replaced "nice" characters.
 */
function remove_accents($string) {
    if ( !preg_match('/[\x80-\xff]/', $string) )
        return $string;

    if (seems_utf8($string)) {
        $chars = array(
        // Decompositions for Latin-1 Supplement
        chr(195).chr(128) => 'A', chr(195).chr(129) => 'A',
        chr(195).chr(130) => 'A', chr(195).chr(131) => 'A',
        chr(195).chr(132) => 'A', chr(195).chr(133) => 'A',
        chr(195).chr(135) => 'C', chr(195).chr(136) => 'E',
        chr(195).chr(137) => 'E', chr(195).chr(138) => 'E',
        chr(195).chr(139) => 'E', chr(195).chr(140) => 'I',
        chr(195).chr(141) => 'I', chr(195).chr(142) => 'I',
        chr(195).chr(143) => 'I', chr(195).chr(145) => 'N',
        chr(195).chr(146) => 'O', chr(195).chr(147) => 'O',
        chr(195).chr(148) => 'O', chr(195).chr(149) => 'O',
        chr(195).chr(150) => 'O', chr(195).chr(153) => 'U',
        chr(195).chr(154) => 'U', chr(195).chr(155) => 'U',
        chr(195).chr(156) => 'U', chr(195).chr(157) => 'Y',
        chr(195).chr(159) => 's', chr(195).chr(160) => 'a',
        chr(195).chr(161) => 'a', chr(195).chr(162) => 'a',
        chr(195).chr(163) => 'a', chr(195).chr(164) => 'a',
        chr(195).chr(165) => 'a', chr(195).chr(167) => 'c',
        chr(195).chr(168) => 'e', chr(195).chr(169) => 'e',
        chr(195).chr(170) => 'e', chr(195).chr(171) => 'e',
        chr(195).chr(172) => 'i', chr(195).chr(173) => 'i',
        chr(195).chr(174) => 'i', chr(195).chr(175) => 'i',
        chr(195).chr(177) => 'n', chr(195).chr(178) => 'o',
        chr(195).chr(179) => 'o', chr(195).chr(180) => 'o',
        chr(195).chr(181) => 'o', chr(195).chr(182) => 'o',
        chr(195).chr(182) => 'o', chr(195).chr(185) => 'u',
        chr(195).chr(186) => 'u', chr(195).chr(187) => 'u',
        chr(195).chr(188) => 'u', chr(195).chr(189) => 'y',
        chr(195).chr(191) => 'y',
        // Decompositions for Latin Extended-A
        chr(196).chr(128) => 'A', chr(196).chr(129) => 'a',
        chr(196).chr(130) => 'A', chr(196).chr(131) => 'a',
        chr(196).chr(132) => 'A', chr(196).chr(133) => 'a',
        chr(196).chr(134) => 'C', chr(196).chr(135) => 'c',
        chr(196).chr(136) => 'C', chr(196).chr(137) => 'c',
        chr(196).chr(138) => 'C', chr(196).chr(139) => 'c',
        chr(196).chr(140) => 'C', chr(196).chr(141) => 'c',
        chr(196).chr(142) => 'D', chr(196).chr(143) => 'd',
        chr(196).chr(144) => 'D', chr(196).chr(145) => 'd',
        chr(196).chr(146) => 'E', chr(196).chr(147) => 'e',
        chr(196).chr(148) => 'E', chr(196).chr(149) => 'e',
        chr(196).chr(150) => 'E', chr(196).chr(151) => 'e',
        chr(196).chr(152) => 'E', chr(196).chr(153) => 'e',
        chr(196).chr(154) => 'E', chr(196).chr(155) => 'e',
        chr(196).chr(156) => 'G', chr(196).chr(157) => 'g',
        chr(196).chr(158) => 'G', chr(196).chr(159) => 'g',
        chr(196).chr(160) => 'G', chr(196).chr(161) => 'g',
        chr(196).chr(162) => 'G', chr(196).chr(163) => 'g',
        chr(196).chr(164) => 'H', chr(196).chr(165) => 'h',
        chr(196).chr(166) => 'H', chr(196).chr(167) => 'h',
        chr(196).chr(168) => 'I', chr(196).chr(169) => 'i',
        chr(196).chr(170) => 'I', chr(196).chr(171) => 'i',
        chr(196).chr(172) => 'I', chr(196).chr(173) => 'i',
        chr(196).chr(174) => 'I', chr(196).chr(175) => 'i',
        chr(196).chr(176) => 'I', chr(196).chr(177) => 'i',
        chr(196).chr(178) => 'IJ',chr(196).chr(179) => 'ij',
        chr(196).chr(180) => 'J', chr(196).chr(181) => 'j',
        chr(196).chr(182) => 'K', chr(196).chr(183) => 'k',
        chr(196).chr(184) => 'k', chr(196).chr(185) => 'L',
        chr(196).chr(186) => 'l', chr(196).chr(187) => 'L',
        chr(196).chr(188) => 'l', chr(196).chr(189) => 'L',
        chr(196).chr(190) => 'l', chr(196).chr(191) => 'L',
        chr(197).chr(128) => 'l', chr(197).chr(129) => 'L',
        chr(197).chr(130) => 'l', chr(197).chr(131) => 'N',
        chr(197).chr(132) => 'n', chr(197).chr(133) => 'N',
        chr(197).chr(134) => 'n', chr(197).chr(135) => 'N',
        chr(197).chr(136) => 'n', chr(197).chr(137) => 'N',
        chr(197).chr(138) => 'n', chr(197).chr(139) => 'N',
        chr(197).chr(140) => 'O', chr(197).chr(141) => 'o',
        chr(197).chr(142) => 'O', chr(197).chr(143) => 'o',
        chr(197).chr(144) => 'O', chr(197).chr(145) => 'o',
        chr(197).chr(146) => 'OE',chr(197).chr(147) => 'oe',
        chr(197).chr(148) => 'R',chr(197).chr(149) => 'r',
        chr(197).chr(150) => 'R',chr(197).chr(151) => 'r',
        chr(197).chr(152) => 'R',chr(197).chr(153) => 'r',
        chr(197).chr(154) => 'S',chr(197).chr(155) => 's',
        chr(197).chr(156) => 'S',chr(197).chr(157) => 's',
        chr(197).chr(158) => 'S',chr(197).chr(159) => 's',
        chr(197).chr(160) => 'S', chr(197).chr(161) => 's',
        chr(197).chr(162) => 'T', chr(197).chr(163) => 't',
        chr(197).chr(164) => 'T', chr(197).chr(165) => 't',
        chr(197).chr(166) => 'T', chr(197).chr(167) => 't',
        chr(197).chr(168) => 'U', chr(197).chr(169) => 'u',
        chr(197).chr(170) => 'U', chr(197).chr(171) => 'u',
        chr(197).chr(172) => 'U', chr(197).chr(173) => 'u',
        chr(197).chr(174) => 'U', chr(197).chr(175) => 'u',
        chr(197).chr(176) => 'U', chr(197).chr(177) => 'u',
        chr(197).chr(178) => 'U', chr(197).chr(179) => 'u',
        chr(197).chr(180) => 'W', chr(197).chr(181) => 'w',
        chr(197).chr(182) => 'Y', chr(197).chr(183) => 'y',
        chr(197).chr(184) => 'Y', chr(197).chr(185) => 'Z',
        chr(197).chr(186) => 'z', chr(197).chr(187) => 'Z',
        chr(197).chr(188) => 'z', chr(197).chr(189) => 'Z',
        chr(197).chr(190) => 'z', chr(197).chr(191) => 's',
        // Euro Sign
        chr(226).chr(130).chr(172) => 'E',
        // GBP (Pound) Sign
        chr(194).chr(163) => '');

        $string = strtr($string, $chars);
    } else {
        // Assume ISO-8859-1 if not UTF-8
        $chars['in'] = chr(128).chr(131).chr(138).chr(142).chr(154).chr(158)
            .chr(159).chr(162).chr(165).chr(181).chr(192).chr(193).chr(194)
            .chr(195).chr(196).chr(197).chr(199).chr(200).chr(201).chr(202)
            .chr(203).chr(204).chr(205).chr(206).chr(207).chr(209).chr(210)
            .chr(211).chr(212).chr(213).chr(214).chr(216).chr(217).chr(218)
            .chr(219).chr(220).chr(221).chr(224).chr(225).chr(226).chr(227)
            .chr(228).chr(229).chr(231).chr(232).chr(233).chr(234).chr(235)
            .chr(236).chr(237).chr(238).chr(239).chr(241).chr(242).chr(243)
            .chr(244).chr(245).chr(246).chr(248).chr(249).chr(250).chr(251)
            .chr(252).chr(253).chr(255);

        $chars['out'] = "EfSZszYcYuAAAAAACEEEEIIIINOOOOOOUUUUYaaaaaaceeeeiiiinoooooouuuuyy";

        $string = strtr($string, $chars['in'], $chars['out']);
        $double_chars['in'] = array(chr(140), chr(156), chr(198), chr(208), chr(222), chr(223), chr(230), chr(240), chr(254));
        $double_chars['out'] = array('OE', 'oe', 'AE', 'DH', 'TH', 'ss', 'ae', 'dh', 'th');
        $string = str_replace($double_chars['in'], $double_chars['out'], $string);
    }

    return $string;
}


$str = "ÈâuÑ";
echo remove_accents($str); // Output: EauN
?>

So the problem was in the makefile. I didn't realize the AVR was listed in the makefile that I downloaded from the instructions from the hackaday tutorial. Once I changed the MCU, AVRDUDE_PROGRAMMER, and PORT in the makefile it worked like a charm.


# WinAVR Sample makefile written by Eric B. Weddington, J�rg Wunsch, et al.
# Modified (bringing often-changed options to the top) by Elliot Williams

# make all = Make software and program
# make clean = Clean out built project files.
# make coff = Convert ELF to AVR COFF (for use with AVR Studio 3.x or VMLAB).
# make extcoff = Convert ELF to AVR Extended COFF (for use with AVR Studio
#                4.07 or greater).
# make program = Download the hex file to the device, using avrdude.  Please
#                customize the avrdude settings below first!
# make filename.s = Just compile filename.c into the assembler code only
# To rebuild project do "make clean" then "make all".

# Microcontroller Type
# MCU = attiny13
# MCU = attiny2313
# MCU = atmega8
# MCU = atmega168
MCU = atmega32 # CHANGED THIS TO THE MCU THAT I'M TRYING TO PROGRAM

# Target file name (without extension).
TARGET = main

# Programming hardware: type avrdude -c ?
# to get a full listing.
# AVRDUDE_PROGRAMMER = dapa              # official name of 
# AVRDUDE_PROGRAMMER = dragon_isp
AVRDUDE_PROGRAMMER = avrisp # CHANGED THIS TO THE ISP I'M USING TO PROGRAM

AVRDUDE_PORT = COM3         # CHANGED THIS TO THE PORT ARDUINO IS CONNECTED TO
#AVRDUDE_PORT = usb         # linux for dragon
#AVRDUDE_PORT = /dev/parport0           # linux
#AVRDUDE_PORT = lpt1               # windows

############# Don't need to change below here for most purposes  (Elliot)

# Optimization level, can be [0, 1, 2, 3, s]. 0 turns off optimization.
# (Note: 3 is not always the best optimization level. See avr-libc FAQ.)
OPT = s

# Output format. (can be srec, ihex, binary)
FORMAT = ihex

# List C source files here. (C dependencies are automatically generated.)
SRC = $(TARGET).c

# If there is more than one source file, append them above, or modify and
# uncomment the following:
#SRC += foo.c bar.c

# You can also wrap lines by appending a backslash to the end of the line:
#SRC += baz.c \
#xyzzy.c



# List Assembler source files here.
# Make them always end in a capital .S.  Files ending in a lowercase .s
# will not be considered source files but generated files (assembler
# output from the compiler), and will be deleted upon "make clean"!
# Even though the DOS/Win* filesystem matches both .s and .S the same,
# it will preserve the spelling of the filenames, and gcc itself does
# care about how the name is spelled on its command-line.
ASRC = 


# List any extra directories to look for include files here.
#     Each directory must be seperated by a space.
EXTRAINCDIRS = 


# Optional compiler flags.
#  -g:        generate debugging information (for GDB, or for COFF conversion)
#  -O*:       optimization level
#  -f...:     tuning, see gcc manual and avr-libc documentation
#  -Wall...:  warning level
#  -Wa,...:   tell GCC to pass this to the assembler.
#    -ahlms:  create assembler listing
CFLAGS = -g -O$(OPT) \
-funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums \
-Wall -Wstrict-prototypes \
-Wa,-adhlns=$(<:.c=.lst) \
$(patsubst %,-I%,$(EXTRAINCDIRS))


# Set a "language standard" compiler flag.
#   Unremark just one line below to set the language standard to use.
#   gnu99 = C99 + GNU extensions. See GCC manual for more information.
#CFLAGS += -std=c89
#CFLAGS += -std=gnu89
#CFLAGS += -std=c99
CFLAGS += -std=gnu99



# Optional assembler flags.
#  -Wa,...:   tell GCC to pass this to the assembler.
#  -ahlms:    create listing
#  -gstabs:   have the assembler create line number information; note that
#             for use in COFF files, additional information about filenames
#             and function names needs to be present in the assembler source
#             files -- see avr-libc docs [FIXME: not yet described there]
ASFLAGS = -Wa,-adhlns=$(<:.S=.lst),-gstabs 



# Optional linker flags.
#  -Wl,...:   tell GCC to pass this to linker.
#  -Map:      create map file
#  --cref:    add cross reference to  map file
LDFLAGS = -Wl,-Map=$(TARGET).map,--cref



# Additional libraries

# Minimalistic printf version
#LDFLAGS += -Wl,-u,vfprintf -lprintf_min

# Floating point printf version (requires -lm below)
#LDFLAGS += -Wl,-u,vfprintf -lprintf_flt

# -lm = math library
LDFLAGS += -lm


# Programming support using avrdude. Settings and variables.


AVRDUDE_WRITE_FLASH = -U flash:w:$(TARGET).hex
#AVRDUDE_WRITE_EEPROM = -U eeprom:w:$(TARGET).eep

AVRDUDE_FLAGS = -p $(MCU) -P $(AVRDUDE_PORT) -c $(AVRDUDE_PROGRAMMER)

# Uncomment the following if you want avrdude's erase cycle counter.
# Note that this counter needs to be initialized first using -Yn,
# see avrdude manual.
#AVRDUDE_ERASE += -y

# Uncomment the following if you do /not/ wish a verification to be
# performed after programming the device.
#AVRDUDE_FLAGS += -V

# Increase verbosity level.  Please use this when submitting bug
# reports about avrdude. See <http://savannah.nongnu.org/projects/avrdude> 
# to submit bug reports.
#AVRDUDE_FLAGS += -v -v

#Run while cable attached or don't
#AVRDUDE_FLAGS += -E reset #keep chip disabled while cable attached
#AVRDUDE_FLAGS += -E noreset

#AVRDUDE_WRITE_FLASH = -U lfuse:w:0x04:m #run with 8 Mhz clock

#AVRDUDE_WRITE_FLASH = -U lfuse:w:0x21:m #run with 1 Mhz clock #default clock mode

#AVRDUDE_WRITE_FLASH = -U lfuse:w:0x01:m #run with 1 Mhz clock no start up time

# ---------------------------------------------------------------------------

# Define directories, if needed.
DIRAVR = c:/winavr
DIRAVRBIN = $(DIRAVR)/bin
DIRAVRUTILS = $(DIRAVR)/utils/bin
DIRINC = .
DIRLIB = $(DIRAVR)/avr/lib


# Define programs and commands.
SHELL = sh

CC = avr-gcc

OBJCOPY = avr-objcopy
OBJDUMP = avr-objdump
SIZE = avr-size


# Programming support using avrdude.
AVRDUDE = avrdude


REMOVE = rm -f
COPY = cp

HEXSIZE = $(SIZE) --target=$(FORMAT) $(TARGET).hex
ELFSIZE = $(SIZE) -AC --mcu=$(MCU) $(TARGET).elf



# Define Messages
# English
MSG_ERRORS_NONE = Errors: none
MSG_BEGIN = -------- begin --------
MSG_END = --------  end  --------
MSG_SIZE_BEFORE = Size before: 
MSG_SIZE_AFTER = Size after:
MSG_COFF = Converting to AVR COFF:
MSG_EXTENDED_COFF = Converting to AVR Extended COFF:
MSG_FLASH = Creating load file for Flash:
MSG_EEPROM = Creating load file for EEPROM:
MSG_EXTENDED_LISTING = Creating Extended Listing:
MSG_SYMBOL_TABLE = Creating Symbol Table:
MSG_LINKING = Linking:
MSG_COMPILING = Compiling:
MSG_ASSEMBLING = Assembling:
MSG_CLEANING = Cleaning project:




# Define all object files.
OBJ = $(SRC:.c=.o) $(ASRC:.S=.o) 

# Define all listing files.
LST = $(ASRC:.S=.lst) $(SRC:.c=.lst)

# Combine all necessary flags and optional flags.
# Add target processor to flags.
ALL_CFLAGS = -mmcu=$(MCU) -I. $(CFLAGS)
ALL_ASFLAGS = -mmcu=$(MCU) -I. -x assembler-with-cpp $(ASFLAGS)



# Default target: make program!
all: begin gccversion sizebefore $(TARGET).elf $(TARGET).hex $(TARGET).eep \
    $(TARGET).lss $(TARGET).sym sizeafter finished end
    $(AVRDUDE) $(AVRDUDE_FLAGS) $(AVRDUDE_WRITE_FLASH) $(AVRDUDE_WRITE_EEPROM)

# Eye candy.
# AVR Studio 3.x does not check make's exit code but relies on
# the following magic strings to be generated by the compile job.
begin:
    @echo
    @echo $(MSG_BEGIN)

finished:
    @echo $(MSG_ERRORS_NONE)

end:
    @echo $(MSG_END)
    @echo


# Display size of file.
sizebefore:
    @if [ -f $(TARGET).elf ]; then echo; echo $(MSG_SIZE_BEFORE); $(ELFSIZE); echo; fi

sizeafter:
    @if [ -f $(TARGET).elf ]; then echo; echo $(MSG_SIZE_AFTER); $(ELFSIZE); echo; fi



# Display compiler version information.
gccversion : 
    @$(CC) --version




# Convert ELF to COFF for use in debugging / simulating in
# AVR Studio or VMLAB.
COFFCONVERT=$(OBJCOPY) --debugging \
    --change-section-address .data-0x800000 \
    --change-section-address .bss-0x800000 \
    --change-section-address .noinit-0x800000 \
    --change-section-address .eeprom-0x810000 


coff: $(TARGET).elf
    @echo
    @echo $(MSG_COFF) $(TARGET).cof
    $(COFFCONVERT) -O coff-avr $< $(TARGET).cof


extcoff: $(TARGET).elf
    @echo
    @echo $(MSG_EXTENDED_COFF) $(TARGET).cof
    $(COFFCONVERT) -O coff-ext-avr $< $(TARGET).cof




# Program the device.  
program: $(TARGET).hex $(TARGET).eep
    $(AVRDUDE) $(AVRDUDE_FLAGS) $(AVRDUDE_WRITE_FLASH) $(AVRDUDE_WRITE_EEPROM)




# Create final output files (.hex, .eep) from ELF output file.
%.hex: %.elf
    @echo
    @echo $(MSG_FLASH) $@
    $(OBJCOPY) -O $(FORMAT) -R .eeprom $< $@

%.eep: %.elf
    @echo
    @echo $(MSG_EEPROM) $@
    -$(OBJCOPY) -j .eeprom --set-section-flags=.eeprom="alloc,load" \
    --change-section-lma .eeprom=0 -O $(FORMAT) $< $@

# Create extended listing file from ELF output file.
%.lss: %.elf
    @echo
    @echo $(MSG_EXTENDED_LISTING) $@
    $(OBJDUMP) -h -S $< > $@

# Create a symbol table from ELF output file.
%.sym: %.elf
    @echo
    @echo $(MSG_SYMBOL_TABLE) $@
    avr-nm -n $< > $@



# Link: create ELF output file from object files.
.SECONDARY : $(TARGET).elf
.PRECIOUS : $(OBJ)
%.elf: $(OBJ)
    @echo
    @echo $(MSG_LINKING) $@
    $(CC) $(ALL_CFLAGS) $(OBJ) --output $@ $(LDFLAGS)


# Compile: create object files from C source files.
%.o : %.c
    @echo
    @echo $(MSG_COMPILING) $<
    $(CC) -c $(ALL_CFLAGS) $< -o $@


# Compile: create assembler files from C source files.
%.s : %.c
    $(CC) -S $(ALL_CFLAGS) $< -o $@


# Assemble: create object files from assembler source files.
%.o : %.S
    @echo
    @echo $(MSG_ASSEMBLING) $<
    $(CC) -c $(ALL_ASFLAGS) $< -o $@






# Target: clean project.
clean: begin clean_list finished end

clean_list :
    @echo
    @echo $(MSG_CLEANING)
    $(REMOVE) $(TARGET).hex
    $(REMOVE) $(TARGET).eep
    $(REMOVE) $(TARGET).obj
    $(REMOVE) $(TARGET).cof
    $(REMOVE) $(TARGET).elf
    $(REMOVE) $(TARGET).map
    $(REMOVE) $(TARGET).obj
    $(REMOVE) $(TARGET).a90
    $(REMOVE) $(TARGET).sym
    $(REMOVE) $(TARGET).lnk
    $(REMOVE) $(TARGET).lss
    $(REMOVE) $(OBJ)
    $(REMOVE) $(LST)
    $(REMOVE) $(SRC:.c=.s)
    $(REMOVE) $(SRC:.c=.d)
    $(REMOVE) *~

# Automatically generate C source code dependencies. 
# (Code originally taken from the GNU make user manual and modified 
# (See README.txt Credits).)
#
# Note that this will work with sh (bash) and sed that is shipped with WinAVR
# (see the SHELL variable defined above).
# This may not work with other shells or other seds.
#
%.d: %.c
    set -e; $(CC) -MM $(ALL_CFLAGS) $< \
    | sed 's,\(.*\)\.o[ :]*,\1.o \1.d : ,g' > $@; \
    [ -s $@ ] || rm -f $@


# Remove the '-' if you want to see the dependency files generated.
-include $(SRC:.c=.d)



# Listing of phony targets.
.PHONY : all begin finish end sizebefore sizeafter gccversion coff extcoff \
    clean clean_list program

My final code.


RewriteEngine On
RewriteBase /

#RewriteCond %{ENV:REDIRECT_STATUS} 200
#RewriteRule .* - [L]


#
# Check for mobile browsers
#
RewriteCond %{HTTP_COOKIE} !^.*mobile.*$ [NC]
RewriteCond %{HTTP_USER_AGENT} android|avantgo|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge\ |maemo|midp|mmp|opera\ m(ob|in)i|palm(\ os)?|phone|p(ixi|re)\/|plucker|pocket|psp|symbian|treo|up\.(browser|link)|vodafone|wap|windows\ (ce|phone)|xda|xiino [NC,OR]
RewriteCond %{HTTP_USER_AGENT} ^(1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a\ wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r\ |s\ )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1\ u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp(\ i|ip)|hs\-c|ht(c(\-|\ |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac(\ |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt(\ |\/)|klon|kpt\ |kwc\-|kyo(c|k)|le(no|xi)|lg(\ g|\/(k|l|u)|50|54|e\-|e\/|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(di|rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-|\ |o|v)|zz)|mt(50|p1|v\ )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v\ )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-|\ )|webc|whit|wi(g\ |nc|nw)|wmlb|wonu|x700|xda(\-|2|g)|yas\-|your|zeto|zte\-) [NC]
#RewriteRule (.*) $1 [co=mobile:true]
#Header set Set-Cookie "mobile=true; path=/;"
RewriteRule (.*) $1 [co=mobile:true:.domain.com:7200:/,NC,C]
RewriteRule ^index.php$ m.php [NC,L]

RewriteCond %{HTTP_COOKIE} !^.*mobile.*$ [NC]
RewriteCond %{HTTP_USER_AGENT} android|avantgo|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge\ |maemo|midp|mmp|opera\ m(ob|in)i|palm(\ os)?|phone|p(ixi|re)\/|plucker|pocket|psp|symbian|treo|up\.(browser|link)|vodafone|wap|windows\ (ce|phone)|xda|xiino [NC,OR]
RewriteCond %{HTTP_USER_AGENT} ^(1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a\ wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r\ |s\ )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1\ u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp(\ i|ip)|hs\-c|ht(c(\-|\ |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac(\ |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt(\ |\/)|klon|kpt\ |kwc\-|kyo(c|k)|le(no|xi)|lg(\ g|\/(k|l|u)|50|54|e\-|e\/|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(di|rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-|\ |o|v)|zz)|mt(50|p1|v\ )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v\ )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-|\ )|webc|whit|wi(g\ |nc|nw)|wmlb|wonu|x700|xda(\-|2|g)|yas\-|your|zeto|zte\-) [NC]
#RewriteRule (.*) $1 [co=mobile:true]
#Header set Set-Cookie "mobile=true; path=/;"
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule (.*) $1 [co=mobile:true:.domain.com:7200:/,NC,C]
RewriteRule ^([^/\.]+)?(/)?([^/\.]+)?$ /m.php?page=$1 [NC,L]


#
# If we want the full/desktop site
#
RewriteCond %{HTTP_COOKIE} ^.*mobile=false.*$ [NC,OR]
RewriteCond %{HTTP_COOKIE} !^.*mobile.*$ [NC]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^([^/\.]+)?(/)?([^/\.]+)?$ /static.php?page=$1&subpage=$3 [NC,L]


#
# If we want the mobile site
#
RewriteCond %{HTTP_COOKIE} ^.*mobile=true.*$ [NC]
RewriteRule ^index.php$ m.php [NC,L]

RewriteCond %{HTTP_COOKIE} ^.*mobile=true.*$ [NC]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^([^/\.]+)?(/)?([^/\.]+)?$ /m.php?page=$1 [NC,L]

Feel free to use, share and improve :) Any code review will be also much appreciated.


import subprocess
import os
from subprocess import *
import platform
import sys
import getpass
import configparser


#global variables declarations
currentDir=''
pmrepPath=''
domainFile=''


def connect_to_repo(Repository,Domain,User,Host,Port, UserSecurityDomain):
        #password = raw_input("Enter password for Repository: " + Repository + ", User: " + User)
        password = getpass.getpass()
        print "\nConnecting..."
        if Domain != '':
            RepoCommand="pmrep connect -r "+Repository+" -d "+Domain+" -n "+User + " -x " + password #+" -X DOMAIN_PWD"
        else:
            RepoCommand="pmrep connect -r "+Repository+" -n "+User + " -x " + password + " -h " + Host + " -o " + Port
        if UserSecurityDomain != '':
            RepoCommand += " -s " + UserSecurityDomain
        RepoCommand=RepoCommand.rstrip()
        p=subprocess.Popen(RepoCommand,stderr=subprocess.PIPE,stdin=subprocess.PIPE,stdout=subprocess.PIPE,shell=True)
        out,err=p.communicate()
        if p.returncode or err:
                print "Connection Failed"
                print err.strip()
                print out.strip()
                sys.stdout.flush()
                sys.stdin.flush()
        else:
                print "Connection Successful"
                sys.stdout.flush()
                sys.stdin.flush()
        return p.returncode

def execute_pmrep_command(command, output_file_name, start_line, end_line, line_prefix):
        if len(line_prefix)>0: line_prefix+=' '
        out=open(output_file_name,'a')
        return_code=subprocess.Popen(command,stdin=subprocess.PIPE,stdout=subprocess.PIPE,shell=True)
        output,error=return_code.communicate()
        for line in output.split('\r\n')[start_line:end_line]:
            out.writelines(line_prefix + line + '\n')

        out.close()
        return

def check_platform():
        global domainFile
        global currentDir
        global pmrepPath
        global platForm
        platForm=platform.system()
        print "Platform recognized : "+platForm
##        if not os.getenv('INFA_HOME', 'C:\\Informatica\\9.5.1'):
##                print "INFA_HOME env_variable not set in your "+platForm+" platform."
##                print "Please set INFA_HOME and continue."
##                raw_input()
##                sys.exit(0)
        if not os.getenv('INFA_DOMAINS_FILE'):
                print "INFA_DOMAINS_FILE env_variable not set in your "+platForm+" platform."
                print "Please set INFA_DOMAINS_FILE and continue."
                raw_input()
                sys.exit(0)
##        elif not os.getenv('DOMAIN_PWD', 'vic'):
##                print "DOMAIN_PWD env variable not set in your "+platForm+" platform."
##                print "Please set DOMAIN_PWD and continue."
##                raw_input()
##                sys.exit(0)

##        else:
##                if platForm == 'Windows':
##                        pmrepPath=os.getenv('INFA_HOME').strip()+"\clients\PowerCenterClient\client\\bin"
##                elif platForm == 'Linux':
##                        pmrepPath=os.getenv('INFA_HOME').strip()+"/server/bin"
##                currentDir=os.getcwd()
##                domainFile=os.getenv('INFA_DOMAINS_FILE','C:\\Informatica\\9.5.1\\domains.infa').strip()


config = configparser.RawConfigParser()
config.optionxform = lambda option: option
config.read('InfaRepo_ListUnusedObjects.cfg')

infaDir = config.get('Common', 'infaDir').strip()
Repository = config.get('Common', 'Repository').strip()
Domain = config.get('Common', 'Domain').strip()
Host = config.get('Common', 'Host').strip()
Port = config.get('Common', 'Port').strip()
Folder = config.get('Common', 'Folder').strip()
User = config.get('Common', 'User').strip()
UserSecurityDomain = config.get('Common', 'UserSecurityDomain').strip()
objectTypeList = config.get('Common', 'objectTypeList').split(',')

if Domain != '':
    print 'Domain provided, will be used to connect.'
else:
    print 'Domain not provided, Host and Port will be used to connect.'

for i in range(len(objectTypeList)):
    objectTypeList[i]=objectTypeList[i].strip()

currentDir=os.getcwd()
outputDir=currentDir+'\\UnusedObjectsReport'

###objectTypeList = ['mapplet', 'mapping', 'session', 'source', 'target', 'worklet']
##
##objectTypeList = ['target']

pmrepPath=infaDir.strip()+"\clients\PowerCenterClient\client\\bin"

os.chdir(pmrepPath)

outFile = outputDir + "\ListOfUnusedObjects.txt"
if not os.path.exists(os.path.dirname(outFile)):
        os.makedirs(os.path.dirname(outFile))
print 'Output file: ' + outFile
open(outFile,'w').writelines("Domain :  "+Domain+"\nRepository : "+Repository+"\nUserName : "+User+"\n")
open(outFile,'a').writelines("***************************"+"\n")
open(outFile,'a').writelines("LIST OF UNUSED OBJECTS:\n")

outBatchFile = outputDir + "\DeleteUnusedObjects.bat"
tempDir = outputDir + "\\temp"
if not os.path.exists(outputDir):
        os.makedirs(outputDir)
if not os.path.exists(tempDir):
        os.makedirs(tempDir)

for tempFile in os.listdir(tempDir):
    os.remove(os.path.join(tempDir, tempFile))

print 'Output batch file: ' + outBatchFile

if Domain != '':
    RepoCommand="pmrep connect -r "+Repository+" -d "+Domain+" -n "+User
else:
    RepoCommand="pmrep connect -r "+Repository+" -n "+User + " -h " + Host + " -o " + Port
if UserSecurityDomain != '':
    RepoCommand += " -s " + UserSecurityDomain

open(outBatchFile,'w').writelines(pmrepPath+"\\"+RepoCommand+"\n")

objectTypeCounter=0

return_code=connect_to_repo(Repository,Domain,User,Host,Port,UserSecurityDomain)

objDepDict={}

error = False
errorList = []

#check if repository connection is successfull
if return_code==0:
    for objectType in objectTypeList:
        objectTypeCounter+=1
        print "Step {0} of {1}: {2}".format(objectTypeCounter, len(objectTypeList), objectType)

        objectFile = tempDir + "\\" + objectType + ".txt"
        open(objectFile,'w').writelines("")

        objectDepFile = tempDir + "\\" + objectType + "_dep.txt"
        open(objectDepFile,'w').writelines("")
        execute_pmrep_command("pmrep listobjects -f " + Folder + " -o " + objectType, objectFile, 8, -4, '')

        objectList=open(objectFile).readlines()

        objectCounter=0

        if len(objectList) == 0:
            print '\tNo {0}s found'.format(objectType)

        elif objectList[0][:3] == ' [[':
            error=True
            for line in objectList:
                errorList += [line.replace('\n','')]
            break


        for line in objectList:
                objectCounter+=1
                fields=line.split(' ')
                if len(fields) == 2:
                    objectType=fields[0]
                    objectName=fields[1][:-1]
                else:
                    objectType=fields[0]
                    objectName=fields[2][:-1]
                    #if the object is non-reusable, it obviously is in some workflow, so skipp it
                    if fields[1] == 'non-reusable':
                        print "\t{0} {1} of {2}: {3} is not a reusable {4} - skipping".format(objectType, objectCounter, len(objectList), objectName, objectType)
                        continue

                command = "pmrep listobjectdependencies -f " + Folder + " -n " + objectName + " -o " + objectType + " -p parents"
                #print "Getting object dependencies for " + objectType + " " + objectName

                print "\t{0} {1} of {2}: {3}".format(objectType, objectCounter, len(objectList), objectName)

                execute_pmrep_command(command, objectDepFile, 8, -6, objectName)

        #find unused objects

        for fileLine in open(objectDepFile,'r').readlines():
            line = fileLine.split(' ')
            if len(line) == 3:
                Name = line[0]
                ParentType = line[1]
                ParentName = line[2]
            else:
                Name = line[0]
                ParentType = line[1]
                ParentName = line[3]
            try:
                objDepDict[objectType + ': ' + Name]+=[ParentType + ' ' + ParentName]
            except:
                objDepDict[objectType + ': ' + Name]=[ParentType + ' ' + ParentName]


    found = False
    for objectKey in objDepDict.iterkeys():
        objectType, objName = objectKey.replace(' ','').split(':')
        if len(objDepDict[objectKey]) <= 1:
            if not found:
                print '\n'
                print 'Following unused objects have been found:'
                found = True
            print '\t{0}: {1}'.format(objectType, objName)
            open(outFile,'a').writelines('{0}: {1}\n'.format(objectType, objName))
            open(outBatchFile,'a').writelines("rem {0}\\pmrep deleteobject -f {1} -o {2} -n {3}\n".format(pmrepPath, Folder, objectType, objName))

    execute_pmrep_command('pmrep cleanup', 'log.txt', 0, 0, '')

    open(outBatchFile,'a').writelines(pmrepPath+'\\pmrep cleanup' + '\n')

    if not error:
        if not found:
            print 'No unused objects found.'
        print '\nDone.'
        print 'Output file: ' + outFile
        print 'Output batch file: ' + outBatchFile
    else:
        print 'Following errors occured:'
        for e in errorList:
            print '\t', e
#wait for key press
print '\nHit Enter to quit...'
raw_input()
#End of program

$ echo -e "GET / HTTP/1.1\r\nHost: wmsdardar.com\r\n\r\n" | openssl s_client \
          -connect wmsdardar.com:443 -tls1 -servername wmsdardar.com -ign_eof
CONNECTED(00000003)
depth=1 C = US, O = "GeoTrust, Inc.", CN = RapidSSL CA
verify error:num=20:unable to get local issuer certificate
verify return:0
---
Certificate chain
 0 s:/serialNumber=PbSwEL0AVWvZHQnfa6mT8ByJDDNMN-AR/OU=GT48571904/OU=See www.rapidssl.com/resources/cps (c)13/OU=Domain Control Validated - RapidSSL(R)/CN=www.dmk-tees.com
   i:/C=US/O=GeoTrust, Inc./CN=RapidSSL CA
 1 s:/C=US/O=GeoTrust, Inc./CN=RapidSSL CA
   i:/C=US/O=GeoTrust Inc./CN=GeoTrust Global CA
---
Server certificate
-----BEGIN CERTIFICATE-----
MIIFNDCCBBygAwIBAgIDCyX3MA0GCSqGSIb3DQEBBQUAMDwxCzAJBgNVBAYTAlVT
MRcwFQYDVQQKEw5HZW9UcnVzdCwgSW5jLjEUMBIGA1UEAxMLUmFwaWRTU0wgQ0Ew
HhcNMTMwMzE5MDQ1NjQ5WhcNMTQwMzIxMTE0NTE3WjCBvzEpMCcGA1UEBRMgUGJT
d0VMMEFWV3ZaSFFuZmE2bVQ4QnlKREROTU4tQVIxEzARBgNVBAsTCkdUNDg1NzE5
MDQxMTAvBgNVBAsTKFNlZSB3d3cucmFwaWRzc2wuY29tL3Jlc291cmNlcy9jcHMg
KGMpMTMxLzAtBgNVBAsTJkRvbWFpbiBDb250cm9sIFZhbGlkYXRlZCAtIFJhcGlk
U1NMKFIpMRkwFwYDVQQDExB3d3cuZG1rLXRlZXMuY29tMIIBIjANBgkqhkiG9w0B
AQEFAAOCAQ8AMIIBCgKCAQEA2kmO4rZZFNrWTcYlQcfmaG5hQHjBK/isDj9bgRNS
HDonk4/RgDyPLyzb2Rzda14mKkJ0ZF48DzodmwZSy+GA/q3v8q8ccUxFsjAPQUzh
ye/TOB4DlqKMmpUoxjhYOAl4Au1fiOIHp2cCBU44UuVFVVF34RqYmWbqW4i337Z7
e9piNE4ygo13/zyeBoFwMNCPN+BoSOO+6ZKPFby70U7bZAFXjfnKZwNgA8GrUR9o
3QZ/WQRFNnUkBobd0b7muq37QsnFG2gnt3RP0YU63w4FGOXSDMyzCPMLd30xOrrA
2VnepR7X/ssbBbBzSflgUgDp7DEm/VBKHWetp/e6rdbu7wIDAQABo4IBuTCCAbUw
HwYDVR0jBBgwFoAUa2k9ahhCSt2PAmU5/TUkhniRFjAwDgYDVR0PAQH/BAQDAgWg
MB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjApBgNVHREEIjAgghB3d3cu
ZG1rLXRlZXMuY29tggxkbWstdGVlcy5jb20wQwYDVR0fBDwwOjA4oDagNIYyaHR0
cDovL3JhcGlkc3NsLWNybC5nZW90cnVzdC5jb20vY3Jscy9yYXBpZHNzbC5jcmww
HQYDVR0OBBYEFJskMnD+7BZ3K+VOvthT5TH7rVk9MAwGA1UdEwEB/wQCMAAweAYI
KwYBBQUHAQEEbDBqMC0GCCsGAQUFBzABhiFodHRwOi8vcmFwaWRzc2wtb2NzcC5n
ZW90cnVzdC5jb20wOQYIKwYBBQUHMAKGLWh0dHA6Ly9yYXBpZHNzbC1haWEuZ2Vv
dHJ1c3QuY29tL3JhcGlkc3NsLmNydDBMBgNVHSAERTBDMEEGCmCGSAGG+EUBBzYw
MzAxBggrBgEFBQcCARYlaHR0cDovL3d3dy5nZW90cnVzdC5jb20vcmVzb3VyY2Vz
L2NwczANBgkqhkiG9w0BAQUFAAOCAQEAi+we52qknjY3SmvYyw/5fB08kzwys4z3
9gSCfkVbwcwPS9J1m4HLVItjRWQmY9Gcwk4VOy3SDtavh0EWvfC70t6GgPRDqrmZ
wrjtRNtFBEeTpa0A2gp/KAXG6GEbEqzC4xCuSINzclVUyPPBTO4Pzv8lIrEkfJTq
3M4qp8FAJUFlMqv1xZUSinoDrSWNbchHLXRoLh1ftt6b7gy111vQVXsjexeJmvcr
boVYCr9vl7GozQM/bHnrcHIyJXB6BFXOrlSa7Hof20+rwWHN54EAU3C0TQoqsxqS
ZeqHhRUwnu3PwuxhoQbTcL0aWyW6oDv/FQN1eI9uINJOtv1+D0IgOQ==
-----END CERTIFICATE-----
subject=/serialNumber=PbSwEL0AVWvZHQnfa6mT8ByJDDNMN-AR/OU=GT48571904/OU=See www.rapidssl.com/resources/cps (c)13/OU=Domain Control Validated - RapidSSL(R)/CN=www.dmk-tees.com
issuer=/C=US/O=GeoTrust, Inc./CN=RapidSSL CA
---
No client certificate CA names sent
---
SSL handshake has read 3048 bytes and written 372 bytes
---
New, TLSv1/SSLv3, Cipher is ECDHE-RSA-AES256-SHA
Server public key is 2048 bit
Secure Renegotiation IS supported
Compression: NONE
Expansion: NONE
SSL-Session:
    Protocol  : TLSv1
    Cipher    : ECDHE-RSA-AES256-SHA
    Session-ID: FE78DF0E0450BF7CFE2A10EF9D0E8973047F1E52CD6FD81294860E5CC73ECDA1
    Session-ID-ctx: 
    Master-Key: 9935D629B5D69AD7A00D5CD710BAD00AA1EB6CFC1AE961FF6EE5E3E488010E6C78C741B53546BED01428EC470B7A039A
    Key-Arg   : None
    PSK identity: None
    PSK identity hint: None
    SRP username: None
    TLS session ticket lifetime hint: 300 (seconds)
    TLS session ticket:
    0000 - 6d b5 cf 1d 7e 5b f9 56-68 63 1b 8b a3 a7 8a 6a   m...~[.Vhc.....j
    0010 - b8 88 58 4d 4b ec 1f d7-ad 54 23 a9 ca a2 60 b5   ..XMK....T#...`.
    0020 - cd 74 95 94 27 51 9b 85-f7 9e d9 09 61 48 e2 9d   .t..'Q......aH..
    0030 - 07 9d db e7 62 d9 09 93-80 5b 54 08 1f ed b9 68   ....b....[T....h
    0040 - 69 6b f8 ab e2 e3 84 6b-ea 7b 01 57 c6 46 02 47   ik.....k.{.W.F.G
    0050 - ec 54 1c e2 5c d9 4b d2-c6 91 06 32 23 1a e1 bf   .T..\.K....2#...
    0060 - f4 3c 14 cf 2f 78 f4 4d-b0 54 4e cb 3a b2 f5 f9   .<../x.M.TN.:...
    0070 - a6 a7 fb 92 13 82 77 28-31 20 e3 a2 e4 00 8e cc   ......w(1 ......
    0080 - 98 93 0a d3 52 e2 ed 3c-76 a5 dd 97 63 55 62 74   ....R..<v...cUbt
    0090 - b7 d2 65 54 86 84 d0 57-34 b8 49 b4 71 f3 ce a1   ..eT...W4.I.q...
    00a0 - cb 63 22 15 f5 aa 61 ad-0b 27 f7 c5 35 c7 7e 53   .c"...a..'..5.~S
    00b0 - 7d 1e 8c 9e 5c 4a 2f b5-87 f8 cc a9 ee 27 c0 22   }...\J/......'."
    00c0 - 80 1a c5 bf 8a 90 dd d2-2e 91 36 ed 99 d5 21 ca   ..........6...!.

    Start Time: 1408889370
    Timeout   : 7200 (sec)
    Verify return code: 20 (unable to get local issuer certificate)
---
HTTP/1.1 200 OK
Date: Sun, 24 Aug 2014 14:09:12 GMT
Server: Apache
Last-Modified: Thu, 03 Apr 2014 00:51:19 GMT
Accept-Ranges: bytes
Content-Length: 19113
Content-Type: text/html

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">

<head>
    <meta http-equiv="Content-Type" content="DMK" charset="UTF-8"/>
    <meta name="description" content="DMK, votre partenaire CUSTOM 100% MADE IN MOROCCO!" />
    <title>DMK, NEW BRAND MADE IN MOROCCO </title>
    <link href="css/style.css" rel="stylesheet" type="text/css" />
  <link rel="icon" href="images/favicon/dmk.ico" />
  <script type="text/javascript" src="js/jquery-1.9.1.min.js"></script>
  <script type="text/javascript" src="js/coin-slider.min.js"></script>
    <link rel="stylesheet" type="text/css" href="engine1/style.css" />
    <script type="text/javascript" src="engine1/jquery.js"></script>

    <script type="text/javascript">

  var _gaq = _gaq || [];
  _gaq.push(['_setAccount', 'UA-39232008-1']);
  _gaq.push(['_trackPageview']);

  (function() {
    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
  })();

</script>

</head>

<body>



    <center>
<div id="splash">
<img src="images/dmk.png"/>
    <p>Votre partenaire CUSTOM! Coming very soon!</p>
  <br>


   <div id="wowslider-container1">
    <div class="ws_images"><ul>
<li><img src="data1/images/5899_493052687435359_661813899_n.jpg" alt="5899_493052687435359_661813899_n" title="5899_493052687435359_661813899_n" id="wows1_0"/></li>
<li><img src="data1/images/7148_491716044235690_1484254942_n.png" alt="7148_491716044235690_1484254942_n" title="7148_491716044235690_1484254942_n" id="wows1_1"/></li>
<li><img src="data1/images/7267_466965846710710_1201000904_n.jpg" alt="7267_466965846710710_1201000904_n" title="7267_466965846710710_1201000904_n" id="wows1_2"/></li>
<li><img src="data1/images/45951_541411132599514_654793214_n.jpg" alt="45951_541411132599514_654793214_n" title="45951_541411132599514_654793214_n" id="wows1_3"/></li>
<li><img src="data1/images/58833_470414406365854_790976645_n.jpg" alt="58833_470414406365854_790976645_n" title="58833_470414406365854_790976645_n" id="wows1_4"/></li>
<li><img src="data1/images/67380_454231071317521_1454483104_n.jpg" alt="67380_454231071317521_1454483104_n" title="67380_454231071317521_1454483104_n" id="wows1_5"/></li>
<li><img src="data1/images/69083_471776209563007_1378817459_n.jpg" alt="69083_471776209563007_1378817459_n" title="69083_471776209563007_1378817459_n" id="wows1_6"/></li>
<li><img src="data1/images/69090_468746103199351_192961920_n.jpg" alt="69090_468746103199351_192961920_n" title="69090_468746103199351_192961920_n" id="wows1_7"/></li>
<li><img src="data1/images/165244_475494079191220_1452366044_n.jpg" alt="165244_475494079191220_1452366044_n" title="165244_475494079191220_1452366044_n" id="wows1_8"/></li>
<li><img src="data1/images/181422_480637722010189_1376510602_n.png" alt="181422_480637722010189_1376510602_n" title="181422_480637722010189_1376510602_n" id="wows1_9"/></li>
<li><img src="data1/images/181493_483006415106653_569819191_n.jpg" alt="181493_483006415106653_569819191_n" title="181493_483006415106653_569819191_n" id="wows1_10"/></li>
<li><img src="data1/images/246932_495606270513334_699482726_n.png" alt="246932_495606270513334_699482726_n" title="246932_495606270513334_699482726_n" id="wows1_11"/></li>
<li><img src="data1/images/247774_479125848828043_56041832_n.jpg" alt="247774_479125848828043_56041832_n" title="247774_479125848828043_56041832_n" id="wows1_12"/></li>
<li><img src="data1/images/255439_481892025218092_1516607015_n.jpg" alt="255439_481892025218092_1516607015_n" title="255439_481892025218092_1516607015_n" id="wows1_13"/></li>
<li><img src="data1/images/401833_474496879290940_623927933_n.jpg" alt="401833_474496879290940_623927933_n" title="401833_474496879290940_623927933_n" id="wows1_14"/></li>
<li><img src="data1/images/426603_486693068071321_1727198949_n.png" alt="426603_486693068071321_1727198949_n" title="426603_486693068071321_1727198949_n" id="wows1_15"/></li>
<li><img src="data1/images/474706_494003457340282_1201682995_o.jpg" alt="474706_494003457340282_1201682995_o" title="474706_494003457340282_1201682995_o" id="wows1_16"/></li>
<li><img src="data1/images/529632_469693486437946_205388715_n.jpg" alt="529632_469693486437946_205388715_n" title="529632_469693486437946_205388715_n" id="wows1_17"/></li>
<li><img src="data1/images/534145_466743983399563_672338609_n.jpg" alt="534145_466743983399563_672338609_n" title="534145_466743983399563_672338609_n" id="wows1_18"/></li>
<li><img src="data1/images/535006_531646130242681_1465057530_n.png" alt="535006_531646130242681_1465057530_n" title="535006_531646130242681_1465057530_n" id="wows1_19"/></li>
<li><img src="data1/images/544154_453454184728543_1253347659_n.jpg" alt="544154_453454184728543_1253347659_n" title="544154_453454184728543_1253347659_n" id="wows1_20"/></li>
<li><img src="data1/images/547763_538308566243104_1450818813_n.png" alt="547763_538308566243104_1450818813_n" title="547763_538308566243104_1450818813_n" id="wows1_21"/></li>
<li><img src="data1/images/551509_473077432766218_1742872768_n.jpg" alt="551509_473077432766218_1742872768_n" title="551509_473077432766218_1742872768_n" id="wows1_22"/></li>
<li><img src="data1/images/555085_460632324010729_1153600139_n.jpg" alt="555085_460632324010729_1153600139_n" title="555085_460632324010729_1153600139_n" id="wows1_23"/></li>
<li><img src="data1/images/555100_467463563327605_259661499_n.jpg" alt="555100_467463563327605_259661499_n" title="555100_467463563327605_259661499_n" id="wows1_24"/></li>
<li><img src="data1/images/575377_488045851269376_1157314660_n.png" alt="575377_488045851269376_1157314660_n" title="575377_488045851269376_1157314660_n" id="wows1_25"/></li>
<li><img src="data1/images/946501_477219279018700_1518507724_n.jpg" alt="946501_477219279018700_1518507724_n" title="946501_477219279018700_1518507724_n" id="wows1_26"/></li>
<li><img src="data1/images/960103_485765711497390_1034123686_n.png" alt="960103_485765711497390_1034123686_n" title="960103_485765711497390_1034123686_n" id="wows1_27"/></li>
<li><img src="data1/images/969422_484551448285483_1907404375_n.png" alt="969422_484551448285483_1907404375_n" title="969422_484551448285483_1907404375_n" id="wows1_28"/></li>
<li><img src="data1/images/996537_516314481775846_1848025345_n.jpg" alt="996537_516314481775846_1848025345_n" title="996537_516314481775846_1848025345_n" id="wows1_29"/></li>
<li><img src="data1/images/998419_512672955473332_574508276_n.png" alt="998419_512672955473332_574508276_n" title="998419_512672955473332_574508276_n" id="wows1_30"/></li>
<li><img src="data1/images/1000425_496944003712894_1979065040_n.png" alt="1000425_496944003712894_1979065040_n" title="1000425_496944003712894_1979065040_n" id="wows1_31"/></li>
<li><img src="data1/images/1000984_508779055862722_1634218563_n.png" alt="1000984_508779055862722_1634218563_n" title="1000984_508779055862722_1634218563_n" id="wows1_32"/></li>
<li><img src="data1/images/1001524_514653698608591_844771158_n.png" alt="1001524_514653698608591_844771158_n" title="1001524_514653698608591_844771158_n" id="wows1_33"/></li>
<li><img src="data1/images/1001576_521792771228017_1815181099_n.png" alt="1001576_521792771228017_1815181099_n" title="1001576_521792771228017_1815181099_n" id="wows1_34"/></li>
<li><img src="data1/images/1004632_507437975996830_1519568847_n.jpg" alt="1004632_507437975996830_1519568847_n" title="1004632_507437975996830_1519568847_n" id="wows1_35"/></li>
<li><img src="data1/images/1004680_524860547587906_974480140_n.png" alt="1004680_524860547587906_974480140_n" title="1004680_524860547587906_974480140_n" id="wows1_36"/></li>
<li><img src="data1/images/1005165_503646439709317_1954035292_n.jpg" alt="1005165_503646439709317_1954035292_n" title="1005165_503646439709317_1954035292_n" id="wows1_37"/></li>
<li><img src="data1/images/1010368_510572782350016_2122157587_n.jpg" alt="1010368_510572782350016_2122157587_n" title="1010368_510572782350016_2122157587_n" id="wows1_38"/></li>
<li><img src="data1/images/1013099_505149406225687_1315651320_n.png" alt="1013099_505149406225687_1315651320_n" title="1013099_505149406225687_1315651320_n" id="wows1_39"/></li>
<li><img src="data1/images/1043994_502913453115949_1650423183_n.png" alt="1043994_502913453115949_1650423183_n" title="1043994_502913453115949_1650423183_n" id="wows1_40"/></li>
<li><img src="data1/images/1044644_500907839983177_393230190_n.png" alt="1044644_500907839983177_393230190_n" title="1044644_500907839983177_393230190_n" id="wows1_41"/></li>
<li><img src="data1/images/1044846_498891850184776_1887493836_n.png" alt="1044846_498891850184776_1887493836_n" title="1044846_498891850184776_1887493836_n" id="wows1_42"/></li>
<li><img src="data1/images/1045213_501957583211536_596377504_n.png" alt="1045213_501957583211536_596377504_n" title="1045213_501957583211536_596377504_n" id="wows1_43"/></li>
<li><img src="data1/images/1148777_519606618113299_727380990_n.png" alt="1148777_519606618113299_727380990_n" title="1148777_519606618113299_727380990_n" id="wows1_44"/></li>
<li><img src="data1/images/1174543_525864804154147_935443287_n.jpg" alt="1174543_525864804154147_935443287_n" title="1174543_525864804154147_935443287_n" id="wows1_45"/></li>
<li><img src="data1/images/1230003_540735789333715_588643703_n.jpg" alt="1230003_540735789333715_588643703_n" title="1230003_540735789333715_588643703_n" id="wows1_46"/></li>
<li><img src="data1/images/1238291_534037683336859_743962773_n.jpg" alt="1238291_534037683336859_743962773_n" title="1238291_534037683336859_743962773_n" id="wows1_47"/></li>
</ul></div>
<div class="ws_bullets"><div>
<a href="#" title="5899_493052687435359_661813899_n"><img src="data1/tooltips/5899_493052687435359_661813899_n.jpg" alt="5899_493052687435359_661813899_n"/>1</a>
<a href="#" title="7148_491716044235690_1484254942_n"><img src="data1/tooltips/7148_491716044235690_1484254942_n.png" alt="7148_491716044235690_1484254942_n"/>2</a>
<a href="#" title="7267_466965846710710_1201000904_n"><img src="data1/tooltips/7267_466965846710710_1201000904_n.jpg" alt="7267_466965846710710_1201000904_n"/>3</a>
<a href="#" title="45951_541411132599514_654793214_n"><img src="data1/tooltips/45951_541411132599514_654793214_n.jpg" alt="45951_541411132599514_654793214_n"/>4</a>
<a href="#" title="58833_470414406365854_790976645_n"><img src="data1/tooltips/58833_470414406365854_790976645_n.jpg" alt="58833_470414406365854_790976645_n"/>5</a>
<a href="#" title="67380_454231071317521_1454483104_n"><img src="data1/tooltips/67380_454231071317521_1454483104_n.jpg" alt="67380_454231071317521_1454483104_n"/>6</a>
<a href="#" title="69083_471776209563007_1378817459_n"><img src="data1/tooltips/69083_471776209563007_1378817459_n.jpg" alt="69083_471776209563007_1378817459_n"/>7</a>
<a href="#" title="69090_468746103199351_192961920_n"><img src="data1/tooltips/69090_468746103199351_192961920_n.jpg" alt="69090_468746103199351_192961920_n"/>8</a>
<a href="#" title="165244_475494079191220_1452366044_n"><img src="data1/tooltips/165244_475494079191220_1452366044_n.jpg" alt="165244_475494079191220_1452366044_n"/>9</a>
<a href="#" title="181422_480637722010189_1376510602_n"><img src="data1/tooltips/181422_480637722010189_1376510602_n.png" alt="181422_480637722010189_1376510602_n"/>10</a>
<a href="#" title="181493_483006415106653_569819191_n"><img src="data1/tooltips/181493_483006415106653_569819191_n.jpg" alt="181493_483006415106653_569819191_n"/>11</a>
<a href="#" title="246932_495606270513334_699482726_n"><img src="data1/tooltips/246932_495606270513334_699482726_n.png" alt="246932_495606270513334_699482726_n"/>12</a>
<a href="#" title="247774_479125848828043_56041832_n"><img src="data1/tooltips/247774_479125848828043_56041832_n.jpg" alt="247774_479125848828043_56041832_n"/>13</a>
<a href="#" title="255439_481892025218092_1516607015_n"><img src="data1/tooltips/255439_481892025218092_1516607015_n.jpg" alt="255439_481892025218092_1516607015_n"/>14</a>
<a href="#" title="401833_474496879290940_623927933_n"><img src="data1/tooltips/401833_474496879290940_623927933_n.jpg" alt="401833_474496879290940_623927933_n"/>15</a>
<a href="#" title="426603_486693068071321_1727198949_n"><img src="data1/tooltips/426603_486693068071321_1727198949_n.png" alt="426603_486693068071321_1727198949_n"/>16</a>
<a href="#" title="474706_494003457340282_1201682995_o"><img src="data1/tooltips/474706_494003457340282_1201682995_o.jpg" alt="474706_494003457340282_1201682995_o"/>17</a>
<a href="#" title="529632_469693486437946_205388715_n"><img src="data1/tooltips/529632_469693486437946_205388715_n.jpg" alt="529632_469693486437946_205388715_n"/>18</a>
<a href="#" title="534145_466743983399563_672338609_n"><img src="data1/tooltips/534145_466743983399563_672338609_n.jpg" alt="534145_466743983399563_672338609_n"/>19</a>
<a href="#" title="535006_531646130242681_1465057530_n"><img src="data1/tooltips/535006_531646130242681_1465057530_n.png" alt="535006_531646130242681_1465057530_n"/>20</a>
<a href="#" title="544154_453454184728543_1253347659_n"><img src="data1/tooltips/544154_453454184728543_1253347659_n.jpg" alt="544154_453454184728543_1253347659_n"/>21</a>
<a href="#" title="547763_538308566243104_1450818813_n"><img src="data1/tooltips/547763_538308566243104_1450818813_n.png" alt="547763_538308566243104_1450818813_n"/>22</a>
<a href="#" title="551509_473077432766218_1742872768_n"><img src="data1/tooltips/551509_473077432766218_1742872768_n.jpg" alt="551509_473077432766218_1742872768_n"/>23</a>
<a href="#" title="555085_460632324010729_1153600139_n"><img src="data1/tooltips/555085_460632324010729_1153600139_n.jpg" alt="555085_460632324010729_1153600139_n"/>24</a>
<a href="#" title="555100_467463563327605_259661499_n"><img src="data1/tooltips/555100_467463563327605_259661499_n.jpg" alt="555100_467463563327605_259661499_n"/>25</a>
<a href="#" title="575377_488045851269376_1157314660_n"><img src="data1/tooltips/575377_488045851269376_1157314660_n.png" alt="575377_488045851269376_1157314660_n"/>26</a>
<a href="#" title="946501_477219279018700_1518507724_n"><img src="data1/tooltips/946501_477219279018700_1518507724_n.jpg" alt="946501_477219279018700_1518507724_n"/>27</a>
<a href="#" title="960103_485765711497390_1034123686_n"><img src="data1/tooltips/960103_485765711497390_1034123686_n.png" alt="960103_485765711497390_1034123686_n"/>28</a>
<a href="#" title="969422_484551448285483_1907404375_n"><img src="data1/tooltips/969422_484551448285483_1907404375_n.png" alt="969422_484551448285483_1907404375_n"/>29</a>
<a href="#" title="996537_516314481775846_1848025345_n"><img src="data1/tooltips/996537_516314481775846_1848025345_n.jpg" alt="996537_516314481775846_1848025345_n"/>30</a>
<a href="#" title="998419_512672955473332_574508276_n"><img src="data1/tooltips/998419_512672955473332_574508276_n.png" alt="998419_512672955473332_574508276_n"/>31</a>
<a href="#" title="1000425_496944003712894_1979065040_n"><img src="data1/tooltips/1000425_496944003712894_1979065040_n.png" alt="1000425_496944003712894_1979065040_n"/>32</a>
<a href="#" title="1000984_508779055862722_1634218563_n"><img src="data1/tooltips/1000984_508779055862722_1634218563_n.png" alt="1000984_508779055862722_1634218563_n"/>33</a>
<a href="#" title="1001524_514653698608591_844771158_n"><img src="data1/tooltips/1001524_514653698608591_844771158_n.png" alt="1001524_514653698608591_844771158_n"/>34</a>
<a href="#" title="1001576_521792771228017_1815181099_n"><img src="data1/tooltips/1001576_521792771228017_1815181099_n.png" alt="1001576_521792771228017_1815181099_n"/>35</a>
<a href="#" title="1004632_507437975996830_1519568847_n"><img src="data1/tooltips/1004632_507437975996830_1519568847_n.jpg" alt="1004632_507437975996830_1519568847_n"/>36</a>
<a href="#" title="1004680_524860547587906_974480140_n"><img src="data1/tooltips/1004680_524860547587906_974480140_n.png" alt="1004680_524860547587906_974480140_n"/>37</a>
<a href="#" title="1005165_503646439709317_1954035292_n"><img src="data1/tooltips/1005165_503646439709317_1954035292_n.jpg" alt="1005165_503646439709317_1954035292_n"/>38</a>
<a href="#" title="1010368_510572782350016_2122157587_n"><img src="data1/tooltips/1010368_510572782350016_2122157587_n.jpg" alt="1010368_510572782350016_2122157587_n"/>39</a>
<a href="#" title="1013099_505149406225687_1315651320_n"><img src="data1/tooltips/1013099_505149406225687_1315651320_n.png" alt="1013099_505149406225687_1315651320_n"/>40</a>
<a href="#" title="1043994_502913453115949_1650423183_n"><img src="data1/tooltips/1043994_502913453115949_1650423183_n.png" alt="1043994_502913453115949_1650423183_n"/>41</a>
<a href="#" title="1044644_500907839983177_393230190_n"><img src="data1/tooltips/1044644_500907839983177_393230190_n.png" alt="1044644_500907839983177_393230190_n"/>42</a>
<a href="#" title="1044846_498891850184776_1887493836_n"><img src="data1/tooltips/1044846_498891850184776_1887493836_n.png" alt="1044846_498891850184776_1887493836_n"/>43</a>
<a href="#" title="1045213_501957583211536_596377504_n"><img src="data1/tooltips/1045213_501957583211536_596377504_n.png" alt="1045213_501957583211536_596377504_n"/>44</a>
<a href="#" title="1148777_519606618113299_727380990_n"><img src="data1/tooltips/1148777_519606618113299_727380990_n.png" alt="1148777_519606618113299_727380990_n"/>45</a>
<a href="#" title="1174543_525864804154147_935443287_n"><img src="data1/tooltips/1174543_525864804154147_935443287_n.jpg" alt="1174543_525864804154147_935443287_n"/>46</a>
<a href="#" title="1230003_540735789333715_588643703_n"><img src="data1/tooltips/1230003_540735789333715_588643703_n.jpg" alt="1230003_540735789333715_588643703_n"/>47</a>
<a href="#" title="1238291_534037683336859_743962773_n"><img src="data1/tooltips/1238291_534037683336859_743962773_n.jpg" alt="1238291_534037683336859_743962773_n"/>48</a>
</div></div>

    <div class="ws_shadow"></div>
    </div>
    <script type="text/javascript" src="engine1/wowslider.js"></script>
    <script type="text/javascript" src="engine1/script.js"></script>


<script type="text/javascript">
  $(document).ready(function() {
    $('#coin-slider').coinslider({ width: 680, height: 400,  navigation: true, delay: 5000, hoverPause: true });
  });
</script>



<div id="topic">

    <p>
    - T-Shirts & Designs 100% MADE IN MOROCCO!<br>
    - Possibilité de personnaliser vos vêtements.<br>
    - Commandes en ligne, par e-mail ou par téléphone.<br>
    - Livraison par Coursier ou via Amana Express.<br><br><br>

    </p>
</div>  

<iframe src="//www.facebook.com/plugins/likebox.php?href=http%3A%2F%2Fwww.facebook.com%2Fdmk.tees&amp;width=292&amp;height=258&amp;show_faces=true&amp;colorscheme=dark&amp;stream=false&amp;border_color=grey&amp;header=false&amp;appId=463721957034056" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:292px; height:258px;" allowTransparency="true"></iframe>
</center>
</div>


</body>


</html>

For example:


' NAME : <wusforceupdate>
' AUTHOR : <Samuel lambert>
' COMMENT : <Find-Download-Install-reboot (with windows update system WUS)>
' www.wsus.info/forums/lofiversion/index.php?t5454.html

'Shutdown flags;
 const nLog_Off          =  0 
 const nForced_Log_Off   =  4  '( 0 + 4 ) 
 const nShutdown         =  1
 const nForced_Shutdown  =  5  '( 1 + 4 ) 
 const nReboot           =  2
 const nForced_Reboot    =  6  '( 2 + 4 )
 const nPower_Off        =  8
 const nForced_Power_Off = 12  '( 8 + 4 )

ShutdownOption = nForced_Reboot

'Monthly log;
dt = date() : nMonth = Year(dt)*1e2 + Month(dt)
sLogFile = "C:\WUSforceupdate-" & nMonth & ".log"


Set updateSession = CreateObject("Microsoft.Update.Session")
Set updateSearcher = updateSession.CreateupdateSearcher()

Set searchResult = _
updateSearcher.Search("IsInstalled=0 and Type='Software'")

Set File = CreateObject("Scripting.FileSystemObject")
Set LogFile = File.OpenTextFile(sLogFile, 8, True)

LogFile.WriteLine("***************************************************************")
LogFile.WriteLine( "START TIME : " & now)
LogFile.WriteLine( "Searching for updates..." & vbCRLF)
LogFile.WriteLine( "List of applicable items on the machine:")

For I = 0 To searchResult.Updates.Count-1
  Set update = searchResult.Updates.Item(I)
  LogFile.WriteLine( I + 1 & "> " & update.Title)
Next

Set WshShell = WScript.CreateObject("WScript.Shell")

If searchResult.Updates.Count = 0 Then
  LogFile.WriteLine( "There are no applicable updates.")
  WshShell.popup "There are no applicable updates.",1
  ShutDown(ShutdownOption)  '<-- O P T I O N A L
  Wscript.quit
End If

LogFile.WriteLine( vbCRLF & "Creating collection of updates to download:")

Set updatesToDownload = CreateObject("Microsoft.Update.UpdateColl")

For I = 0 to searchResult.Updates.Count-1
  Set update = searchResult.Updates.Item(I)
  LogFile.WriteLine( I + 1 & "> adding: " & update.Title )
  updatesToDownload.Add(update)
Next

LogFile.WriteLine( vbCRLF & "Downloading updates...")

Set downloader = updateSession.CreateUpdateDownloader() 
downloader.Updates = updatesToDownload
downloader.Download()

LogFile.WriteLine( vbCRLF & "List of downloaded updates:")

For I = 0 To searchResult.Updates.Count-1
  Set update = searchResult.Updates.Item(I)
  If update.IsDownloaded Then
    LogFile.WriteLine( I + 1 & "> " & update.Title )
  End If
Next

Set updatesToInstall = CreateObject("Microsoft.Update.UpdateColl")

LogFile.WriteLine( vbCRLF & _
   "Creating collection of downloaded updates to install:" )

For I = 0 To searchResult.Updates.Count-1
  set update = searchResult.Updates.Item(I)
  If update.IsDownloaded = true Then
    'WshShell.popup "installing..." & vbNewLine & update.Title,1
    LogFile.WriteLine( I + 1 & "> adding: " & update.Title )
    updatesToInstall.Add(update) 
  End If
Next

logFile.WriteLine( "Installing updates...")
Set installer = updateSession.CreateUpdateInstaller()
installer.Updates = updatesToInstall
Set installationResult = installer.Install()

'Output results of install
LogFile.WriteLine( "Installation Result: " & installationResult.ResultCode )
LogFile.WriteLine( "Reboot Required: " & installationResult.RebootRequired & vbCRLF )

LogFile.WriteLine( "Listing of updates installed " _
    & "and individual installation results:" )

For I = 0 to updatesToInstall.Count - 1
  LogFile.WriteLine( I + 1 & "> " & updatesToInstall.Item(i).Title _ 
    & ": " & installationResult.GetUpdateResult(i).ResultCode ) 
Next

If installationResult.RebootRequired = -1 then
  LogFile.WriteLine( "RebootRequired")
  ' <-- normally now you should call for a R E B O O T.....
End if

ShutDown(ShutdownOption)  '<-- O P T I O N A L

LogFile.WriteLine( "STOP TIME : " & now)
LogFile.WriteLine("***************************************************************")
LogFile.Close

wscript.echo "Updates are installed"


Function ShutDown(sFlag)
 wscript.sleep 600
  Set OScoll = GetObject( _
     "winmgmts:{(Shutdown)}").ExecQuery( _
     "Select * from Win32_OperatingSystem") 
  For Each osObj in OScoll
    osObj.Win32Shutdown(sFlag)
  Next
End Function

Recommend

RODBC, SQL Order By clause + field ID = Order conflict

make my website remember my Jquery accordion menu state after refresh?

Double-click repeating by how many times button pressed

es transact sql know which table I'm referencing in this subquery?

Kendo AutoComplete with MVVM Not setting bound object

Regrading decorator pattern, object instantiation

Remove words starting with _ in file using sed in bash

Animate div back to its original position (cycle needs to be repeated)

PHP script unable to gather filename of calling html page

Copy contents of a unique pointer array in the copy constructor

Overriding a method which uses a subtype

Possible to convert SomeClass to SomeClass where T is not known until runtime?

Using one ethernet interface to communicate with two routers separately

perform daily monthly yearly data updates

Using sed to copy data between two numerical patterns to a new file

get all values of a specific column based on a specific value in another column in R?

python - AttributeError: 'MainFrame' object has no attribute 'm_textCtrl2'

combine COUNTIF with OR

Python export to file via ofile without bracket characters

RegEx to redirect certain URL path

Python: list-based tree to dict based tree

PHP: assign priority to array values and then sort by that priority

Gnuplot: plotting only specific values of the dataset using lines or linespoints

Initial Data Load With ActionBar Indeterminate ProgressBar

open and close modal with same hotkey

Implement navigation rules with annotations in JSF

find second highest number in an integer array?

AS3 - add and remove an onenterframe EventListener, with a mouse click

Hide a field in landscape mode

Shopify - If item in cart belongs to a specific collection

stop text wrap and vertically center text in sliding div

There is an empty space down the menu in ie6 only

Spring MVC: Path variable lost after first call to the controller method

Typecasting Pointers in C

jQuery: selector equivalent for parents() method

Could someone explain to me what I'm doing wrong in this Python Code and help me figure it out?

Expand XML depth with XSLT transformation

Python creating multiple threads and creating processing time

Open a Lua .love file in Vim

prevent or handle user input while ajax call is out and new data will be returned

Build Select Fields With CssBoundLiftScreen and Record in Lift?

Angularjs: TypeError: Cannot call method 'insertBefore' of null

Retrieving referenced documents with Morphia returns strange errors

Creating a universal boolean in C#

es mv compare to cp in terms of speed and safety when the transfer is across different filesystems?

SELECT * FROM table WHERE column = ??? in PHP with unknown number of values for?

Search for word in text file and display (Ruby)

Cast a 10 bit unsigned integer to a signed integer in python

shift the entire page to the right of the inserted side panel?

Retrieving image from NSData

Segueing a view without Storyboard

Inverted logic in Django ModelForm

Java GridBagLayout resizing and fixed size

Centering div id

re-arrange/manipulate data?

Python 2.7 str(055) returns 45 instead of 055

C# Threading/Async: Running a task in the background while UI is interactable

write a File with text from a TEdit(Textbox)

Open winforms just one time?

Compare variable name to a string

Get PyQt4 to open another Qt window when a button is pressed

Setting up example app within directory path

Eigen3 Flatten Matrix as Vector

Periodic python thread that can be asynchronously poked into action

display category name of the woocomerce product in wordpress theme header

Automatically list all folders of a location on server

C# SQLite Insert function with dynamically parameters

Resx files and embedding into assembly

Why does my game interpret the mouse pointers coordinates wrong

Second check in or-statement not executed

conditionally extract values from a list using two other lists?

ReactiveUI, get a list from a viewmodel when navigated to - if the viewmodel implements interface

Show KMeans cluster results with clusters as columns

add ampersand (&) at the end of HttpContent

Atomic policy in objc_setAssociatedObject

Replace \n , with ,

Represent string as currency or decimal using razor @Html.textboxfor

ImageView and TextView with Adaper

Default Form Field Value Clears unless Unique

Nested RESTful routes in CherryPy

use JSHint and Browserify together?

instantiate a subclass with Dozer?

run_locallly ssh task that exits

the expected values for the various ENUM types returned by the SurveyMonkey API?

Integrating ASP.NET Identity into Existing DbContext

Understanding super fast blur algorithm

includes associated models in active_admin

make JQuery's droppable element to accept one and just one draggable element from a bunch of them?

Exporting to Excel with PHPExcel and MySQL

get and set elements in nested list

Why there is no early termination in bitwise operations?

Setting contentSize of UIScrollView that is a child view

Input textbox data into array of objects

Deny from all folders except /index.php and two folders

Dynamically increment/decrement the value of a variable?

MSBuild removing backslash in Directory field from batch processing of ItemGroup

Is there method like toHTML from String?

Optimize parameters of a pairwise distance function in Matlab

Live tiles with 5 images in cycle

Should this be solved using a subset sum algorithm