Running script inside x5
Auteur : Diosdado M.
Visité 1727,
Followers 2,
Partagé 0
I have php script complete application, I want to run this script inside X5, how ever the script contains sub-folders in it, If I link to X5 page, It will execute on different complete page because I link it via URL, if I link it thru page It will only link to a certain script file but not all the folders. How could I make this work so that all the folders in my script will be included to X5 page? Thanks
Posté le
Hello Diosdado,
You can add the script in Step 1 Expert Tab in the html code where you link to the script files. All you add in this section will be present automatically in all pages.
Many thanks!
Auteur
so how can i run a full php script inside a page? i inserted a php script but it doesnt work, it just display my script and not executed? what is the right way to run a php complete script inside a page? thanks
Hello Diosdado,
you need to change also the extension of the page in Step 2 - Propierties- in the Expert Tab to PHP otherwise the server will not know that the code inside has to be run and not only rendered as text.
The script will not work in the Preview, because it needs to run on a server with php support. You will be able to see the script only once exported online.
Please feel free to write back if you need more information.