You are here: Re: Using php to generate htaccess files? « All PHP « IT news, forums, messages
Re: Using php to generate htaccess files?

Posted by bob.chatman@gmail.com on 10/17/06 05:05

PHP is just as capable a language compared to any other server side
scripting language. .htaccess files are in a format that you can easily
recreate, just look at the format you would like and print the new
values out.

laredotornado@zipmail.com wrote:
> Hi, I'm using PHP 4.4.4 with an Apache 2 web server. Is it possible to
> use PHP to generate htaccess files such that they protect a directory,
> requiring a username and password? I would like to have a PHP page
> that collects a username and password and then generates the file in a
> specific directory. Any help or code is greatly appreciated.
>
> Thanks, - Dave

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация