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
U

usaikarts

@usaikarts
Non seguire Segui
Informazioni
Post
7
Discussioni
1
Condivisioni
0
Gruppi
0
Da chi è seguito
0
Chi segue
0

Post

Recenti Migliore Controverso

  • Mancato riconoscimento di variabili identiche
    U usaikarts
    Coding

    Ho risolto. Grazie a tutti. Era come diceva Thedarkita.... un cavolo di stupido errore \r nella compilazione del fwrite.... che scemo... che scemo.... che SCEMO!!!!!!!!!!!!!! Scusate tutti per il tempo perso e ancora grazie!!!!!


  • Mancato riconoscimento di variabili identiche
    U usaikarts
    Coding

    Mi chiedi scusa?????? Ma che scherzi sono io che ti ringrazio ancora per l'interessamento... sono stato un pò brusco forse nel postare queste info senza un mio testo, ma andavo di fretta....!!! Davvero!!!!!!

    Comunque avevo già testato anche questo tipo di variante!! (Purtroppo non ne esco fuori!!!!!!!!!!!!)


  • Mancato riconoscimento di variabili identiche
    U usaikarts
    Coding

    A list of possible modes for fopen() using mode

    'r' Open for reading only; place the file pointer at the beginning of the file.

    'r+' Open for reading and writing; place the file pointer at the beginning of the file.

    'w' Open for writing only; place the file pointer at the beginning of the file and truncate the file to zero length. If the file does not exist, attempt to create it.

    'w+' Open for reading and writing; place the file pointer at the beginning of the file and truncate the file to zero length. If the file does not exist, attempt to create it. 'a' Open for writing only; place the file pointer at the end of the file. If the file does not exist, attempt to create it.

    'a+' Open for reading and writing; place the file pointer at the end of the file. If the file does not exist, attempt to create it.

    'x' Create and open for writing only; place the file pointer at the beginning of the file. If the file already exists, the fopen() call will fail by returning FALSE and generating an error of level E_WARNING. If the file does not exist, attempt to create it. This is equivalent to specifying O_EXCL|O_CREAT flags for the underlying open(2) system call.

    'x+' Create and open for reading and writing; place the file pointer at the beginning of the file. If the file already exists, the fopen() call will fail by returning FALSE and generating an error of level E_WARNING. If the file does not exist, attempt to create it. This is equivalent to specifying O_EXCL|O_CREAT flags for the underlying open(2) system call.


  • Mancato riconoscimento di variabili identiche
    U usaikarts
    Coding

    Grazie per l'interessamento. Il file lo scrivo in questo modo:

    $var=@fopen("artisti"."/".$vardirectory."/"."pass.txt","x+");//apro il file .txt (modalità lettura/scrittura)
    @fwrite($var,$password."\r");//scrivo la variabile del form nel file .txt
    @fclose($var);//chiudo il file .txt
    

    Ancora non ne sono venuto fuori... comunque il file ovviamente me lo scrive... e da verifica con comando echo sembra tutto ok... però poi non passa... sigh sigh sigh!!!!!


  • Mancato riconoscimento di variabili identiche
    U usaikarts
    Coding

    Il mio problema non è tanto nel recupero del dato inviato da form. Ma il controllo di cosa è registrato sul file txt ($contenutopass) rispetto a ciò che viene ripreso da $_Post. Comunque da quanto ho capito non è proprio così scontanta come cosa...


  • Mancato riconoscimento di variabili identiche
    U usaikarts
    Coding

    Come no, certamente ho controllato. 😮


  • Mancato riconoscimento di variabili identiche
    U usaikarts
    Coding

    Ciaooo a tutti!!!

    Cerco di spiegarmi al meglio ma ho timore di non riuscire...

    Da un semplice form registro su txt una ipotetica password. Tutto ok.
    In un altro form richiedo l'inserimento della password per accedere ad una pagina. Lo script è il seguente.

    // INIZIO CODICE APERTURA E LETTURA FILE CON PASS Provaaaaaaaaaaaaaa
    $filepassword = "pass.txt";
    $handle = fopen($filepassword, "r");
    $contenutopass = fread($handle, filesize($filepassword));
    echo "$contenutopass";
    fclose($handle);
    // FINE CODICE APERTURA E LETTURA FILE CON PASS
    // INIZIO CODICE VERIFICA PASSWORD
    $password=$_POST['password'];//recupero la variabile globale var1 di tipo POST
    $password = str_replace(" ", "", $password);
    $password = trim($password);
    $password = stripslashes($password);
    if ($password=="$contenutopass"){ // PUNTO DI VERIFICA 
    echo ""; // PASSWORD RICONOSCIUTA CORRETTAMENTE
    } else {
    echo "Password Errata $password";
    include("finale_panart_error.php"); // CARICAMENTO PARTE FINALE DELLA PAGINA
    exit();
    }
    // FINE CODICE VERIFICA PASSWORD
    

    La cosa assurda è che da verifica stampate a video con "echo" la variabile $contenutopass, che contiene i dati del file pass.txt, risulta corrispondere a $password, che è appunto quella inserita nel secondo form per cui richiedo la verifica.

    Mi potreste aiutare???? sto veramente impazzendo!!!!!!

    😢⭕x:():

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