Results 1 to 3 of 3

Thread: [RESOLVED] textarea script with url ==> url.com/script.php?area=lol -- appears lol in area

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Aug 2008
    Posts
    27

    Resolved [RESOLVED] textarea script with url ==> url.com/script.php?area=lol -- appears lol in area

    i need a script that does that if you type in the url url.com/script.php?area=lol that the area named area shows lol
    and if there's a submit button it submits it just by going to that url..
    any idea?
    because if i know this, i will make an easy php login script, so that in VB6 ( afterwards ) i make 2 textareas, user/pass and when they click login a hidden browser will navigate to this url: url.com/script.php?user=" & text1.text & "&pass=" & text2.text
    it's just the first part i need ( with the ?user=lol )
    i just told all what i'm going to do with it, because maybe there's another way for this..
    thanks ^^
    - Shadows. lol

  2. #2
    PowerPoster kfcSmitty's Avatar
    Join Date
    May 2005
    Posts
    2,248

    Re: textarea script with url ==> url.com/script.php?area=lol -- appears lol in area

    You can look at this thread:

    http://www.vbforums.com/showthread.php?t=383828

    But I would suggest taking CornedBee's advice.

  3. #3

    Thread Starter
    Junior Member
    Join Date
    Aug 2008
    Posts
    27

    Re: textarea script with url ==> url.com/script.php?area=lol -- appears lol in area

    ok kool i have an idea that is safe ( i think ):
    PHP Code:
    <?php
    //put $_getty in var
    if($_GET['serial'] == "serial1" || $_GET['serial'] == "serial2")
    {
    //redirect to somewhere ( i know how to do it no prob )
    echo "okay";
    echo 
    "key used:" $_GET['serial'];;
    }
    else
    {
    echo 
    " wrong key! ";
    echo 
    "key used was: " $_GET['serial'];;
    }
    ?>
    and it works
    http://vba.lescigales.org/serial.php?serial=serial2
    thanks a lot

    Well from now you won't be able to test it via above url because i disabled serial 2 from the serials list ^^
    Last edited by shadows123; Aug 29th, 2008 at 05:16 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width