ast3r3x
2007-06-05, 19:40
Ok, so I'm loads closer to creating the secure cookie protocol I've been working on implementing. However I was hoping some smarter people than myself here could help me. I need to access an apache constant through PHP, or Perl (but I'd have to get it back into PHP). Does anyone know how to do this?
I was wondering if you could do something like set a PHP variable from Apache. It looks like they are doing something like that here (http://us3.php.net/configuration.changes). If anyone has any ideas it would be greatly appreciated, I figure there should be a way to, but I am not sure exactly how you'd do it.
And sorry for filling the Programmer's Nook with a bunch of small questions, I hope that isn't too annoying. In the future I shouldn't have too many questions because I'm not dealing with stuff beyond my skill level.
I was wondering if you could do something like set a PHP variable from Apache. It looks like they are doing something like that here (http://us3.php.net/configuration.changes). If anyone has any ideas it would be greatly appreciated, I figure there should be a way to, but I am not sure exactly how you'd do it.
And sorry for filling the Programmer's Nook with a bunch of small questions, I hope that isn't too annoying. In the future I shouldn't have too many questions because I'm not dealing with stuff beyond my skill level.