Interspire Product Knowledge Base

Would you like to...

Print this page Print this page

Email this page Email this page

Post a comment Post a comment

Subscribe me

Add to favorites Add to favorites

Remove Highlighting Remove Highlighting

Edit this Article

Export to PDF

User Opinions (6 votes)

83% thumbs up 16% thumbs down

How would you rate this answer?



Thank you for rating this answer.

Can I include my own PHP content within Interspire Website Publisher?

You sure can.

Interspire Website Publisher has a placeholder that allows you to call your own PHP scripts - provided the server has access to that script.

You can either call local or external files, again it depends on the above.

For including from a URL use:

%%Include.http://www.website.com/%%
For including from the local system relative to the Panels folder use:

%%Include.path/from/panels/dir/file.php%%
To specify the absolute path for the include use:

%%Include./absolute/path/script.php%%

If you're not sure what your absolute path is, create a PHP file (e.g. fullpath.php) with this content:

<?php
echo dirname(__FILE__);
?>

Then upload the file to your base Interspire Website Publisher folder and view it from your web-browser. It will tell you what your fill path is.

Related Articles

No related articles were found.

Attachments

No attachments were found.

Powered by Interspire Knowledge Manager - World's #1 Best Selling FAQ and Knowledge Base Software