Salta al contenuto
  • CATEGORIES
  • La Community Connect.gt
  • Presentati alla Community
  • News Ufficiali da Connect.gt
  • Internet News
  • A Scuola Di
  • Digital Marketing
  • Intelligenza Artificiale
  • SEO & GEO
  • Web Marketing e Content
  • Google Analytics e Web Analytics
  • Google Ads & Advertising
  • YouTube
  • TikTok, Instagram e altri Social
  • Google Adsense, Affiliazioni e Guadagno
  • E-Commerce
  • Coding e Sistemistica
  • Help Center: consigli per il tuo progetto
  • Hosting e Cloud
  • Coding
  • CMS & Piattaforme Self-Hosted
  • Annunci e Collaborazioni
  • Annunci Vendita e Acquisto: Pubblicità, Domini, Link e altro
  • Collaborazioni WEB e Lavoro: offro e cerco
  • Impresa, Fisco e Leggi
  • Consulenza Legale e Professioni Web
  • Consulenza Fiscale, Imprese, Startup e P.Iva
  • Gli Off Topic
  • PC, Smartphone e altri Hardware
  • Tutti i Software
  • GT Fetish Cafè
  • Discussioni
  • 0 Non letti 0
  • Recenti
  • Hashtag
  • Popolare
  • Utenti
  • Privacy
  • Termini e condizioni
  • © 2026 Search On Media Group S.r.l.
Collassa
Connect.gt
Il network Search On
Connect.gt WMF AI Festival Accademia Advanced SEO Tool AgentCy Social Media Strategies Search Tech
Registrati Accedi
Connect.gt
Stream Interest Categorie Hashtag
P

pusherxx

@pusherxx
Non seguire Segui
Informazioni
Post
149
Discussioni
32
Condivisioni
0
Gruppi
0
Da chi è seguito
0
Chi segue
0

Post

Recenti Migliore Controverso

  • Durata delle sessioni
    P pusherxx
    Coding

    Ciao a tutti,
    volevo fare una domandina molto semplice:ho creato un'area login con le sessioni, ma non capisco perchè se chiudo il browser, alla riapertura dello stesso, lo ritrovo ancora loggato.
    In base a quello che ho studiato, la sessione dovrebbe cancellarsi automaticamente alla chiusura del browser. Giusto?

    Grazie
    Giuseppe


  • funzione chiudi pagina
    P pusherxx
    Coding

    Grazie mille sei stato gentilissimo

    A presto!


  • funzione chiudi pagina
    P pusherxx
    Coding

    Ciao a tutti,volevo fare una domanda banalissima ma che comunque non riesco a rispondermi, è possibile linkare ad un tasto la funzione chiudi pagina?
    Grazie a tutti


  • Trasparenza su sfondo
    P pusherxx
    Coding

    Si si ho capito, ma in effetti incontrerei tanti problemi con i browser tipo ie6...okok, grazie tante comunque.


  • Trasparenza su sfondo
    P pusherxx
    Coding

    Ciao a tutti,
    ho messo un immagine come sfondo sul mio sito ripetuta per le x e per le y.
    Volevo chiedervi se è possibile dare una sfumatura tendente al bianco sullìasse delle y.

    Grazie a tutti


  • Visualizzare immagine
    P pusherxx
    Coding

    Ragazzi ma posso avere una risposta?? E' una cosa fattibile?


  • Visualizzare immagine
    P pusherxx
    Coding

    Thedarkita non puoi proprio aiutarmi?


  • Visualizzare immagine
    P pusherxx
    Coding

    no no, avevo inserito n altro script, ma è sbagliato...asp un secondo!!
    è questo:

    <?php session_start(); ob_start(); if(!isset($_SESSION['admin'])) { header('Location: hyrja'); exit(); } include('mjetet/ldb.php'); 
    
                $destinacioni="galeria";
                
                //vendi ku do t&euml; rruhen imazhet
                $paravendi = "../fotot/".$destinacioni."/para/";
                $plotvendi = "../fotot/".$destinacioni."/plot/";
                
                //A d&euml;shironi ti limitoni ekstenzionet e ngarkimit ? (po/jo)
                $kufizimitipit = "po"; 
                
                //Ekstenzionet e lejuara
                $tipetelejuara = array(".gif",".jpg",".png",".jpeg",".bmp");
                
                // ruajm informacionet e t&euml; dh&euml;n&euml;s p&euml;rkoh&euml;sisht
                $tipiitedhenes = $_FILES['imazhi']['type'];
                $emriitedhenes = $_FILES['imazhi']['name'];
                $masaetedhenes = $_FILES['imazhi']['size'];
                $edheneperkohshme = $_FILES['imazhi']['tmp_name'];
                
                //kontrollojme se a &euml;sht&euml; ngarkuar ndonj&euml; t&euml; dh&euml;n&euml;
                if(!is_uploaded_file($edheneperkohshme)){
                $mesazhi="Error: Please choose a picture!.";
                } else {
                
                //kontrollojm&euml; ekstenzionin
                $ekst = strrchr($emriitedhenes,'.');
                $ekst = strtolower($ekst);
                if (($kufizimitipit == "po") && (!in_array($ekst,$tipetelejuara))) {
                $mesazhi="Choosen Picture isn't allowed.";  } }
                
                //marrim prapashtesen.
                $merrekst = explode ('.', $emriitedhenes);
                $ekstitedhenes = $merrekst[count($merrekst)-1];
                
                //definojm&euml; emrin e rast&euml;sish&euml;m
                $emri_irastit = md5(time());
                $emri_irastit= "".$destinacioni."".rand(0,999999999999999)."";
                    
                // caktojm masat se sa do t&euml; jen p&euml;r proporcionim t&euml; automatizuar
                $paramasaGJ= 160;
                $plotmasaGJ= 800;
                $paramasaL= 115;
                $plotmasaL= 600;
                
                //rruajm formen e imazhit
                if($masaetedhenes){
                if($tipiitedhenes == "image/pjpeg" || $tipiitedhenes == "image/jpeg"){
                $imazhiri = imagecreatefromjpeg($edheneperkohshme);
                $imazhiri2 = imagecreatefromjpeg($edheneperkohshme);
                }elseif($tipiitedhenes == "image/x-png" || $tipiitedhenes == "image/png"){
                $imazhiri = imagecreatefrompng($edheneperkohshme);
                $imazhiri2 = imagecreatefrompng($edheneperkohshme);
                }elseif($tipiitedhenes == "image/gif"){
                $imazhiri = imagecreatefromgif($edheneperkohshme);
                $imazhiri2 = imagecreatefromgif($edheneperkohshme);
                }
                
                //tani vendosim p&euml;r p&euml;rmasat e reja
                list($gjeresia, $gjatesia) = getimagesize($edheneperkohshme);
                if ($gjatesia > $gjeresia ) {   
                         $zmadho = $paramasaGJ / $gjatesia;  
                         $gjatesiaere = $paramasaL;   
                         $gjeresiaere = $gjeresia * $zmadho;   
                      } else {    
                        $zmadho = $paramasaGJ / $gjeresia;   
                        $gjeresiaere = $paramasaGJ; 
                        $gjatesiaere = $gjatesia * $zmadho;
                      } 
                if ($gjatesia > $gjeresia) {   
                         $zmadho = $plotmasaGJ / $gjatesia;  
                         $gjatesiaere2 = $plotmasaL;   
                         $gjeresiaere2 = $gjeresia * $zmadho;   
                      } else {    
                        $zmadho = $plotmasaGJ / $gjeresia;   
                        $gjeresiaere2 = $plotmasaGJ; 
                        $gjatesiaere2 = $gjatesia * $zmadho;
                      } 
    
                
                //funksioni i rizmadhimit
                if (function_exists(imagecreatetruecolor)){
                $imazhirizmadhuar = imagecreatetruecolor($gjeresiaere,$gjatesiaere);
                $imazhirizmadhuar2 = imagecreatetruecolor($gjeresiaere2,$gjatesiaere2);
                }else{
                die("Error: Please ask your hoster to support higher GD library as GD2.");
                }
                imagecopyresampled($imazhirizmadhuar, $imazhiri, 0, 0, 0, 0, $gjeresiaere, $gjatesiaere, $gjeresia, $gjatesia);
                imagecopyresampled($imazhirizmadhuar2, $imazhiri2, 0, 0, 0, 0, $gjeresiaere2, $gjatesiaere2, $gjeresia, $gjatesia);
                //ruajm imazhet
                ImageJpeg ($imazhirizmadhuar,"$paravendi/$emri_irastit.$ekstitedhenes",100);
                ImageJpeg ($imazhirizmadhuar2,"$plotvendi/$emri_irastit.$ekstitedhenes",100);
                ImageDestroy ($imazhirizmadhuar);
                ImageDestroy ($imazhirizmadhuar2);
                ImageDestroy ($imazhiri);
                ImageDestroy ($imazhiri2);
                
                //postojm&euml; informacionet n&euml; databaz&euml;
                $d_to_dt = "INSERT INTO galeria VALUES('','".$emri_irastit.".".$ekstitedhenes."')";
                $get_r= mysql_query($d_to_dt,$lidhja) or die (mysql_error($lidhja));
                $mesazhi="<br/>Picture has been uploaded!<br/><a href=\"shfleto.php\">go back to browse</a><br/><br/><br/>"; }
                
    ?>
    

  • Visualizzare immagine
    P pusherxx
    Coding

    questo è lo script:

     <?php
          if(!$lidhja) { } else {
          
            $tabelaadmin = "   CREATE TABLE IF NOT EXISTS `admin` (
                              `id` int(11) NOT NULL AUTO_INCREMENT,
                              `admin` varchar(255) NOT NULL,
                              `fjalekalimi` varchar(255) NOT NULL,
                              PRIMARY KEY (`id`)
                            ) ENGINE=MyISAM  DEFAULT CHARSET=latin1 AUTO_INCREMENT=2 ;";
            mysql_query($tabelaadmin,$lidhja);
            echo '<p id="tkerkuarats"> Created admin table.</p>';            
    
            $tabelagaleria = "CREATE TABLE IF NOT EXISTS `galeria` (
                              `id` int(11) NOT NULL AUTO_INCREMENT,
                              `foto` varchar(21) NOT NULL,
                              PRIMARY KEY (`id`)
                            ) ENGINE=MyISAM  DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ;";
            mysql_query($tabelagaleria,$lidhja);
            echo '<p id="tkerkuarats"> Created galeria table, wich will handle your pictures.</p>';            
                    
            $tabelagaleria = "CREATE TABLE IF NOT EXISTS `siguria` (
                              `id` int(11) NOT NULL AUTO_INCREMENT,
                              `ip` varchar(255) NOT NULL,
                              `statusi` varchar(255) NOT NULL,
                              `datadheora` varchar(255) NOT NULL,
                              `kush` varchar(255) NOT NULL,
                              PRIMARY KEY (`id`)
                            ) ENGINE=MyISAM  DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ;";
            mysql_query($tabelagaleria,$lidhja);
            echo '<p id="tkerkuarats"> Created siguria table, wich will save your gallery from hackers.</p>';
            mysql_close($lidhja); 
            $krijo = fopen("ldb.php", "w");
            if($krijo==false) {
            echo 'We could not create file ldb.php wich will be in mjetet/ldb.php please take your time and create a php file with this content:'; include('ldb.txt');
            } else {
                $ldb = "../admin/mjetet/ldb.php";
                $hap = fopen($ldb, 'w');
                fclose($hap); 
                            
                $hap = fopen($ldb, 'w');
                echo '<p id="tkerkuarats">Opened file successfully.</p>';
    $tedhenat = '<?php
    //Konstantet
    $emridb="'.$dbnameposted.'";
    $hosti="'.$dbhostposted.'";
    $epdb="'.$dbuserposted.'";
    $fkdb="'.$dbpassposted.'";
    //Lidhja me bazen e te dhenave 
    $lidhja = mysql_connect($hosti,$epdb,$fkdb);
    //Zgjidhja e bazes se te dhenave
    mysql_select_db($emridb,$lidhja);
    ?>';
                fwrite($hap, $tedhenat);
                echo '<p id="tkerkuarats">Writing informations on file successfully.</p>';
                fclose($hap); 
                echo '<p id="tkerkuarats">Closing and finishing successfully.</p>';
     }
    
    
                }
          ?>
    

    cosa dovrei aggiungere?
    scusami ma di codici non ne capisco tanto!
    Ti ringrazio in anticipo!!


  • Visualizzare immagine
    P pusherxx
    Coding

    Ciao, grazie per la risposta, ma come faccio ad inserire l'estensione??
    puoi darmi una mano?


  • Visualizzare immagine
    P pusherxx
    Coding

    Ciao a Tutti,
    sto utilizzando uno script di una galleria fotografica e succede che quando inserisco una foto non mi permette la visualizzazione della stessa.
    In effetti se mi porto con la freccetta sulla miniatura mi da come link:

    <a id="pirobox_gall" class="zmadho first last" href="fotot/galeria/plot/galeria32229203311726" rel="1&nbsp;of&nbsp;1" rev="0"/>
    

    in realtà dovrebbe essere :

    <a id="pirobox_gall" class="zmadho first last" href="fotot/galeria/plot/galeria32229203311726.jpg" rel="1&nbsp;of&nbsp;1" rev="0"/>
    

    il codice per intero è:

    <?php
    $max = 12;
    if(isset($_GET['p'])) { $p = $_GET['p'];  }
    if(empty($p)) { $p = 1;}
    $limits = ($p - 1) * $max; 
    
    //tkerkimit///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
    $sql = mysql_query("SELECT * FROM galeria ORDER BY id DESC LIMIT ".$limits.",$max") or die(mysql_error());
    $totalres = mysql_result(mysql_query("SELECT COUNT(id) AS tot FROM galeria"),0);
    $sqlrk = mysql_query("SELECT * FROM galeria") or die(mysql_error()); 
    //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
    echo '<div class="reshti">';
    $totalpages = ceil($totalres / $max); 
    if (mysql_num_rows($sql) > 0) {
    $rezkerkimeve = mysql_num_rows($sqlrk);
    while($r = mysql_fetch_array($sql,MYSQL_ASSOC))
    {
    $id = $r['id']; 
    $foto = $r['foto']; 
    $v=$v+1;
    echo '<div class="foto">
          <div class="fotomb"><div align="center"><img src="fotot/galeria/para/'.$foto.'" /></div></div>
          <div style="clear:both;"></div>
          <a href="fotot/galeria/plot/'.$foto.'" class="zmadho" id="pirobox_gall"></a></div>';
    if($v==4 || $v==8 || $v==12) { echo '</div><div class="reshti">'; }
          }}
    echo '</div></div>';    
        
    
    if(!isset($foto)) { echo 'Nessuna foto caricata'; } else { 
    $prp=$p-1;
    $ardh=$p+1;
    echo '<div class="pastrimi"></div>';
    echo '<div class="galeriaBtn">';
        if($p==1) { echo '<div class="kthehuBtn"><img src="fotot/kthehuBtn_pasiv.gif" alt="kthehu" /></div>'; } else { 
                    echo '<div class="kthehuBtn"><a href="index.php?p='.$prp.'"><img src="fotot/kthehuBtn_aktiv.gif" alt="kthehu" /></a></div>'; }
        if($p==$totalpages) { echo '<div class="vazhdoBtn"><img src="fotot/vazhdoBtn_pasiv.gif" alt="kthehu" /></div>'; } else {
                              echo '<div class="vazhdoBtn"><a href="index.php?p='.$ardh.'"><img src="fotot/vazhdoBtn_aktiv.gif" alt="kthehu" /></a></div>'; }
    echo '</div>'; }
    ?>
    

    Potete aiutarmi a fargli riconoscere l'estensione dell'immagine??

    Grazie a tutti


  • Inserire testo
    P pusherxx
    Coding

    Infatti ho risolto.
    Tks


  • Inserire testo
    P pusherxx
    Coding

    Scusami darkita, come mai per far andare il testo a capo devo inserire per forza di cose <br>? E' possibile farlo andare a capo semplicemente premendo l'invio? Un'altra cosa, quando metto l'apostrofo ' esce uno /
    Come mai?


  • Modificare campo Database
    P pusherxx
    Coding

    Lo faro' al piu' presto...
    ritornero' su questo post non appena l'avro' fatto grazie ancora a risentirci!;)


  • Modificare campo Database
    P pusherxx
    Coding

    Ciao darkita,
    perdonami, ma io so creare solo un database su un dominio tramite server.
    Quello che vorrei fare è creare una tabella "database" con piu' colonne tante quanti sono i testi da modificare, per evitare di creare tanti file.txt.
    Potresti spiegarmi dove in questa stringa:

                               mysql_query("UPDATE tabella SET testo = '$nuovotesto' WHERE id = '$id'");
    

    viene richiamato il database?
    E per "$nuovotesto" intendi una colonna di quella famosa tabella che intendo creare?


  • Modificare campo Database
    P pusherxx
    Coding

    Ciao a tutti,
    in riferimento al post "inserire Testo", volevo capire se invece di avere il file.txt da modificare ogni qualvolta intendo inserire un cambiamento, fosse possibile modificare un testo compreso in un database.
    Spero di esser stato chiaro.

    Grazie 🙂


  • Inserire testo
    P pusherxx
    Coding

    Sei gentilissimo, grazie davvero!

    Ora pero' apro un altro post perchè voglio capirci qualcosa di database!


  • Inserire testo
    P pusherxx
    Coding

    Grazie mille sei stato gentilissimo, ma ho ancora un ultima richiesta e giuro che non rompo piu' su questa discussione!
    E' possibile caricare, nella casella di testo, il testo già esistente per poi modificarlo?
    Grazie mille ancora una volta


  • Inserire testo
    P pusherxx
    Coding

    Grazie mille per la velocità!
    Un'altra cosa, se volessi salvare quel testo come file .html o .php o .txt, cosa devo aggiungere?
    grazie grazie grazieeee:o


  • Inserire testo
    P pusherxx
    Coding

    Ciao a tutti
    premetto che non capisco tanto di php e vi renderete conto dalla domanda!:(
    Quello che vorrei fare è un campo dove l'utente puo' inserire un testo per poi farlo visualizzare a monitor in una pagina php.
    Potete aiutarmi?

  • Accedi

  • Non hai un account? Registrati

  • Accedi o registrati per effettuare la ricerca.
  • Primo post
    Ultimo post
Home Accedi Registrati
Menu
  • CATEGORIES
  • La Community Connect.gt
  • Presentati alla Community
  • News Ufficiali da Connect.gt
  • Internet News
  • A Scuola Di
  • Digital Marketing
  • Intelligenza Artificiale
  • SEO & GEO
  • Web Marketing e Content
  • Google Analytics e Web Analytics
  • Google Ads & Advertising
  • YouTube
  • TikTok, Instagram e altri Social
  • Google Adsense, Affiliazioni e Guadagno
  • E-Commerce
  • Coding e Sistemistica
  • Help Center: consigli per il tuo progetto
  • Hosting e Cloud
  • Coding
  • CMS & Piattaforme Self-Hosted
  • Annunci e Collaborazioni
  • Annunci Vendita e Acquisto: Pubblicità, Domini, Link e altro
  • Collaborazioni WEB e Lavoro: offro e cerco
  • Impresa, Fisco e Leggi
  • Consulenza Legale e Professioni Web
  • Consulenza Fiscale, Imprese, Startup e P.Iva
  • Gli Off Topic
  • PC, Smartphone e altri Hardware
  • Tutti i Software
  • GT Fetish Cafè
  • Discussioni
  • Non letti 0
  • Recenti
  • Hashtag
  • Popolare
  • Utenti
  • Privacy
  • Termini e condizioni
  • © 2026 Search On Media Group S.r.l.