hi,
i would like to set up a script "forum" such that you can call a url
http://www.server.com/forum/general
and it will php-parse forum and pass /general as PATH_INFO. it's easy
to get done as http://www.server.com/forum.php/general, but i would
like to disclose the script name for reasons of obscurity.
in fact, i would really like every request to be fed through something
like /index.php, where the actual relative URI of the site is passed
as PATH_INFO. so something of the form
http://www.server.com/url/to/a/page
would call /index.php with PATH_INFO=/url/to/a/page, and index.php
could take care of whatever needs to be done to display that
information. this can easily be done with a 404.php script, but i'd
much rather do it transparently without this sort of abuse of the 404
feature.
thanks,
martin
[greetings from the heart of the sun]# echo madduck@!#:1:s@\@@@.net
--
"and no one sings me lullabies,
and no one makes me close my eyes,
and so i throw the windows wide,
and call to you across the sky"
-- pink floyd, 1971
--
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]