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
C

condor.uk

@condor.uk
Non seguire Segui
Informazioni
Post
26
Discussioni
10
Condivisioni
0
Gruppi
0
Da chi è seguito
0
Chi segue
0

Post

Recenti Migliore Controverso

  • Posizionamento immagine di background
    C condor.uk
    Coding

    Un saluto a tutta la community.

    Stavo cercando di risolvere un problema estetico che affligge il mio blog www blogomedia.it

    Vorrei che "images/bg.gif" non si estendesse in orizzontale per tutta la larghezza della pagina,

    body 
    { height: 100%; 
    }
    body { 
    background: url("images/bg.gif") repeat-x scroll left top #FFFFFF; color: #666666; 
    font: 0.85em/150% Tahoma,Calibri,Verdana,Arial,Helvetica,sans-serif; 
    margin: 0; 
    padding: 0; 
    text-align: center; }
    

    ma si estendesse fino alla copertura della dimensione del content

    #content { 
    background: none repeat scroll 0 0 #FFFFFF; 
    float: left; 
    margin: 20px 0 0; 
    padding-bottom: 20px; 
    }
    

    Mi dareste una mano ? ❌x:x


  • Contatore visite post
    C condor.uk
    CMS & Piattaforme Self-Hosted

    Un saluto a tutta la community.

    Gestisco un sito in WP e avevo la necessità di mostrare agli utenti il numero di volte che un determinato post è stato letto.

    Esempio: Questo articolo è statp letto xxx volte.

    Il problema è che io uso Post Views che ad ogni refresh della pagina incrementa il contatore e questo per me non va bene.

    La mia versione WP è la 3.3.1

    Avete qualche suggerimento

    Thanks


  • Scambio articoli con link. Mio sito 200000 accessi unici al mese google news
    C condor.uk
    Annunci Vendita e Acquisto: Pubblicità, Domini, Link e altro

    Ciao inviato mail.

    Saluti


  • Scambio link per sito di Gossip chè diventerà molto importante!
    C condor.uk
    Annunci Vendita e Acquisto: Pubblicità, Domini, Link e altro

    w w w. blogomedia.it PR2

    A presto !!!


  • Visualizzazione differente chrome - mozilla
    C condor.uk
    Coding

    Ragazzi, il problema è stato risolto. Ringrazio per l'attiva partecipazione tutti voi, mi piacerebbe poter anche descrivere la risoluzione, ma non è stata farina del mio sacco. Il problema l'ho risolto grazie all'utente MyWebIsland - MWI , che con tanta pazienza e disponibilità ha verificato il sito ed ha risolto i problemi di visualizzazione.

    Potete procedere alla chiusura del Thread


  • [CERCO] Collaboratore per sito web
    C condor.uk
    Collaborazioni WEB e Lavoro: offro e cerco

    Ciao,
    ho inviato una mail.

    Grazie


  • www.blogomedia.it
    C condor.uk
    Help Center: consigli per il tuo progetto

    Grazie.

    marcocarrieri



  • [CERCO] Collaboratore per sito web
    C condor.uk
    Collaborazioni WEB e Lavoro: offro e cerco

    Ciao mi chiamo Crescenzo Cuomo,io ed un amico abbiamo realizzato in wordpress il portale w w w.blogomedia.it Ad oggi a poco più di un mese dalla pubblicazione contiamo quasi 7000 visitatori unici al mese. Siamo di Salerno e stiamo cercando una persona appassionata di internet con conoscenze css per sistemare alcuni piccoli bug presenti nel nostro template. Al momento, essendo un sito giovane, e non avendo entrate non possiamo offrire retribuzione,ma possiamo ospitare pubblicità. Il sito è w w w.blogomedia.it se interessati alla collaborazione non esitate a contattarci. Saluti


  • www.blogomedia.it
    C condor.uk
    Help Center: consigli per il tuo progetto

    Ciao Marco
    grazie per il commento positivo che hai lasciato al mio blog.

    Guarda, le tue osservazioni mi sembrano più che giuste, ma utilizzando wordpress ed avendo preso un template già "preconfezionato", al momento manco di competenze tecniche per apportare le modifiche da te suggerite.

    In questi giorni sto lavorando alla risoluzione di un problema che porta, la colonna posta alla destra dello slide, ad essere interpretata in maniera diversa dai vari browser. Diciamo ok firefox ed explorer, ma non chrome e safari.

    Detto questo mi attivo per implementare la normativa sulla privacy nel modulo contatti.

    Ancora grazie per l'interessamento.


  • Visualizzazione differente chrome - mozilla
    C condor.uk
    Coding

    karedas

    Potrebbe derivare da un errore nel codice php, il problema è che per vedere l'errore bisognerebbe fare affidamento alle risposte date dal server Apache.

    karedas, mi stai dicendo che devo abilitare la direttiva debug php dal pannello apache?

    Sto impazzendo con questo codice, l'errore è davvero molto fastidioso.


  • [CERCO] Articolista per blog
    C condor.uk
    Collaborazioni WEB e Lavoro: offro e cerco

    Ciao a tutti,
    da poco più di un mese ho aperto un blog insieme ad un amico. Il blog al momento conta poco meno di 7000 visitatori unici al mese ed è nostra intenzione farlo crescere ed ottimizzarlo sempre di più. Appunto per questo ricerchiamo collaboratori, che come unico requisito abbiano la passione di scrivere. Argomenti trattati sono: Informazione Televisiva, spettacolo, cinema, musica e gossip.

    Per correttezza informiamo che per il momento non possiamo offrire remunerazione economica, questo naturalmente non significa che in futuro non lo faremo.

    Per informazioni scrivete a c.crescenzo[et]gmail.com

    Grazie a tutti per l'attenzione.


  • Visualizzazione differente chrome - mozilla
    C condor.uk
    Coding

    karedas

    Ciao condor uk e benvenuto nel forum gt 🙂
    l'errore è dato dal fatto che Google Chrome sta rilevando degli spazi vuoti all'altezza dell'oggetto seguente:

    <div class="col-two"> </div> <!--col single end here -->         </div>
    

    Lo spazio vuoto, che ora vedremo da cosa probabilmente è dato, viene rilevato appunto dal browser mandandoti a capo il "div" contenitore.

    Ora, apparentemente nel codice non c'è nulla di errato, quello che ipotizzo
    vada a creare sconquasso in "tutta" la pagina è l'errata chiusura
    dei "COMMENTI".

    La corretta forma è
    <!-- commento //-->

    (quindi con il doppio slash).

    Correggi tutto il codice e facci sapere 🙂

    Ciao karedas,
    ho provato a seguire il tuo consiglio, ma purtroppo, pur avendo corretto il codice il problema è sempre presente


  • www.blogomedia.it
    C condor.uk
    Help Center: consigli per il tuo progetto

    Ciao a tutti,
    volevo presentarvi il mio nuovo sito www.blogomedia.it

    Si tratta di un blog realizzato grazie al CMS Wordpress, è online da poco più di un mese, al momento conta quasi 7000 visitatori unici.

    Speriamo bene in un'ottima riuscita del progetto.


  • Visualizzazione differente chrome - mozilla
    C condor.uk
    Coding

    Il problema di sicuro sta in questo codice, ma non riesco a trovarlo. Ho fatto deverse prove e sembra esserci qualcosa che non torna proprio dopo
    <div class="col-single">, ma non essendo preparato in php non riesco a venirne a capo...:x

    <?php get_header(); ?>
        <!-- content starts //-->
        <div id="content-outer"><div id="content-wrapper">
        <div id="content">
            [B]<div class="col-single">[/B]
            
            <?php $slideshow = get_option('diplod_slideshow'); ?>
            <?php if ($slideshow!=null && $slideshow!="Inserisci ID della categoria per lo slideshow" && is_home()) { ?>
                <div id="show" class="slideshow">
                <img src="<?php bloginfo('template_url'); ?>/images/default.jpg" alt="welcome" />
                </div>
            <?php } ?>
            <?php $cat_show = get_option('diplod_cat_show'); 
            if ($cat_show!=null && $cat_show!="0") { 
            //apro la colonna singola solo se ho impostato almeno una categoria da far appirire nella seconda colonna ?>
            <div class="col-one">
            <?php } ?>
            
            <?php if (have_posts()) : ?>
            <?php while (have_posts()) : the_post(); ?>    
            
                <div class="post">
                    <div class="post-info">
                        <p><span><span class="comment"><?php comments_popup_link('..', '1', '%'); ?></span> | <span class="date"><?php the_time('j M Y') ?></span>
                        <span class="info"><a href="#" title="archiviato in <?php
                        foreach((get_the_category()) as $category) { 
                            echo $category->cat_name . ' '; } ?>">info</a></span></span></p>
                    </div>
                    
                    <h2><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link a <?php the_title(); ?>"><?php the_title(); ?></a></h2>
                    
                    <?php bdw_get_images($post,"thumbnail"); ?>
                    <?php the_excerpt(); //the_content_rss('', TRUE, '', 50); ?>
                    
                    <div class="post-meta">        
                        <p>
                        <span><a href="<?php the_permalink() ?>" class="readmore">Continua e leggi tutto l'articolo..</a> <?php edit_post_link('Modifica..', '| ', ''); ?></span>
                        </p>
                    </div>
                </div>
                <?php endwhile; ?>
                
                <div class="navigation">
                    <div class="prev"><?php next_posts_link('&laquo; Precedenti') ?></div>
                    <div class="next"><?php previous_posts_link('Successivi &raquo;') ?></div>
                </div>    
                
            <?php else : ?>
                <h2>Non Trovato..</h2>
                <p class="center">Ops, questa sezione non contiene articoli, oppure stai cercando qualcosa che non c'&egrave;..</p>
                <?php include (TEMPLATEPATH . "/searchform.php"); ?>
            <?php endif; ?>
            <?php //Reset Query
            wp_reset_query(); ?>
            
            <?php if ($cat_show!=null && $cat_show!="0") { 
            //chiudo la colonna singola solo se ho impostato almeno una categoria da far appirire nella seconda colonna ?>
            </div>
            <?php } ?>
            
            <!-- column-two //-->
            <div class="col-two">
                <?php for ($contatore=1;$contatore<=$cat_show;$contatore++) { 
                $cat_id = get_option('diplod_cat_ID'.$contatore); 
                $cat_num = get_option('diplod_cat_num'.$contatore); 
                if ($cat_id!=null && $cat_id!="ID della categoria") {
                query_posts('showposts='.$cat_num.'&cat='.$cat_id); ?>
                <div class="box">
                    <h3 class="news-title"><?php echo (get_cat_name($cat_id)); ?></h3>
                <?php if (have_posts()) : ?>
                <?php while (have_posts()) : the_post(); ?>    
                
                    <h3><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link a <?php the_title(); ?>"><?php the_title(); ?></a></h3>
    
                    <?php bdw_get_images($post,"small"); ?>
                    <?php the_excerpt(); ?> 
                    
                    <div class="post-meta post-meta-small">        
                    <p>
                    <span class="readmore"><a href="<?php the_permalink() ?>" class="readmore">Continua e leggi tutto l'articolo..</a></span>
                    <span class="comment"><a href="index.html"><?php comments_popup_link('..', '1', '%'); ?></a> </span>
                    </p>
                    </div>
                
                <?php endwhile; ?>
                <?php else : ?>
                    <h3>Nessun Articolo</h3>
                    <p>Ops.. non &egrave; presente nessun articolo per questa categoria.</p>
                <?php endif; ?>
                </div>
                <?php 
                } //end if per categoria
                } //end for per categoria 
                ?>
            </div>
            <!--col single end here //-->
            </div>
            <?php get_sidebar(); ?>
        <!-- contents end here //-->    
        </div></div>
    <?php get_footer(); ?>
    

  • Visualizzazione differente chrome - mozilla
    C condor.uk
    Coding

    Buonasera a tutti,
    vorrei sottoporre alla vostra attenzione un problema che proprio non riesco a risolvere. Quando visualizzo la homepage del mio sito blogomedia.it noto una differenza fastidiosissima tra mozilla firefox 4 e google chrome o meglio: nella mia homepage è presente una slide-show che mostra gli articoli presenti nel blog e alla sua destra è presente una colonna che contiene le pubblicità. Ora in mozilla firefox la slide è perfettamente allineata in alto con la colonna alla sua destra (quella delle pubblicità), mentre con chrome la colonna pubblicitaria è sfalsata verso il basso. Sto impazzendo, chiedo a voi di verificare


  • Creare e mantenere una sessione
    C condor.uk
    Coding

    Scusami tu tigrone,
    ti ho rubato un bel po' di tempo ma grazie al tuo prezioso aiuto sono riuscito a risolvere il problema.

    Thanks - Thanks - Thanks


  • Creare e mantenere una sessione
    C condor.uk
    Coding

    Ho modificato seguendo le tue indicazioni, ma niente da fare appena torna su anagrafica.php cancella tutto e mostra un errore

    [B]Notice[/B]:  Undefined variable: id in [B]C:\xampp\htdocs\script\ire\anagrafica.php[/B] on line [B]3[/B]
    
    [B]Notice[/B]:  Undefined index: id in [B]C:\xampp\htdocs\script\ire\anagrafica.php[/B] on line [B]4[/B]
    

    anagrafica.php

    <?php
    session_start(); 
    if (!$id) {
    $id = $_POST['id']; 
    $_SESSION['id']=$id;
    }
    ?>
    
    <?php require_once('Connections/conn.php'); ?>
    
    <?php
    if (!function_exists("GetSQLValueString")) {
    function GetSQLValueString($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "") 
    {
      if (PHP_VERSION < 6) {
        $theValue = get_magic_quotes_gpc() ? stripslashes($theValue) : $theValue;
      }
    
      $theValue = function_exists("mysql_real_escape_string") ? mysql_real_escape_string($theValue) : mysql_escape_string($theValue);
    
      switch ($theType) {
        case "text":
          $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
          break;    
        case "long":
        case "int":
          $theValue = ($theValue != "") ? intval($theValue) : "NULL";
          break;
        case "double":
          $theValue = ($theValue != "") ? doubleval($theValue) : "NULL";
          break;
        case "date":
          $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
          break;
        case "defined":
          $theValue = ($theValue != "") ? $theDefinedValue : $theNotDefinedValue;
          break;
      }
      return $theValue;
    }
    }
    
    mysql_select_db($database_conn, $conn);
    $query_ire_db = "SELECT * FROM accounts INNER JOIN accounts_cstm ON accounts.id = accounts_cstm.id_c INNER JOIN accounts_opportunities ON accounts.id = accounts_opportunities.account_id AND accounts_cstm.id_c = accounts_opportunities.account_id INNER JOIN opportunities_cstm ON accounts_opportunities.opportunity_id = opportunities_cstm.id_c WHERE accounts.id ='$id'";
    $ire_db = mysql_query($query_ire_db, $conn) or die(mysql_error());
    $row_ire_db = mysql_fetch_assoc($ire_db);
    $totalRows_ire_db = mysql_num_rows($ire_db);
    ?>
    


  • Creare e mantenere una sessione
    C condor.uk
    Coding

    Tigrone, quello che dici è verissimo, a volte per tempo non si riesce ad approfondire argomenti di fondamentale importanza per chi come me vuole avviarsi verso la programmazione php ... detto questo mi riprometto e prometto a voi amici del forum che approfondirò le mie conoscenza cercando un giorno di essere un valido elemento di supporto anche per il forum

    Detto questo ti dico che grazie al tuo aiuto sembra che ci siamo quasi, riesco a passare i valori tra due pagine

    info_adesione

    <?php
    session_start();
    $id=$_SESSION['id'];
    ?>
    
    <?php require_once('Connections/conn.php'); ?>
    
    
    <?php
    if (!function_exists("GetSQLValueString")) {
    function GetSQLValueString($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "") 
    {
      if (PHP_VERSION < 6) {
        $theValue = get_magic_quotes_gpc() ? stripslashes($theValue) : $theValue;
      }
    
      $theValue = function_exists("mysql_real_escape_string") ? mysql_real_escape_string($theValue) : mysql_escape_string($theValue);
    
      switch ($theType) {
        case "text":
          $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
          break;    
        case "long":
        case "int":
          $theValue = ($theValue != "") ? intval($theValue) : "NULL";
          break;
        case "double":
          $theValue = ($theValue != "") ? doubleval($theValue) : "NULL";
          break;
        case "date":
          $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
          break;
        case "defined":
          $theValue = ($theValue != "") ? $theDefinedValue : $theNotDefinedValue;
          break;
      }
      return $theValue;
    }
    }
    
    mysql_select_db($database_conn, $conn);
    $query_ire_db = "SELECT * FROM accounts INNER JOIN accounts_cstm ON accounts.id = accounts_cstm.id_c INNER JOIN accounts_opportunities ON accounts.id = accounts_opportunities.account_id AND accounts_cstm.id_c = accounts_opportunities.account_id INNER JOIN opportunities_cstm ON accounts_opportunities.opportunity_id = opportunities_cstm.id_c WHERE accounts.id ='$id'";
    $ire_db = mysql_query($query_ire_db, $conn) or die(mysql_error());
    $row_ire_db = mysql_fetch_assoc($ire_db);
    $totalRows_ire_db = mysql_num_rows($ire_db);mysql_select_db($database_conn, $conn);
    $query_ire_db = "SELECT * FROM accounts INNER JOIN accounts_cstm ON accounts.id = accounts_cstm.id_c INNER JOIN accounts_opportunities ON accounts.id = accounts_opportunities.account_id AND accounts_cstm.id_c = accounts_opportunities.account_id INNER JOIN opportunities_cstm ON accounts_opportunities.opportunity_id = opportunities_cstm.id_c WHERE accounts.id ='$id'";
    $ire_db = mysql_query($query_ire_db, $conn) or die(mysql_error());
    $row_ire_db = mysql_fetch_assoc($ire_db);
    $totalRows_ire_db = mysql_num_rows($ire_db);
    
    ?>
    

    info_quota_associativa

    <?php
    session_start();
    $id=$_SESSION['id'];
    ?>
    <?php require_once('Connections/conn.php'); ?>
    
    <?php
    if (!function_exists("GetSQLValueString")) {
    function GetSQLValueString($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "") 
    {
      if (PHP_VERSION < 6) {
        $theValue = get_magic_quotes_gpc() ? stripslashes($theValue) : $theValue;
      }
    
      $theValue = function_exists("mysql_real_escape_string") ? mysql_real_escape_string($theValue) : mysql_escape_string($theValue);
    
      switch ($theType) {
        case "text":
          $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
          break;    
        case "long":
        case "int":
          $theValue = ($theValue != "") ? intval($theValue) : "NULL";
          break;
        case "double":
          $theValue = ($theValue != "") ? doubleval($theValue) : "NULL";
          break;
        case "date":
          $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
          break;
        case "defined":
          $theValue = ($theValue != "") ? $theDefinedValue : $theNotDefinedValue;
          break;
      }
      return $theValue;
    }
    }
    
    mysql_select_db($database_conn, $conn);
    $query_ire_db = "SELECT * FROM accounts INNER JOIN accounts_cstm ON accounts.id = accounts_cstm.id_c INNER JOIN accounts_opportunities ON accounts.id = accounts_opportunities.account_id AND accounts_cstm.id_c = accounts_opportunities.account_id INNER JOIN opportunities_cstm ON accounts_opportunities.opportunity_id = opportunities_cstm.id_c WHERE accounts.id ='$id'";
    $ire_db = mysql_query($query_ire_db, $conn) or die(mysql_error());
    $row_ire_db = mysql_fetch_assoc($ire_db);
    $totalRows_ire_db = mysql_num_rows($ire_db);
    ?>
    

    ma quando torno sulla pagina anagrafica.php mi si cancella tutto

    anagrafica.php

    <?php
    session_start(); 
    $id = $_POST['id']; 
    $_SESSION['id']=$id;
    ?>
    
    <?php require_once('Connections/conn.php'); ?>
    
    <?php
    if (!function_exists("GetSQLValueString")) {
    function GetSQLValueString($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "") 
    {
      if (PHP_VERSION < 6) {
        $theValue = get_magic_quotes_gpc() ? stripslashes($theValue) : $theValue;
      }
    
      $theValue = function_exists("mysql_real_escape_string") ? mysql_real_escape_string($theValue) : mysql_escape_string($theValue);
    
      switch ($theType) {
        case "text":
          $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
          break;    
        case "long":
        case "int":
          $theValue = ($theValue != "") ? intval($theValue) : "NULL";
          break;
        case "double":
          $theValue = ($theValue != "") ? doubleval($theValue) : "NULL";
          break;
        case "date":
          $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
          break;
        case "defined":
          $theValue = ($theValue != "") ? $theDefinedValue : $theNotDefinedValue;
          break;
      }
      return $theValue;
    }
    }
    
    mysql_select_db($database_conn, $conn);
    $query_ire_db = "SELECT * FROM accounts INNER JOIN accounts_cstm ON accounts.id = accounts_cstm.id_c INNER JOIN accounts_opportunities ON accounts.id = accounts_opportunities.account_id AND accounts_cstm.id_c = accounts_opportunities.account_id INNER JOIN opportunities_cstm ON accounts_opportunities.opportunity_id = opportunities_cstm.id_c WHERE accounts.id ='$id'";
    $ire_db = mysql_query($query_ire_db, $conn) or die(mysql_error());
    $row_ire_db = mysql_fetch_assoc($ire_db);
    $totalRows_ire_db = mysql_num_rows($ire_db);
    ?>
    

    Risolto questo ultimo ostacolo direi che sono apposto 😉

    Thanks !


  • Creare e mantenere una sessione
    C condor.uk
    Coding

    Ciao Tigrone,
    quindi nel mio caso basterebbe inserire

    $_SESSION['id']='0';
    

    a partire dalla pagina login.php oppure da anagrafica.php o sbaglio ?

    Scusa le domande ma sono alle prime armi


  • Creare e mantenere una sessione
    C condor.uk
    Coding

    Un saluto agli amici del forum, vi spiego brevissimamente il mio problema.
    Ho 3 pagine .php

    login.php

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" ".w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns=".w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>Accesso</title>
    <link rel="stylesheet" type="text/css" href="/script/ire/css/ire.css" >
    </head>
    
    <body>
    <div id="contenitore" >
              <form name="login" method="post" action="anagrafica.php">
            <label>Id Utente
              <input name="id" type="text" id="id" />
            <input name="Invia" type="submit" />
            </label>
              </form>
    
    </div>
    </body>
    </html>
    

    che altro non è che un semplice form dove l'utente inserisce il proprio id che tramite il campo POST viene ricevuto dalla pagina

    anagrafica.php

    <?php require_once('Connections/conn.php'); ?>
    <?php $id = $_POST['id']; ?>
    
    <?php
    if (!function_exists("GetSQLValueString")) {
    function GetSQLValueString($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "") 
    {
      if (PHP_VERSION < 6) {
        $theValue = get_magic_quotes_gpc() ? stripslashes($theValue) : $theValue;
      }
    
      $theValue = function_exists("mysql_real_escape_string") ? mysql_real_escape_string($theValue) : mysql_escape_string($theValue);
    
      switch ($theType) {
        case "text":
          $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
          break;    
        case "long":
        case "int":
          $theValue = ($theValue != "") ? intval($theValue) : "NULL";
          break;
        case "double":
          $theValue = ($theValue != "") ? doubleval($theValue) : "NULL";
          break;
        case "date":
          $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
          break;
        case "defined":
          $theValue = ($theValue != "") ? $theDefinedValue : $theNotDefinedValue;
          break;
      }
      return $theValue;
    }
    }
    
    mysql_select_db($database_conn, $conn);
    $query_ire_db = "SELECT * FROM accounts INNER JOIN accounts_cstm ON accounts.id = accounts_cstm.id_c INNER JOIN accounts_opportunities ON accounts.id = accounts_opportunities.account_id AND accounts_cstm.id_c = accounts_opportunities.account_id INNER JOIN opportunities_cstm ON accounts_opportunities.opportunity_id = opportunities_cstm.id_c WHERE accounts.id ='$id'";
    $ire_db = mysql_query($query_ire_db, $conn) or die(mysql_error());
    $row_ire_db = mysql_fetch_assoc($ire_db);
    $totalRows_ire_db = mysql_num_rows($ire_db);
    ?>
    
    
    
    
    
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" ".w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns=".w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>Anagrafica</title>
    <link rel="stylesheet" type="text/css" href="/script/ire/css/ire.css" />
    </head>
    
    <body>
    <div id="contenitore">
    <div id="header_menu"><a href="anagrafica.php" tabindex="10" title="Anagrafica">Anagrafica</a> | <a href="info_adesione.php" tabindex="20" title="Info Adesione">Info Adesione</a> | <a href="info_quota_associativa.php" tabindex="30" title="Info Quota Associativa">Info Quota Associativa</a> |<a href="info_kit_associati.php" tabindex="40" title="Info Kit Associati"> Info Kit Associati</a> | <a href="documentazione_allegata.php" tabindex="50" title="Documentazione Allegata">Documentazione Allegata</a> | <a href="opportunita.php" tabindex="60" title="Opportunità">Opportunità</a> | <a href="logout.php" tabindex="70" title="Logout">Logout</a></div>
    <div id="header_anagrafica">Anagrafica</div>
    <div id="tabella">
        <table width="420" border="1">
          <tr>
            <td width="183">id</td>
            <td width="221"><?php echo $row_ire_db['id']; ?></td>
          </tr>
        </table>
      </div>
      
    <div id="tabella">
        <table width="420" border="1">
          <tr>
            <td width="183">Ragione Sociale</td>
            <td width="221"><?php echo $row_ire_db['name']; ?></td>
          </tr>
        </table>
      </div>
        <div id="tabella">
        <table width="420" border="1">
          <tr>
            <td width="183">Data Firma Contratto</td>
            <td width="221"><?php echo $row_ire_db['data_firma_c']; ?></td>
          </tr>
        </table>
    </div>
    
      <div id="tabella">
        <table width="420" border="1">
          <tr>
            <td width="183">Stato Adesione</td>
            <td width="221"><?php echo $row_ire_db['stato_adesione_c']; ?></td>
          </tr>
        </table>
      </div>
      
    
         <div id="tabella">
        <table width="420" border="1">
          <tr>
            <td width="183">Indirizzo Sede Legale</td>
            <td width="221"><?php echo $row_ire_db['billing_address_street']; ?></td>
          </tr>
        </table>
      </div> 
           <div id="tabella">
        <table width="420" border="1">
          <tr>
            <td width="183">Indirizzo Comunicazioni</td>
            <td width="221">&quot;da definire&quot;</td>
          </tr>
        </table>
      </div> 
             <div id="tabella">
        <table width="420" border="1">
          <tr>
            <td width="183">Partita IVA</td>
            <td width="221"><?php echo $row_ire_db['piva_c']; ?></td>
          </tr>
        </table>
      </div> 
               <div id="tabella">
        <table width="420" border="1">
          <tr>
            <td width="183">Codice Fiscale</td>
            <td width="221"><?php echo $row_ire_db['codice_fiscale_c']; ?></td>
          </tr>
          
        </table>
      </div> 
      <div id="tabella">
        <table width="420" border="1">
          <tr>
            <td width="183">Telefono Ufficio</td>
            <td width="221"><?php echo $row_ire_db['phone_office']; ?></td>
          </tr>
          
        </table>
      </div> 
    </div>
    </body>
    </html>
    
    <?php
    mysql_free_result($ire_db);
    ?>
    

    tale pagina stampa a video nelle varie celle i valori restituiti dalla query, fin qui tutto ok.

    Adesso il mio problema è quello di fare in modo che venga popolata anche la pagina info_adesione.php che contiene ulteriori dati riguardanti sempre lo stesso id, solo che appena mi sposto tra le pagine perdo i dati, ho provato diversi modi per implementare le sessioni ma ho fallito su tutti i fronti.

    Vi posto il codice della pagina info_adesione.php nella speranza di risolvere il problema con il vostro aiuto.

    <?php require_once('Connections/conn.php'); ?>
    
    
    <?php
    if (!function_exists("GetSQLValueString")) {
    function GetSQLValueString($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "") 
    {
      if (PHP_VERSION < 6) {
        $theValue = get_magic_quotes_gpc() ? stripslashes($theValue) : $theValue;
      }
    
      $theValue = function_exists("mysql_real_escape_string") ? mysql_real_escape_string($theValue) : mysql_escape_string($theValue);
    
      switch ($theType) {
        case "text":
          $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
          break;    
        case "long":
        case "int":
          $theValue = ($theValue != "") ? intval($theValue) : "NULL";
          break;
        case "double":
          $theValue = ($theValue != "") ? doubleval($theValue) : "NULL";
          break;
        case "date":
          $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
          break;
        case "defined":
          $theValue = ($theValue != "") ? $theDefinedValue : $theNotDefinedValue;
          break;
      }
      return $theValue;
    }
    }
    
    mysql_select_db($database_conn, $conn);
    
    $query_ire_db = "SELECT * FROM accounts INNER JOIN accounts_cstm ON accounts.id = accounts_cstm.id_c INNER JOIN accounts_opportunities ON accounts.id = accounts_opportunities.account_id AND accounts_cstm.id_c = accounts_opportunities.account_id INNER JOIN opportunities_cstm ON accounts_opportunities.opportunity_id = opportunities_cstm.id_c WHERE accounts.id ='$id'";
    $ire_db = mysql_query($query_ire_db, $conn) or die(mysql_error());
    $row_ire_db = mysql_fetch_assoc($ire_db);
    $totalRows_ire_db = mysql_num_rows($ire_db);
    ?>
    
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" ".w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns=".w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>Info Adesione</title>
    <link rel="stylesheet" type="text/css" href="/script/ire/css/ire.css" >
    </head>
    
    <body>
    <div id="contenitore">
    <div id="header_menu"><a href="anagrafica.php" tabindex="10" title="Anagrafica">Anagrafica</a> | <a href="info_adesione.php" tabindex="20" title="Info Adesione">Info Adesione</a> | <a href="info_quota_associativa.php" tabindex="30" title="Info Quota Associativa">Info Quota Associativa</a> |<a href="info_kit_associati.php" tabindex="40" title="Info Kit Associati"> Info Kit Associati</a> | <a href="documentazione_allegata.php" tabindex="50" title="Documentazione Allegata">Documentazione Allegata</a> | <a href="opportunita.php" tabindex="60" title="Opportunità">Opportunità</a>| <a href="logout.php" tabindex="70" title="Logout">Logout</a></div>
    <div id="header_anagrafica">Info Adesione</div>
    
    
      <div id="tabella">
        <table width="420" border="1">
          <tr>
            <td width="183">Codice Associato</td>
            <td width="221"><?php echo $row_ire_db['codice_associato_c']; ?></td>
          </tr>
        </table>
      </div>
    
      <div id="tabella">
        <table width="420" border="1">
          <tr>
            <td width="183">Data Firma Contratto</td>
            <td width="221"><?php echo $row_ire_db['data_firma_c']; ?></td>
          </tr>
        </table>
    </div> 
    
      <div id="tabella">
        <table width="420" border="1">
          <tr>
            <td width="183">Data Consegna</td>
            <td width="221"><?php echo $row_ire_db['data_consegna_c']; ?></td>
          </tr>
        </table>
    </div> 
           <div id="tabella">
        <table width="420" border="1">
          <tr>
            <td width="183">Distinta Elettronica</td>
            <td width="221">&nbsp;</td>
          </tr>
        </table>
      </div> 
             <div id="tabella">
        <table width="420" border="1">
          <tr>
            <td width="183">Risparmio Ottenuto</td>
            <td width="221">&nbsp;</td>
          </tr>
        </table>
      </div>
    </div>
    </body>
    </html>
    

    Confido in voi

    P.S

    Mi ero creato, grazie all'aiuto di un amico anche una pagina d'appoggio gestione_login.php ma non sono mai riuscito a implementarla

    <?php
    
    // Effettua il controllo se non è stata passata una variabile id tramite POST
    // Se la condizione è Vera effettua il reindirizzamento alla pagina login
    if(!isset($_POST['id']))
           header('location:login.php');
    
     else {
    session_set_cookie_params('600'); // 10 minutes.
    //session start
    session_start();
    //connessione db
    include("Connections/conn_locale.php");
    $id = $_POST['id'];
    
    mysql_select_db($database_conn, $conn);
    //$query_ire_db = "Select * from accounts WHERE id='$id'";
    
    $query_ire_db = "SELECT * FROM accounts INNER JOIN accounts_cstm ON accounts.id = accounts_cstm.id_c INNER JOIN accounts_opportunities ON accounts.id = accounts_opportunities.account_id AND accounts_cstm.id_c = accounts_opportunities.account_id INNER JOIN opportunities_cstm ON accounts_opportunities.opportunity_id = opportunities_cstm.id_c WHERE accounts.id ='$id'";
    
    
    $ire_db = mysql_query($query_ire_db, $conn) or die(mysql_error());
    $row_ire_db = mysql_fetch_assoc($ire_db);
    $totalRows_ire_db = mysql_num_rows($ire_db);
    
    if($totalRows_ire_db)
    {
    echo "Login effettuato con successo!!";
    $_SESSION['id'] = $row_ire_db['id'];
    header('location:anagrafica.php');
    
    }
    else  header('location:login_failed.php');
     }
    
    
    
     ?>
    
    <?php
    if (!function_exists("GetSQLValueString")) {
    function GetSQLValueString($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "")
    {
      if (PHP_VERSION < 6) {
        $theValue = get_magic_quotes_gpc() ? stripslashes($theValue) : $theValue;
      }
    
      $theValue = function_exists("mysql_real_escape_string") ? mysql_real_escape_string($theValue) : mysql_escape_string($theValue);
    
      switch ($theType) {
        case "text":
          $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
          break;
        case "long":
        case "int":
          $theValue = ($theValue != "") ? intval($theValue) : "NULL";
          break;
        case "double":
          $theValue = ($theValue != "") ? doubleval($theValue) : "NULL";
          break;
        case "date":
          $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
          break;
        case "defined":
          $theValue = ($theValue != "") ? $theDefinedValue : $theNotDefinedValue;
          break;
      }
      return $theValue;
    }
    }
    ?>
    

    Thanks !

  • 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.