SitePoint Sponsor |
|
User Tag List
Results 1 to 7 of 7
Thread: .htaccess and php
-
Apr 28, 2001, 12:39 #1
- Join Date
- Apr 2001
- Location
- Sarnia, Ontario, Canada
- Posts
- 434
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
I know with .htaccess you can choose which files you want to be parsed with Server Side Includes (SSI). My question: can you do the same thing in PHP?
Love it? Hate it? Helpful? Useless?
Use the rate button to let me know what you think of my post!
-
Apr 28, 2001, 12:46 #2
- Join Date
- Aug 2000
- Location
- San Diego, CA
- Posts
- 5,460
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Yes
AddType application/x-httpd-php .htm .html .js .whateverPlease don't PM me with questions.
Use the forums, that is what they are here for.
-
Apr 30, 2001, 13:45 #3
- Join Date
- Apr 2001
- Location
- Sarnia, Ontario, Canada
- Posts
- 434
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
do I have to use an already existing file extension (.html .htm .js etc.) or could I make my own?
Love it? Hate it? Helpful? Useless?
Use the rate button to let me know what you think of my post!
-
Apr 30, 2001, 13:52 #4
- Join Date
- Aug 2000
- Location
- San Diego, CA
- Posts
- 5,460
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Should be able to make them up.
Please don't PM me with questions.
Use the forums, that is what they are here for.
-
May 1, 2001, 13:08 #5
- Join Date
- Feb 2001
- Location
- Denver, Colorado
- Posts
- 630
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Is it possible to pass UserID and Password to .htaccess from a PHP4 script? This would save multiple logons as we bounce around among servers.
Thanks.
Dave
-
May 1, 2001, 14:29 #6
- Join Date
- Apr 2001
- Location
- Sarnia, Ontario, Canada
- Posts
- 434
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
it's possible. I saw a tutorial on the web somewhere how. Can't think of where it is though, so sorry I can't help you
Love it? Hate it? Helpful? Useless?
Use the rate button to let me know what you think of my post!
-
May 1, 2001, 16:53 #7
- Join Date
- Feb 2001
- Location
- Denver, Colorado
- Posts
- 630
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Hey, an indication that it may be possible is a start. I have some information that it might be possible to pass parameters as part of a URL or form variables, but I would like to find some documentation on this. Seems like something others would like to do.
Thanks.
Dave
Bookmarks