Bugs » How can I add in

added on Feb 17, 2010 by Floryn
How can I add <?php include( "linkex/data/output/1001" ); ?> in HTML file ?
I try and doesn't work.
Please help me...
added on Feb 19, 2010 by krizis
try like this

{php}
include 'linkex/data/output/1001';
{/php}
added on Feb 26, 2010 by v0id
Hi,

on a standard configured web server, you cannot include files into html.
If your html file is a template that is being processed by some other script, maybe there is a function for including
the file.
Otherwise you'll have to either change the file extension into .shtml or .php to allow includes, or you can configure
your web server so it'll handle .html files like it'll handle .shtml or .php files.

v0id

Add reply

This thread has been inactive for more than 14 days, so it has been locked.

Feel free to create a new thread with your questions.