Re:include inside article with phpdirect (1 viewing) (1) Guest
Favoured: 0
|
|
|
TOPIC: Re:include inside article with phpdirect
|
mjt78 (User)
Fresh Boarder
Posts: 3
|
|
include inside article with phpdirect 6 Months ago
|
Karma: 0
|
|
hi,
i work with joomla 2.5.8, directphpv2.5
i don't understand why this command does not work inside my article:
<?php include "bsrbt/test.php";?>
an echo without include does work.
In table _content, there is:
<?php echo 'xxxxx';include ("bsrbt/test.php");?>
bsrbt is a folder of wwww
test.php exists in this folder
regards
|
|
|
|
|
|
|
The administrator has disabled public write access.
|
kksou (Admin)
Admin
Posts: 1680
|
|
Re:include inside article with phpdirect 6 Months ago
|
Karma: 27
|
|
Hi,
Please use the full path, i.e. the complete path. You are using relative path.
Regards,
/kksou
|
|
|
|
|
|
|
The administrator has disabled public write access.
|
mjt78 (User)
Fresh Boarder
Posts: 3
|
|
Re:include inside article with phpdirect 6 Months ago
|
Karma: 0
|
|
hi,
I have made a mistake between my old site (in joomla 1.5) and the new one (new folder created with jupgrade to joomla 2.5.8).
of course, the folder "bsrbt" is not in the new site.
I put it and it's ok.
I am desolate for my stupid error
regards
|
|
|
|
|
|
|
The administrator has disabled public write access.
|
|
|
|
|