Problem mit php scrip

  • hi,


    ich hab ein formular das daten an ein php script schickt (also method="post"), aber anstatt eine Antwort des php programmes zu erhalten zeigt er mir nur eine leere seite an. (Inet Explorer v.6)
    Hat einer ne AHnung woran das liegen könnte? Vielleichte irgendwelche Sicherheitsupdate von Microsoft ? rolleyes:
    (das Problem is nich das Script an sich, das ist fehlerfrei)

    [Laptop] Thinkpad X300 | Ubuntu 11.04 Natty
    [Server] VMware ESXi 5.0 | Supermicro X8SIL-F | Intel Xeon X3440 | 16GB Mushkin Proline PC3-10667E ECC | 2x3TB Seagate Constellation ES.2 SAS @ zfs_mirror | LSI SAS 9211-4i

  • sorry, is was schief gelaufen , bei action hab ich den namen der php datei angegeben , also


    form action = "name des php scriptes " method = "post"

    [Laptop] Thinkpad X300 | Ubuntu 11.04 Natty
    [Server] VMware ESXi 5.0 | Supermicro X8SIL-F | Intel Xeon X3440 | 16GB Mushkin Proline PC3-10667E ECC | 2x3TB Seagate Constellation ES.2 SAS @ zfs_mirror | LSI SAS 9211-4i

  • Zitat


    und was macht das php-script? - einfach die variable ausgeben?


    ja, das script soll einfach die variable ausgeben.


    Zitat


    haste mit register_globals gearbeitet?


    hab ich nicht

    [Laptop] Thinkpad X300 | Ubuntu 11.04 Natty
    [Server] VMware ESXi 5.0 | Supermicro X8SIL-F | Intel Xeon X3440 | 16GB Mushkin Proline PC3-10667E ECC | 2x3TB Seagate Constellation ES.2 SAS @ zfs_mirror | LSI SAS 9211-4i

    • Offizieller Beitrag

    probier einfach mal das:


    $variable = $_GET[variable];


    bzw.


    $variable = $_POST[variable];


    je nachdem, ob du im formular mit get oder post arbeitest.
    damit sollt das ganze funktionieren.

  • ...meinst du das ?


    ?php echo("".$_POST["variable"];.""); ?

    [Laptop] Thinkpad X300 | Ubuntu 11.04 Natty
    [Server] VMware ESXi 5.0 | Supermicro X8SIL-F | Intel Xeon X3440 | 16GB Mushkin Proline PC3-10667E ECC | 2x3TB Seagate Constellation ES.2 SAS @ zfs_mirror | LSI SAS 9211-4i