Can anyone explain me what is use of "Virtual()" function of PHP? I am not able to get its meaning.
Asked
Active
Viewed 1,913 times
3
-
2This would help you:http://stackoverflow.com/questions/4898383/sending-files-by-apache-and-php-virtual-function-with-http-range-support – Yavar Jun 05 '12 at 10:43
-
4Giving a +1 for counteracting the negative vote given. OP is right, in the documentation the definition of virtual function given is very ambiguous. – Yavar Jun 05 '12 at 10:45
1 Answers
3
Server Side Includes are explained in Wikipedia.
An include virtual
statement takes a path relative to your www root directory, flushes all current output and streams the virtual's output just like i.e. fpassthru()
.

hakre
- 193,403
- 52
- 435
- 836

Janus Troelsen
- 20,267
- 14
- 135
- 196