php script question from non php geek

Discussion in 'Programming/Scripts' started by Hoki, Oct 13, 2006.

  1. Hoki

    Hoki New Member

    Hej

    the reason i have set this up i have a small company and give web space to small companies or private person here where i live
    one of the have probelm with my Server 200 IIS and php.
    I set this up and tried the script and it still does the problem here the test page

    the password is abc123 should give a page saying geheim seite

    www2.svig.ch/index.php (not working)

    svaerdh.sv.funpic.de/index.php (working)

    if u need the phpinfo there is a test.php on each site for that



    would be helpful if somebody could tell me what the diffs are.
    i have seen one , two diff php versions.

    best regards
     
  2. falko

    falko Super Moderator Howtoforge Staff

  3. sjau

    sjau Local Meanie Moderator

    Well, I'd advice do deactivate globals if possible.

    Depending on how you submit the form (get or post) you can access the form vars this way:

    $_GET["name"]
    or
    $_POST["name"]

    where "name" is the name of the input element.
     

Share This Page