Visualizzazione dei risultati da 1 a 6 su 6
  1. #1

    pagina web con order form php, aiuto!!!

    ciao, mi sono appena iscritta al forum sperando che qualcuno abbia voglia di dare un'occhiata alla pagina web che sto cercando di creare, dal layout fluido, contenente un order form con relativo php, che non funziona bene. cerco qualcuno che sappia correggermelo o spiegarmi in maniera molto elementare cosa dovrei modificare e come.
    il sito non è online, manderei la cartella di file completa, zippata...

  2. #2
    posta il codice
    Tremal-Naik
    ******************************
    passa a LINUX
    **********
    la religione e' il freno che impedisce al povero di ammazzare il ricco

  3. #3

    grazie

    ciao, la prima cosa che noto è che non ci sono i messaggi di errore...
    tra l'altro nel form, i nomi dei campi sono dentro i campi stessi e forse questo può
    far sì che il sistema non rilevi eventuali caselle non compilate... possibile???


    questo è il php "osinka.php":
    <HTML>
    <HEAD>
    <TITLE>Ordine Inviato</TITLE>
    </HEAD>
    <BODY>
    <H2><FONT style="FONT-SIZE:10pt" color="#000000" face="Arial">Gratzias! S'ordine tou est bistàdu imbiàdu in manera curretta,

    as a retzìre a presse sa cunfirma.</FONT></H2>


    <?PHP
    $email = $HTTP_POST_VARS[email];
    $mailto = "murone1972@tiscali.it";
    $mailsubj = "Ordine dal sito Osinka Editziones";
    $mailhead = "From: $email\n";
    reset ($HTTP_POST_VARS);
    $mailbody = "Values submitted from web site form:\n";
    while (list ($key, $val) = each ($HTTP_POST_VARS))
    {
    $mailbody .= "$key : $val\n";
    }
    mail($mailto, $mailsubj, $mailbody, $mailhead);
    ?>
    </BODY>
    </HTML>



    e questo è l'html

    <!DOCTYPE html
    PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
    <head>
    <title>Osinka Editziones</title>
    <meta http-equiv="Content-Type" content="application/xhtml+xml; charset=iso-8859-1" />
    <meta http-equiv="imagetoolbar" content="no" />
    <link rel="shortcut icon" href="/favicon.ico" />
    <style type="text/css">
    /*
    CSS-file for Strictly CSS three column layout 2006
    http://www.strictlycss.com
    Developed by Eivind Savio
    */
    * /*Set's border, padding and margin to 0 for all values*/
    {
    padding: 0;
    margin: 0;
    border: 0;
    }
    body, html {
    color: #fff;
    font-family: Verdana, Arial, Tahoma, sans-serif;
    background-color: #000;
    }
    body {
    font-size: 75%;
    min-width: 760px;
    }
    p {padding: 7px 0 7px 0;}

    a {
    color: #fff;
    }
    a:hover{
    color: #0000FF;
    text-decoration: none;
    }

    h1, h2, h3 {
    font-weight: bold;
    padding-bottom: 5px;
    }
    h1 {
    font-size: 2em;
    }
    h2 {
    font-size: 1.4em;
    }
    h3 {
    font-size: 1.3em;
    }
    h1 a, #header h2{
    color: #fff;
    }
    .clear { clear: both; }
    #mainContainer {
    min-height:300px;
    background: #000;
    }
    * html #mainContainer {
    height: 300px; /*** IE doesn't support min-height, but instead it handles height as min-height so we need to hack the height ***/
    }
    /**************************
    HEADER
    **************************/
    #header {
    background: #000;
    padding: 0px
    }
    /**************************
    CONTENT AND COLUMNS
    **************************/
    .outer {
    border-left: 290px solid #069; /*** This is the width and the color for our left column ***/
    border-right: 0px solid #000; /*** This is the width and the color for our right column ***/
    }
    * html .outer {
    /*** No need for hacking IE on this layout ***/
    }
    .inner {
    width: 100%;
    }
    * html .inner {
    /*** No need for hacking IE on this layout ***/
    }
    /*** div.inner is wider than its container, div.outer, and so overlaps to the right, pushing
    div.right into the proper position. IE expands div.outer instead, requiring a Tan hack to avoid
    blowing the layout apart. IE gets the original 100% width as in the Livingstone layout. It blows
    my mind that all this hacking is being caused by the mighty Gecko engine! (shakes head ruefully)
    ***/
    .float-wrap {
    float: left;
    width: 100%;
    margin-left: -165px; /*** Same length as .outer border-left but with negative value ***/
    }
    * html .float-wrap {
    /*** No need for hacking IE on this layout ***/
    }
    #content {
    float: right;
    background: #000;
    margin-right: -165px; /*** Same length as .outer border-left but with negative value ***/
    width: 100%;
    }
    * html #content {
    position: relative;
    }
    .contentWrap{
    padding: 5px;
    }
    .contentWrap ol, .contentWrap ul {
    margin: 3px 0 5px 35px;
    }
    .contentWrap li {
    padding-bottom: 2px;
    }
    /**************************
    LEFT COLUMN
    **************************/
    /*** div.left is in div.float-wrap, and when div.float-wrap is neg margined to the left,
    div.left is carried over into the proper position.
    ***/
    #left {
    float: left;
    width: 150px;
    min-height: 100px;
    padding: 0px;
    }
    * html #left {
    position: relative; /*** IE needs this ***/
    height: 280px;
    }
    #left ul {
    list-style: none;
    padding-bottom: 4px;
    }
    #left li {
    padding-bottom: 2px;
    }
    /*************************
    RIGHT COLUMN
    **************************/
    #right {
    float: right;
    width: 0px;
    padding: 5px;
    min-height: 0px;
    margin-right: -130px; /** This negative margin-right value is the width of the right column + the padding, in this example 130px. ***/
    }
    * html #right {
    height: 250px;
    position: relative; /*** IE needs this ***/
    }
    #right ul {
    list-style: none;
    padding-bottom: 4px;
    }
    #right li {
    padding-bottom: 2px;
    }
    /**************************
    FOOTER
    **************************/
    #footer {
    text-align: center;
    background-color: black;
    }
    </style>
    </head>
    <body>
    <div id="mainContainer">
    <div id="header">
    <h1></h1>
    <h2></h2>
    </div>
    <div class="outer">
    <div class="inner">
    <div class="float-wrap">
    <div id="content">
    <div class="contentWrap">
    <h2></h2>
    <div align="right">[img]scritta.jpg[/img]</div>

    </div>
    </div>

    <div id="left">
    <div style="text-align:center">
    <h3></h3>
    <ul>

    [img]libro.jpg[/img]</p>

    Mauru Olivieri</br>


    Su Pitzinnu e su 'Entu</p>



    72 paginas + CD audio</p>


    Presentàda de Lisandru Cossu</br>


    Litratos de Seiichi Enomoto</p>



    Casteddu, 2005</p></CENTER></DIV>
    </DIV>
    <DIV style="position:absolute;left:2px;top:500px;width: 300px;height:209px;z-index:11" align="left">
    <FORM name="osinka.php" method="POST" action="osinka.php" enctype="multipart/form-data">
    <INPUT type="submit" name="invia" value="Ordina" style="position:absolute;left:12px;top:143px;z-index:0">
    <INPUT type="reset" name="Torra" value="Torra" style="position:absolute;left:99px;top:143px;z-index:1">

    <INPUT type="text" style="position:absolute;left:13px;top:57px;width: 174px;font-family:Arial;z-index:2" size="29" name="inderitziu de domo" value="inderitziu de domo">
    <INPUT type="text" style="position:absolute;left:203px;top:56px;width :78px;font-family:Arial;z-index:3" size="13" name="copie" value="n. còpias">
    [img]buist.jpg[/img]
    <TEXTAREA name="cumèntos" style="position:absolute;left:13px;top:98px;width: 268px;height:28px;font-family:Arial;z-index:5" rows=0 cols=40>cumèntos</TEXTAREA>
    <INPUT type="text" style="position:absolute;left:14px;top:16px;width: 162px;font-family:Arial;z-index:6" size="27" name="nòmene e sambinàdu" value="nòmene e sambinàdu">
    <INPUT type="text" style="position:absolute;left:191px;top:16px;width :90px;font-family:Arial;z-index:7" size="15" name="email" value="email">

    </FORM>

    [/list]
    </div>

    <div class="clear"></div>
    </div>

    <div id="right">
    <h3></h3>
    <ul>
    [/list]
    </div>

    <div class="clear"></div>
    </div> </div> </div>

    <div id="footer">

    [img]marchio.jpg[/img]</p>
    </div>


    </body>
    </html>

  4. #4
    $key e $val da dove arrivano?
    Tremal-Naik
    ******************************
    passa a LINUX
    **********
    la religione e' il freno che impedisce al povero di ammazzare il ricco

  5. #5

    ah?

    ahahhah
    comincio già a non capire, tieni conto che è da ieri che provo a fare questa cosa, seguendo istruzioni trovate qua e là sulla rete, ma essendo digiuna di qualsiasi vera competenza...

  6. #6

    provvisaoriamente

    ho appena pubblicato il sito qui, non so se può servire... http://lallett.altervista.org/osinka.html

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.