Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Is is possible to enable the php readfile function within .htaccess or within the virtual host, the functionality has been disabled by the sys admin who does not want to enable it. I need to enable it for a specific directory.

share|improve this question

1 Answer 1

up vote 3 down vote accepted

If he explicitly disabled it in the php.ini, you can not re-enable it in other places, of course.

BTW, even if you'd find a way to do it ... if I would be your sysadmin I will discover the trick soon and I'll remove your account at all!

My hint is, find a hosting giving you this opportunity !

share|improve this answer
    
Found another solution, I used file_get_contents was nt disabled. Thx –  Roland Jul 21 '10 at 13:45
    
You are welcome :) –  AlberT Jul 22 '10 at 8:36

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.