GetSimple Support Forum

Full Version: php require_once
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Trying to include file on customers websites footers: Dinamic credit link E.t.c
by this:

Code:
<? php require_once("file.html") ?>

not working...somebody?
Not 100% positive but you may try removing the space between "<?" and "php" and add a ";" after the last ")" should look like:
Code:
<?php require_once("file.html"); ?>
I have a try...not working
i even did it via "include_once" or just "include" .... the same thing
staseo Wrote:I have a try...not working

OWS_Matthew Wrote:Not 100% positive but you may try removing the space between “<?” and “php” and add a “;” after the last “)” should look like:
Code:
<?php require_once("file.html"); ?>

Matt has the right code there, and it should work. If it doesn’t work PHP should show you an error explaining why not. If you’re not seeing an error and you’re doing this in GetSimple be sure to enable debug mode.
@Zegnåt - Thank You, works Smile