> i am using the php " md5( ) " function to encrypt
> the password. so, when i want to access to the new
> user "index.php" the password pop-up window appears
> and i type in the username and password, but i can´t
> access the user file.
Hi, I also wrote a script creating .htaccess-files
and I t
[EMAIL PROTECTED]]
> Sent: Monday, June 03, 2002 3:22 PM
> To: 'Scott Hurring'
> Subject: RE: [PHP-WIN] htaccess and PHP in general
>
>
> Scott, you mentioned you are working on a system like this.
> What is the
> advantage of using .htaccess/.htpasswd? I mena if t
Handle everything thru PHP/Mysql, but write a little function
that will read thru the Mysql database and write the .htaccess
files to disk as needed.
Of course, you'll have to set proper permissions on the files.
That's what i'm doing now for a project i'm working on...
all user data is in the
On Mon, 11 Feb 2002 14:06:27 +0100
"Martin.Andrew" <[EMAIL PROTECTED]> wrote:
> Does anyone know how to encrypt a password for use in htaccess?
>
> I creating a secure environment using PHP, I create the directory structure
> and htaccess files dynamically based on php forms / sessions but I'm
With apache, in the httpd.conf file, you can change the .htaccess file to
whatever file you want it to access (and protect) ...1st change:
AccessFileName .htaccess
to
AccessFileName whateverfilename.filetype
This changes the file apache looks for in each directory for its settings
Then right b
Rename any test text file to "tester.htaccess", open, choose open with,
check always open with, notepad.exe, and Description of type may be httpd
DIR OverRide Settings ...
This will associate .htaccess with notepad and make life easier.
""Matt Hivner"" <[EMAIL PROTECTED]> wrote in message
9dr8f
I add the lines to httpd.conf file and now in the error file I get a
c:/httpd/htdocs/autosetup/.htaccess: php_value not allowed here
Is there anything else I can do.
> Have you given the correct designation to Apache? In
> httpd.conf
> or access.conf you'll need a line similar to the following:
Have you given the correct designation to Apache? In httpd.conf
or access.conf you'll need a line similar to the following:
AllowOverride AuthConfig
At least in my case, the default Apache behavior was to ignore the use of
.htaccess files in all directories unless specifically changed.
-
getenv ("REMOTE_USER")
Gonzalo.
> i wanna use the username the user gave me in the popup box to use it in my
> php scripts as a variable how does i get the username to a avriable
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional comma