Jump to content

hawkeye0203

New Members
  • Posts

    6
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

hawkeye0203's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. apache isn't recognizing .php as a valid page and doesn't know what to do with it. stop and restart apache if that doesn't work, in your Apache config file, scroll to the very bottom and there should be a line in there that was placed by the php installation.  If that isn't there, reinstall php.
  2. did you download the php windows installer?  That would be the easiest and during the installation it asks if what web server you would like to configure for php.  Make sure Apache is running before you do this, however.  Then when that is all done, you'll need to go into Apache's config file and configure that how you want it.  At the bottom if the apache config file it should have a line that was placed in there by the php installation. I apologize if this doesn't help.  This is how it all went down for me.
  3. I don't have the code with me, I apologize.  I just bought a house and I'm still trying to work out my IC so I'm at work right now. I can positively tell you I've tried: echo $_SERVER['REQUEST_URI']; and it doesn't display anything.  It's almost as if it isn't even there. I have also tried all tags: <?, <?php, <?=, etc.  I've tried it all. I know I'm being a pain in the rear and I apreciate the help.
  4. I don't get anything. I have a small script that take the URI, explodes it twice to get the "/" and ".php" off to leave just the page name, ie "signup" (orgininally "/signup.php").  It will then assign the page name to a variable, "$page".  So I do this: [color=red]echo "Page is " . $page . "!";[/color] just to see if it works on my machine at home and it displays: [color=red]Page is ![/color] But when I upload it to my webserver, it displays it correctly: [color=red]Page is signup![/color] So that leads me to believe something isn't working right on my machine at home. Any suggestions?
  5. Hello everyone!  I'm new here so I apologize if this was posted elsewhere (I looked for it, but didn't find anything) I just installed Apache 2.2.3 on a Windows XP MCE05 PC then installed PHP 5.2.0.  After a few config changes, all is running well, except one thing (so far). I try to use SERVER variables and they don't work ie. $_SERVER['REQUEST_URI'] That is the one I tried to use and it is not working at all. Is there something in the config file that I need to enable or add? Thanks in advance!
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.