Results 1 to 2 of 2

Thread: Apache variables

  1. #1
    Junior Member
    Join Date
    Dec 2002
    Posts
    3

    Apache variables

    Hello. I have an apache server on my linux system (Redhat) that I'm trying to use as a personal wev serve rto try out PHP scripts, but between a html form and the .php file that processes the data, the variables are lost somewhere and they do not show up. This apache server is the same one that is installed onto Redhat when I first installed Red Hat. Thanks.

  2. #2
    Junior Member
    Join Date
    Mar 2003
    Posts
    17
    ok, ehum.. your post kind of confusded me, so im going to take a wild guess and at least give you a rough answer, if im wrong dont shout at me

    sounds to me like, your PHP varabiles arent showing up,
    and im guessing thats because your assuming, Globals are turned on, so say if
    you've got an input thats
    <input type=text name=name value=wispy>
    if you submited that $name should contatin wispy but it wont, if the vars are turned off.. this isnt really a bad thing

    now if your using POST as your Method the varaible with the data would be
    $_POST['name']

    if you where using GET as your method the varaible with the data would be
    $_GET['name']

    so try that to see if its solved your problem

    Thanks
    Wispy

Posting Permissions

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