Re: [PHP] htaccess / php

2003-12-02 Thread Ashley M. Kirchner
Ed Lazor wrote:

What do I put in .htaccess for Apache to process a named "archive" as a PHP file?

I did it before and can't seem to find what I did.  Requests to http://myhost.com/archive/page1.php would get processed by the file named archive and page1.php would just be a parameter that I could access from within the script by checking the url and subtracting "http://myhost.com/archive/";.


  ForceType application/x-httpd-php

--
H| I haven't lost my mind; it's backed up on tape somewhere.
 +
 Ashley M. Kirchner    .   303.442.6410 x130
 IT Director / SysAdmin / WebSmith . 800.441.3873 x130
 Photo Craft Laboratories, Inc.. 3550 Arapahoe Ave. #6
 http://www.pcraft.com . .  ..   Boulder, CO 80303, U.S.A. 

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Re: [PHP] htaccess / php

2003-12-01 Thread Jason Wong
On Tuesday 02 December 2003 14:34, Ed Lazor wrote:
> What do I put in .htaccess for Apache to process a named "archive" as a PHP
> file?
>
> I did it before and can't seem to find what I did.  Requests to
> http://myhost.com/archive/page1.php would get processed by the file named
> archive and page1.php would just be a parameter that I could access from
> within the script by checking the url and subtracting
> "http://myhost.com/archive/";.

 
ForceType application/x-httpd-php
 

-- 
Jason Wong -> Gremlins Associates -> www.gremlins.biz
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
--
Search the list archives before you post
http://marc.theaimsgroup.com/?l=php-general
--
/*
Win98 is called Win98 because it is 98% slower than Linux.
*/

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] htaccess & php

2001-08-08 Thread Chris Kay


ok Thanks dude i'll start there

At 10:01 AM 8/9/01 +1000, Daniel James wrote:
>You are looking for HTTP Authentication...
>http://www.php.net/manual/en/features.http-auth.php
>
>Twigman...
>
>On 2001.08.09 09:49 Chris Kay wrote:
> >
> > Hi
> >
> > My question is that i am about to start a database and i have been asked
> > to
> > make the login/password like htaccess, now they also want to be able to
> > modify passwords ect so i was going to do it with mysql.
> >
> > I have seen or been told that there is something where you can use
> > sql/php
> > and  make it use something that look like htaccess but is not.
> >
> > is this true?
> >
> > if so where would i start looking for something along these lines..
> >
> > Answers/Comments welcome
> >
> >
> >
> > 
> >  Chris Kay - Tech Support - IDEAL Internet
> > email: [EMAIL PROTECTED] phone: +61 2 4628  fax: +61 2 4628 8890
> > 
> >
> >
> > --
> > PHP General Mailing List (http://www.php.net/)
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> > To contact the list administrators, e-mail: [EMAIL PROTECTED]
> >
>
>--
>PHP General Mailing List (http://www.php.net/)
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>To contact the list administrators, e-mail: [EMAIL PROTECTED]



 Chris Kay - Tech Support - IDEAL Internet
email: [EMAIL PROTECTED] phone: +61 2 4628  fax: +61 2 4628 8890



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] htaccess & php

2001-08-08 Thread Daniel James

You are looking for HTTP Authentication...
http://www.php.net/manual/en/features.http-auth.php

Twigman...

On 2001.08.09 09:49 Chris Kay wrote:
> 
> Hi
> 
> My question is that i am about to start a database and i have been asked
> to 
> make the login/password like htaccess, now they also want to be able to 
> modify passwords ect so i was going to do it with mysql.
> 
> I have seen or been told that there is something where you can use
> sql/php 
> and  make it use something that look like htaccess but is not.
> 
> is this true?
> 
> if so where would i start looking for something along these lines..
> 
> Answers/Comments welcome
> 
> 
> 
> 
>  Chris Kay - Tech Support - IDEAL Internet
> email: [EMAIL PROTECTED] phone: +61 2 4628  fax: +61 2 4628 8890
> 
> 
> 
> -- 
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
> 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]