Visualizzazione dei risultati da 1 a 4 su 4

Discussione: Dov'è il Parse Error?

  1. #1

    Dov'è il Parse Error?

    pls mi aiutate a trovare qui il Parse error? E' segnalato nella riga 52...


    <?php
    ob_start();
    ?>
    <html>
    <head>
    <title>Time Guardian</title>
    </head>
    <body bgcolor="#E5E5E5">

    <?php

    function WriteToFile ($linkerror) {

    $file = "linkerrors.txt";

    $open = fopen ($file, "a");

    if ($open) {

    fwrite ($open, "$linkerror\n");

    fclose ($open);

    $worked = true;

    } else {

    $worked = false;

    }

    return $worked;

    if ($worked = false) {

    print ("ERRORE DURANTE L\'INVIO, TORNA INDIETRO E RIPROVA");

    } else {

    header ("Location: errors.php?intrusion=false");

    exit;

    }

    ?>

    </body>

    </html>






    Pls Help! mi dite anche come risolverlo quando lo trovate pls?

    tnx,

    ciao!

  2. #2
    prova a mettere un'altra parentesi graffa alla fine!

    header ("Location: errors.php?intrusion=false");

    exit; }

    }

    ?>
    http://codecanyon.net/category/all?ref=Manuelandro
    And I bet she told a million people that she'd stay in touch, Well all the little promises they dont mean much,When theres
    memories to be made

  3. #3
    Moderatore di Server Apache L'avatar di marketto
    Registrato dal
    Sep 2001
    Messaggi
    5,858

    Re: Dov'è il Parse Error?

    Originariamente inviato da Timeguardian
    pls mi aiutate a trovare qui il Parse error? E' segnalato nella riga 52...
    non chiusi la graffa della funzione dopo return $worked;
    think simple think ringo

  4. #4
    ma la riga 52 qual'è qui sopra?
    http://codecanyon.net/category/all?ref=Manuelandro
    And I bet she told a million people that she'd stay in touch, Well all the little promises they dont mean much,When theres
    memories to be made

Permessi di invio

  • Non puoi inserire discussioni
  • Non puoi inserire repliche
  • Non puoi inserire allegati
  • Non puoi modificare i tuoi messaggi
  •  
Powered by vBulletin® Version 4.2.1
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved.