{"id":320,"date":"2010-01-06T17:38:02","date_gmt":"2010-01-06T15:38:02","guid":{"rendered":"http:\/\/www.beseit.net\/?p=320"},"modified":"2011-07-08T13:08:54","modified_gmt":"2011-07-08T11:08:54","slug":"comtador-de-visites-en-perl","status":"publish","type":"post","link":"https:\/\/www.beseit.net\/?p=320","title":{"rendered":"Comptador de visites en Perl"},"content":{"rendered":"<p><span style=\"font-family: Times New Roman; font-size: small;\"> <\/span><\/p>\n<p>1. Es comprova que el servidor de perl funciona: <a href=\"http:\/\/www.beseit.net\/cgi-bin\/holamiquel.pl\">com<\/a> <a href=\"http:\/\/www.beseit.eu\/cgi-bin\/holamiquel.pl\">eu<\/a> <a href=\"http:\/\/www.urquizu.info\/cgi-bin\/holamiquel.pl\">info<\/a><\/p>\n<p><span style=\"font-family: Times New Roman; font-size: small;\"> <\/span><\/p>\n<p>2. Es carrega cgi-bin en lo programa incrementa_contador.pl i comptador.dat<\/p>\n<p><span style=\"font-family: Times New Roman; font-size: small;\"> <\/span><\/p>\n<p>3. Es carrega public_html en les carpetes numeros_gif i comptador_gif<\/p>\n<p><span style=\"font-family: Times New Roman; font-size: small;\"> <\/span><\/p>\n<p>4. Es comproven los permisos de les carpetes i fitxers:<\/p>\n<p><span style=\"font-family: Times New Roman; font-size: small;\"> <\/span><\/p>\n<p>incrementa_contador.pl: 755 mai 777<\/p>\n<p><span style=\"font-family: Times New Roman; font-size: small;\"> <\/span><\/p>\n<p>comptador.dat: 644<\/p>\n<p><span style=\"font-family: Times New Roman; font-size: small;\"> <\/span><\/p>\n<p>numeros_gif: 755<\/p>\n<p><span style=\"font-family: Times New Roman; font-size: small;\"> <\/span><\/p>\n<p>comptador_gif: 755<\/p>\n<p><span style=\"font-family: Times New Roman; font-size: small;\"> <\/span><\/p>\n<p><span style=\"color: #333333;\"> <\/span><\/p>\n<p><span style=\"font-family: Times New Roman; font-size: small;\"> <\/span><\/p>\n<p>Els punts per on se vol controlar el numero de visites s\u2019hi posa el seg\u00fcent<span style=\"color: #333333;\"> script:<\/span><\/p>\n<p><span style=\"font-family: Times New Roman; font-size: small;\"> <\/span><\/p>\n<p>&lt;!&#8211; incrementar el contador &#8211;&gt;<\/p>\n<p><span style=\"font-family: Times New Roman; font-size: small;\"> <\/span><\/p>\n<p>&lt;script<span style=\"color: #333333;\"> type=&#8221;perl&#8221; src=&#8221;http:\/\/www.beseit.net\/cgi-bin\/incrementa_contador.pl&#8221;&gt; &lt;\/script&gt;<\/span><\/p>\n<p><span style=\"font-family: Times New Roman; font-size: small;\"> <\/span><\/p>\n<p><span style=\"color: #333333;\"> <\/span><\/p>\n<p><span style=\"font-family: Times New Roman; font-size: small;\"> <\/span><\/p>\n<p>Punts on <span style=\"color: #333333;\"> he ficat increment del comptador <\/span><span style=\"color: #333333;\"> al tema<\/span><span style=\"color: #333333;\"> twentyten de wordpress:<\/span><\/p>\n<p><span style=\"font-family: Times New Roman; font-size: small;\"> <\/span><\/p>\n<ul>\n<li><span style=\"color: #333333;\"><span style=\"font-family: Symbol;\">\u00b7<\/span> Pagina Inici-&gt;esta en blanc-&gt;apunta a plantilla-pag-inicial (page.beseit.php) que te un include beseit-.htm<\/span><\/li>\n<li><span style=\"color: #333333;\"><span style=\"font-family: Symbol;\">\u00b7<\/span> Header.php aquesta plantilla s\u2019usa per a totes les p\u00e0gines i entrades<\/span><\/li>\n<li><span style=\"color: #333333;\"><span style=\"font-family: Symbol;\">\u00b7<\/span> Header-beseit.php<\/span><\/li>\n<li><span style=\"color: #333333;\"><span style=\"font-family: Symbol;\">\u00b7<\/span> Header-diaris.php<\/span><\/li>\n<li><span style=\"color: #333333;\"><span style=\"font-family: Symbol;\">\u00b7<\/span> Etc..<\/span><\/li>\n<\/ul>\n<p><span style=\"font-family: Times New Roman; font-size: small;\"> <\/span><span style=\"font-family: Times New Roman; font-size: small;\"> <\/span><span style=\"font-family: Times New Roman; font-size: small;\"> <\/span><span style=\"font-family: Times New Roman; font-size: small;\"> <\/span><span style=\"font-family: Times New Roman; font-size: small;\"> <\/span><\/p>\n<p><span style=\"color: #333333;\"> <\/span><\/p>\n<p><span style=\"font-family: Times New Roman; font-size: small;\"> <\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>1. Es comprova que el servidor de perl funciona: com eu info 2. Es carrega cgi-bin en lo programa incrementa_contador.pl i comptador.dat 3. Es carrega public_html en les carpetes numeros_gif i comptador_gif 4. Es comproven los permisos de les carpetes &hellip; <a href=\"https:\/\/www.beseit.net\/?p=320\">Continua llegint <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-320","post","type-post","status-publish","format-standard","hentry","category-bloc-de-notes"],"_links":{"self":[{"href":"https:\/\/www.beseit.net\/index.php?rest_route=\/wp\/v2\/posts\/320","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.beseit.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.beseit.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.beseit.net\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.beseit.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=320"}],"version-history":[{"count":16,"href":"https:\/\/www.beseit.net\/index.php?rest_route=\/wp\/v2\/posts\/320\/revisions"}],"predecessor-version":[{"id":323,"href":"https:\/\/www.beseit.net\/index.php?rest_route=\/wp\/v2\/posts\/320\/revisions\/323"}],"wp:attachment":[{"href":"https:\/\/www.beseit.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=320"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.beseit.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=320"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.beseit.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=320"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}