Fehlermeldung wegen )

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • katnjef

    Fehlermeldung wegen )

    Hi,

    habe ein php-Script geschrieben und auf dem Webserver kopiert.
    Dort funktioniert es fehlerfrei. Das gleiche Script auf einem
    anderen Webserver bringt eine Fehlermeldung in Zeile 1
    und stellt im Browser zusätzlich zweimal eine runde Klammer ) dar.
    Eine am Anfang:

    </head>
    <body TOPMARGIN="0" LEFTMARGIN="0" MARGINWIDTH="0" MARGINHEIGHT="0 ">
    )

    <form name="form1" method="post" action="index.p hp">

    und eine am Ende des Quelltextes im Browser:

    </td>
    </tr>
    </table>
    </body>
    </html>)

    Ich finde leider nicht die Ursache heraus. Weiß jemand Rat ?

    Hier noch ein Stück Original-Script:
    Anfang:

    </head>
    <body TOPMARGIN="0" LEFTMARGIN="0" MARGINWIDTH="0" MARGINHEIGHT="0 ">
    <?php
    require("includ e.php");
    if (!$send){ ?>
    <form name="form1" method="post" action="index.p hp">

    Ende des Scriptes:

    ?>
    </td>
    </tr>
    </table>
    </body>
    </html>

    Danke im vorraus

    ciao
  • Jochen Daum

    #2
    Re: Fehlermeldung wegen )

    Hi !

    On 12 Nov 2003 03:40:22 -0800, katnjef@web.de (katnjef) wrote:
    [color=blue]
    >Hi,
    >[/color]

    You have better chances gettingan answer, if you use english...
    [color=blue]
    > habe ein php-Script geschrieben und auf dem Webserver kopiert.
    > Dort funktioniert es fehlerfrei. Das gleiche Script auf einem
    > anderen Webserver bringt eine Fehlermeldung in Zeile 1
    > und stellt im Browser zusätzlich zweimal eine runde Klammer ) dar.
    > Eine am Anfang:
    >
    > </head>
    > <body TOPMARGIN="0" LEFTMARGIN="0" MARGINWIDTH="0" MARGINHEIGHT="0 ">
    > )
    >
    > <form name="form1" method="post" action="index.p hp">
    >
    > und eine am Ende des Quelltextes im Browser:
    >
    > </td>
    > </tr>
    > </table>
    > </body>
    > </html>)
    >
    > Ich finde leider nicht die Ursache heraus. Weiß jemand Rat ?
    >
    > Hier noch ein Stück Original-Script:
    > Anfang:
    >
    > </head>
    > <body TOPMARGIN="0" LEFTMARGIN="0" MARGINWIDTH="0" MARGINHEIGHT="0 ">
    > <?php
    > require("includ e.php");
    > if (!$send){ ?>
    > <form name="form1" method="post" action="index.p hp">
    >
    > Ende des Scriptes:
    >
    > ?>
    > </td>
    > </tr>
    > </table>
    > </body>
    > </html>
    >[/color]

    Open it on your ftp site with an editor that supports that (ie
    UltraEdit) and search for the "(" character.

    HTH, Jochen
    --
    Jochen Daum - CANS Ltd.
    PHP DB Edit Toolkit -- PHP scripts for building
    database editing interfaces.
    Download PHP DB Edit Toolkit for free. PHP DB Edit Toolkit is a set of PHP classes makes the generation of database edit interfaces easier and faster. The main class builds tabular and form views based on a data dictionary and takes over handling of insert/update/delete and user input.

    Comment

    • MeyerK

      #3
      Re: Fehlermeldung wegen )

      > <?php[color=blue]
      > require("includ e.php");
      > if (!$send){ ?>
      > <form name="form1" method="post" action="index.p hp">[/color]

      Fängst Du denn Dein PHP Skript wieder an ?
      Weil als nächstes jetzt gleich wieder Skriptende kommt...
      Vielleicht nach if erstmal mit echo den Code ausgeben...
      so häufige Wechsel zwischen HTML und PHP würden mich
      verrückt machen :-)

      [color=blue]
      > Ende des Scriptes:
      >
      > ?>
      > </td>
      > </tr>
      > </table>
      > </body>
      > </html>
      >
      > Danke im vorraus
      >
      > ciao[/color]


      Nur 'ne Idee, bin auch kein Profi.
      Bye,
      Konstantin

      Comment

      • muhadib

        #4
        Re: Fehlermeldung wegen )

        Englisch newsgroup -> englische Sprache!

        This code you submitted tells us too less!
        My guess is that you just messed up some echos!
        The error-message would help and the code from </html> to end of file!

        cy
        Muhadib


        katnjef wrote:
        [color=blue]
        > Hi,
        >
        > habe ein php-Script geschrieben und auf dem Webserver kopiert.
        > Dort funktioniert es fehlerfrei. Das gleiche Script auf einem
        > anderen Webserver bringt eine Fehlermeldung in Zeile 1
        > und stellt im Browser zusätzlich zweimal eine runde Klammer ) dar.
        > Eine am Anfang:
        >
        > </head>
        > <body TOPMARGIN="0" LEFTMARGIN="0" MARGINWIDTH="0" MARGINHEIGHT="0 ">
        > )
        >
        > <form name="form1" method="post" action="index.p hp">
        >
        > und eine am Ende des Quelltextes im Browser:
        >
        > </td>
        > </tr>
        > </table>
        > </body>
        > </html>)
        >
        > Ich finde leider nicht die Ursache heraus. Weiß jemand Rat ?
        >
        > Hier noch ein Stück Original-Script:
        > Anfang:
        >
        > </head>
        > <body TOPMARGIN="0" LEFTMARGIN="0" MARGINWIDTH="0" MARGINHEIGHT="0 ">
        > <?php
        > require("includ e.php");
        > if (!$send){ ?>
        > <form name="form1" method="post" action="index.p hp">
        >
        > Ende des Scriptes:
        >
        > ?>
        > </td>
        > </tr>
        > </table>
        > </body>
        > </html>
        >
        > Danke im vorraus
        >
        > ciao[/color]

        Comment

        Working...