Jump to content

pacman99

New Members
  • Posts

    5
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

pacman99's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Hi, Whenever I try listing a directory, it's quite slow. Takes about 5-10 seconds to load, especially if that directory contains more than 2 directories. I AM using an htaccess file so perhaps that's slowing it down? Some of the directories on my server have their own htaccess files. The content of my htaccess files is as follows: [code] Options +SymLinksIfOwnerMatch AuthName "The Server" AuthUserFile /var/blah/.somefile AuthGroupFile /var/blah/.somegroupfile AuthType Basic require group somegroup [/code] I only have maybe 5-6 user accounts. Some other miscellaneous settings in my httpd.conf that might be useful my httpd.conf and vhosts.d/00_default_vhost.conf can be found at http://www.admochempack.com/linux/  in case i missed posting something important. Any ideas? Thanks!
  2. Hey, I'm new to installing php. I had it running fine under linux (FC5) as it was pretty straightforward but on Windows 2003 Server I'm having some problems. I installed php4 isapi on my IIS 6.0 server. I gave cmd.exe internet guest account priviledges. And the internet guest account has read/execute permissions for the server as well. IIS is told to run "scripts and executables" but when I try to run ANY php script, I get no output. I either get errors like: [code]Notice: Undefined index: PHP_AUTH_USER in Z:\web\www\bismillah\UT\scripts\frontend\index.php on line 61[/code] or I get no output at all. These scripts worked fine under FC5, php4. What am I doing wrong? Thanks~
  3. [!--quoteo(post=370002:date=Apr 29 2006, 09:26 PM:name=michaellunsford)--][div class=\'quotetop\']QUOTE(michaellunsford @ Apr 29 2006, 09:26 PM) [snapback]370002[/snapback][/div][div class=\'quotemain\'][!--quotec--] sounds like your web host has PHP turned off on your account. That, or your file is named with the ".html" extension instead of ".php" [/quote] nevermind, hooker's code works fine. Thanks a lot. Just a minor stupid error on my part (I named the file with an .html extension rather than php...yep that was stupid)
  4. ^the textbox ends up saying [code]<?php[/code] when I put that. [code]<input type="text" class="post" name="username" value=<?php echo $_SERVER['PHP_AUTH_USER']; ?>[/code] This is what i'm putting.
  5. Hi, I'm not sure this is possible and I'm no expert php programmer so hopefully this question isn't too stupid. Basically what I want to do is use a php variable within a form. [code]<form> <input type="hidden" name="blah" value=(PHPVARIABLEHERE) > </form>[/code] the PHP variable i'm trying to use is PHP_AUTH_USER and PHP_AUTH_PW but not sure how to go about doing it? If I use [code] value=<?php $_SERVER['PHP_AUTH_USER'] ?> [/code] it doesn't work. Any ideas? Basically i'm trying to get the username and password data from the server (used to access the page using .htaccess) and implementing it so it automatically logs someone into the phpBB2 forum I have. Thanks~
×
×
  • 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.