3

Can anyone explain me what is use of "Virtual()" function of PHP? I am not able to get its meaning.

Resource: http://php.net/manual/en/function.virtual.php

Jimit
  • 2,201
  • 7
  • 32
  • 66
  • 2
    This 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
  • 4
    Giving 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 Answers1

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