H E L P With A Web

Discussion in 'Gaming' started by Shyshak, Jun 11, 2006.

  1. Shyshak

    Shyshak Well-Known Member

    Posts:
    187
    Likes Received:
    0
    Joined:
    Feb 23, 2006
    Hi, firstly as i am from argentina, my english isn't very good, hope u could understand me...

    The thing is that a friend of mine is making a Web page (we have a design forum but now we want the web)... it's almost done, but the problem is when the users want to log in... it causes trouble :(

    any help will be useful, thanks in advance ^_^
     
  2. longhornfreak

    longhornfreak Well-Known Member

    Posts:
    1,029
    Likes Received:
    0
    Joined:
    Mar 1, 2006
    try a script, i dont know what "trouble" is maybe more detail
     
  3. johndapunk FTW

    johndapunk FTW Senior Member

    Age:
    34
    Posts:
    2,513
    Likes Received:
    0
    Joined:
    Jan 19, 2006
    Location:
    Palm Beach
    what language are you using? im assuming php.
    ask me on msn or AIM (its in my profile)


    ps-- your english is fine.
     
  4. .Nector Vectors.

    .Nector Vectors. Well-Known Member

    Age:
    41
    Posts:
    766
    Likes Received:
    0
    Joined:
    May 9, 2004
    Location:
    Canada
    ypou should expland on your problem
     
  5. Shyshak

    Shyshak Well-Known Member

    Posts:
    187
    Likes Received:
    0
    Joined:
    Feb 23, 2006
    ok, i understand almost nothing (really nothing) about this, but this is the thing...

    What he wants to make:


    when the users log in into the web, that they appear automatically loged in, in the forum also... but staying in the web... so the user could check out some tutorials and resources and after all, check the forum, and he is already inside it also... so that the log in works as for the forum as for the web...

    he could made it someway, but the thing is that it redirects to the forum automatically without stayin in the web page...

    this is what he used:

    Code:
    <script>
    <!--
    function ValidateForm() {
        var Check = 0;
        if (document.LOGIN.UserName.value == '') { Check = 1; }
        if (document.LOGIN.PassWord.value == '') { Check = 1; }
    
        if (Check == 1) {
      alert('Por favor, ingresa tu usuario y contraseña antes de continuar.');
      return false;
        } else {
      document.LOGIN.submit.disabled = true;
      return true;
        }
    }
    //-->
    </script>
    
    <form action="http://www.designerworldgfx.com/foro/index.php?return=http://www.designerworldgfx.com/foro/" method="post" name='LOGIN' onSubmit='ValidateForm()'>
    <input type='hidden' name='act' value='Login' />
    <input type='hidden' name='CODE' value='01' />
    <input type='hidden' name='referer' value='' />
    <input type='hidden' name='CookieDate' value='1' />
        
        <div style="padding-top:5px;padding-right:25px " align="right">
        Nick: <input type="text" name="UserName" style="width:80px; height:18px; font-family:Tahoma; font-size:11px ">
        <div style="padding-top:3px ">
        Password: <input type="password" name="PassWord" style="width:80px; height:18px; font-family:Tahoma; font-size:11px ">
        </div>
        <div style="padding-top:3px ">
         <center> <input value="login" type="submit"></center>
        </div>
        </div>
        <div style="padding-top:5px;padding-left:15px ">
        [url="http://www.designerworldgfx.com/foro/index.php?act=Reg&CODE=10"]Olvidaste tu PassWord?[/url]
    
        [url="http://www.designerworldgfx.com/foro/index.php?act=Reg&CODE=00"]Registrate Ahora![/url] </div>
        </TD>
                  </TR>
                  <TR>
                    <TD> [img]images/4.jpg[/img]</TD>
                  </TR>
                  <TR></TR></form>
     

Share This Page