Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
I cant execute included php script, help!!!
Hi there,
I want to use some php scripts on my pages. It is ok when I use <txp:php>my script</txp:php>
But if I want to include php script like <txp:php>include (‘../script.php’);</txp:php> it does not execute this script, Tetpattern just ignores it, in admin area php scripts are allowed everywhere. What´s a problem?
Last edited by neoformat (2007-03-14 20:49:53)
Offline
Re: I cant execute included php script, help!!!
Have you seen this FAQ ?
Offline
Re: I cant execute included php script, help!!!
Yes I know something wrong with my absolute path (dir) but I am new in php and dont understand it…. Please help!!
Last edited by neoformat (2007-03-14 15:12:42)
Offline
Re: I cant execute included php script, help!!!
did you try <txp:php>include ('http://yoursite.com/script.php');</txp:php> ?
Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.
Offline
Re: I cant execute included php script, help!!!
Sorry guys, I am stupied, I did know that textpattern can work in different modes where one of it is debug mode and in that mode I can see all errors I have in system. :) Problem is solved!
Offline