Php frontend

Discuss news styles, css code, and other Coranto customizations in here...the possibilities are endless, so have at it!

Moderator: Spunkmeyer

Postby kriko » Mon Sep 23, 2002 11:21 am

better to test, but virtual means from directory, not from url.

include, therefore can be used for url, directory.
Kristjan aka. kriko
now a wireless expert
User avatar
kriko
 
Posts: 3328
Joined: Sat Feb 24, 2007 8:13 pm

Postby Hydralisk » Mon Sep 23, 2002 8:20 pm

From PHP.net

virtual() is an Apache-specific function which is equivalent to <!--#include virtual...--> in mod_include. It performs an Apache sub-request. It is useful for including CGI scripts or .shtml files, or anything else that you would parse through Apache. Note that for a CGI script, the script must generate valid CGI headers. At the minimum that means it must generate a Content-type header. For PHP files, you need to use include() or require(); virtual() cannot be used to include a document which is itself a PHP file.


I think virtual() should be used. :)
Image
Hydralisk
 
Posts: 82
Joined: Sat Mar 09, 2002 10:37 pm

Previous

Return to Customization

Who is online

Users browsing this forum: No registered users and 2 guests

cron