php - how can i reference $_SERVER['DOCUMENT_ROOT'] in a .htaccess file? -


How can I reference the document route from within a root file?

i.e.:

I currently

  php_value auto_prepend_file C: /wamp/www/hf_latest_desktop/prepend.php  

I would like

  php_value auto_prepend_file ** AUTO_DOC_ROOT ** prepend.php  

Where '** AUTO_DOC_ROOT **' root path

You can not do Apache configuration file does not support it.


Comments

Popular posts from this blog

paypal - How to know the URL referrer in PHP? -

oauth - Facebook OAuth2 Logout does not remove fb_ cookie -

wpf - Line breaks and indenting for the XAML of a saved FlowDocument? -